]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] scsi_transport_spi: Export host width and HBA id
authorHannes Reinecke <hare@suse.de>
Wed, 29 Jun 2011 20:49:57 +0000 (02:19 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 26 Jul 2011 09:53:50 +0000 (13:53 +0400)
commit6217963e0c4ff6b8c74825ba8f5a57fd3c579635
treecdb6bdaaf95901cb5bdbd4196917d1a7e73ca479
parentce835608d3368736b45f2e9636b392249c46690c
[SCSI] scsi_transport_spi: Export host width and HBA id

Currently it's impossible to find out if the host supports
wide SCSI unless you're committed to trawl through syslog.
And it's near impossible to find the actual HBA id, which
is settable for some SCSI HBAs (like aic7xxx).
So export them via sysfs.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Ankit Jain <jankit@suse.de>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_spi.c