]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] cciss: SCSI tape info for /proc
authorMike Miller <mike.miller@hp.com>
Tue, 13 Sep 2005 08:25:26 +0000 (01:25 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 15:22:30 +0000 (08:22 -0700)
commitb6e5648c83939f72ccaebf179addec33579e0df0
tree7b4d0e301684d172ecc74bb239c186c27c33755d
parent7001b91d511d455b0230f46ebab19c17211efda7
[PATCH] cciss: SCSI tape info for /proc

Add SCSI host and device info not elsewhere available to /proc/scsi/cciss/*
Namely, connect cciss device instance with scsi host number, and give scsi
host number, bus, target, lun, devicetype, and 8-byte cciss LUNID for each
tapedrive/medium changer attached to a controller

For instance:

# cat /proc/scsi/cciss/2
cciss0: SCSI host: 2
c2b0t0l0 01 0x0000000000000001

Signed-off-by: Stephen M. Cameron <steve.cameron@hp.com>
Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/cciss_scsi.c