]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ses: requesting a fault indication
authorDouglas Gilbert <dgilbert@interlog.com>
Thu, 9 Jun 2011 04:27:07 +0000 (00:27 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 29 Jun 2011 17:14:25 +0000 (12:14 -0500)
commitc567243fac03c39adf5895bb3565d61e071a3f7d
tree086520b795dd7dab8b8dfdb62edf9a354965b113
parent8be3d1bd4d54027660bac2e602be36916b54602f
[SCSI] ses: requesting a fault indication

Noticed that when the sysfs interface of the SCSI SES
driver was used to request a fault indication the LED
flashed but the buzzer didn't sound. So it was doing
what REQUEST IDENT (locate) should do.

Changelog:
   - fix the setting of REQUEST FAULT for the device slot
     and array device slot elements in the enclosure control
     diagnostic page
   - note the potentially defective code that reads the
     FAULT SENSED and FAULT REQUESTED bits from the enclosure
     status diagnostic page

The attached patch is against git/scsi-misc-2.6

Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ses.c