[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)
commit0ac2377b61089e160d8e13b03cfdec89572cd741
treecdb6bdaaf95901cb5bdbd4196917d1a7e73ca479
parent6f8ac161b8b3332a9d96d6650ed3bae81baab30b
[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