mtip32xx: Create debugfs entries for troubleshooting
authorAsai Thambi S P <asamymuthupa@micron.com>
Mon, 4 Jun 2012 19:44:02 +0000 (12:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 5 Jun 2012 07:13:49 +0000 (09:13 +0200)
commit7b421d24eac79800ee68905f732300a291f72f00
tree69e8477147e8f4013f1ea71ea23c9d76cc70d8aa
parent7412ff139d73f5561492478e89a22aede7252b7b
mtip32xx: Create debugfs entries for troubleshooting

On module load, creates a debugfs parent 'rssd' in debugfs root. Then for each
device, create a new node with corresponding disk name. Under the new node, two
entries 'registers' and 'flags' are created.

NOTE: These entries were removed from sysfs in the previous patch

Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/mtip32xx/mtip32xx.c
drivers/block/mtip32xx/mtip32xx.h