mtip32xx: Add new sysfs entry 'status'
authorAsai Thambi S P <asamymuthupa@micron.com>
Mon, 9 Apr 2012 06:35:38 +0000 (08:35 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Apr 2012 06:35:38 +0000 (08:35 +0200)
commitf65872177d838a33e90cbae25625b9bec05134ca
treee4cc29b3395f8c989b5821f132b2fdb91e9931a7
parentdad40f16ff683a10f4f2bea55a0b9fd86d3db58e
mtip32xx: Add new sysfs entry 'status'

* Add support for detecting the following device status
        - write protect
        - over temp (thermal shutdown)
* Add new sysfs entry 'status', possible values - online, write_protect, thermal_shutdown
* Add new file 'sysfs-block-rssd' to document ABI (Reported-by: Greg Kroah-Hartman)

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/testing/sysfs-block-rssd [new file with mode: 0644]
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h