[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)
commit2a350cab9daf9a46322d83b091bb05cf54ccf6ab
tree086520b795dd7dab8b8dfdb62edf9a354965b113
parent545a876e4b4f261218be2c09b46dfff4ee95be31
[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