[SCSI] hpsa: expose controller firmware revision via /sys.

Signed-off-by: Stephen M. Cameron <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
Stephen M. Cameron 2010-05-27 15:14:34 -05:00 • committed by James Bottomley
commit d28ce020fb
2 changed files with 27 additions and 0 deletions

View file

@ -38,6 +38,7 @@ HPSA specific entries in /sys
------------------------------
/sys/class/scsi_host/host*/rescan
/sys/class/scsi_host/host*/firmware_revision
the host "rescan" attribute is a write only attribute. Writing to this
attribute will cause the driver to scan for new, changed, or removed devices
@ -48,6 +49,12 @@ HPSA specific entries in /sys
normally have to use this. It may be useful when hot plugging devices like
tape drives, or entire storage boxes containing pre-configured logical drives.
The "firmware_revision" attribute contains the firmware version of the Smart Array.
For example:
root@host:/sys/class/scsi_host/host4# cat firmware_revision
7.14
HPSA specific disk attributes:
------------------------------