echo ""
echo "SpinServer System"
echo "---------- ---------"
grep Manufact /proc/smbios/system-0-0001
grep Product /proc/smbios/system-0-0001
grep Version /proc/smbios/system-0-0001
grep SN /proc/smbios/system-0-0001
echo ""
echo "SpinServer Enclosure"
echo "---------- ---------"
grep Version /proc/smbios/enclosure-0-0003
echo ""
echo "SCSI Disk FW revisions"
echo "---- ---- -- ---------"
echo -n "/dev/sda  "
scsiinfo -i /dev/sda | grep Rev
echo -n "/dev/sdb  "
scsiinfo -i /dev/sdb | grep Rev
echo ""
echo "Fibre Channel Disk FW Revisions"
echo "----- ------- ---- -- ---------"
jbod -i -w all | awk '{print $1," ",$4}'
echo ""
fcnum=`lspci | grep -i "q logic" | wc -l`
if [ "$fcnum" -gt 0 ]; then
	echo "Fibre Channel Card FW Revisions"
	echo "----- ------- ---- -- ---------"
	echo -n "Card 0 : "
	isp2200 ver 0 0 | grep version
fi
if [ "$fcnum" -gt 1 ]; then
	echo -n "Card 1 : "
	isp2200 ver 1 0 | grep version
fi
if [ "$fcnum" -gt "2" ]; then
	echo -n "Card 2 : "
	isp2200 ver 2 0 | grep version
fi
if [ "$fcnum" -gt "3" ]; then
	echo -n "Card 3 : "
	isp2200 ver 3 0 | grep version
fi


