]> 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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Aug 2011 17:35:57 +0000 (10:35 -0700)
commit3facda63b9af1e5afafabf5ab10f73a27dd5e4ce
treeb699dbedaea47cc58ff9b5969e007abc8f019339
parent4448f1e923eef1ffd30769653f9da338ae29cc1a
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