]> 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)
commit0a90b8d19266c64f1d9937ab0820c46ca0f81a0b
treecdb6bdaaf95901cb5bdbd4196917d1a7e73ca479
parent6c36322a38acf703af9f8044846da82e25364b29
[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