]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commitb9f0bd0895c040f69a0440286b64725f74f5b387
tree7b4d0e301684d172ecc74bb239c186c27c33755d
parent47922d068e90ed34c1336cdd39912d51e190f8a5
[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