]> git.kernelconcepts.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Aug 2011 04:58:35 +0000 (21:58 -0700)
commitb9beb51724bebfc198533144e86601f0099c026e
treedda96e6715b014adec4e286588c897a5232682a8
parent645b2cf1067d945c662ffeea45b4c0f7036bc1ee
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: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/ses.c