]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ses: requesting a fault indication
authorDouglas Gilbert <dgilbert@interlog.com>
Thu, 9 Jun 2011 04:27:07 +0000 (00:27 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 17 May 2012 15:21:17 +0000 (11:21 -0400)
commitd11672253ad42930b5e318cbea3f1b42a8f27d9a
treee2c072620d883870c225c7204fddc458912dfa80
parente310da489bc878370c45e59492b4608d6ee2e8da
ses: requesting a fault indication

commit 2a350cab9daf9a46322d83b091bb05cf54ccf6ab upstream.

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>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/scsi/ses.c