mtip32xx: Add new sysfs entry 'status'
authorAsai Thambi S P <asamymuthupa@micron.com>
Mon, 9 Apr 2012 06:35:38 +0000 (08:35 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 15:03:09 +0000 (20:03 +0530)
commitea3312dc90fc692722b61763495478ca7c4d7f67
tree5386986b32d758ab4ecfe3fdb4fc0c919509a8ad
parent9a503700344a1b7b293d8e775d37f93c3939b97f
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