2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00
linux-next/drivers/scsi/mpt2sas
sreekanth.reddy@lsi.com 6c265660c2 [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status
A new sysfs shost attribute called "BMR_status" is implemented to
report Backup Rail Monitor status.

This attribute is located in the path
        /sys/class/scsi_host/host#/BMR_status

when reading this adapter attribute, then driver will output the state
of GPIO[24]. It returns "0" if BMR is healthy and it returns "1" for failure.

if it returns an empty string then it means that there was an error while
obtaining the BMR status. Then check dmesg for what error has occured.

Signed-off-by: Sreekanth Reddy <sreekanth.reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2012-08-24 13:10:25 +04:00
..
mpi [SCSI] mpt2sas: MPI next revision header update 2012-04-23 19:26:49 +01:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile
mpt2sas_base.c [SCSI] mpt2sas: To include more Intel Branding 2012-08-24 13:10:25 +04:00
mpt2sas_base.h [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status 2012-08-24 13:10:25 +04:00
mpt2sas_config.c [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status 2012-08-24 13:10:25 +04:00
mpt2sas_ctl.c [SCSI] mpt2sas: Provide sysfs attribute to report Backup Rail Monitor Status 2012-08-24 13:10:25 +04:00
mpt2sas_ctl.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_debug.h [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_scsih.c [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
mpt2sas_transport.c [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00