hpsa: use scsi host_no as hpsa controller number
authorRobert Elliott <elliott@hp.com>
Thu, 23 Apr 2015 14:35:09 +0000 (09:35 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 31 May 2015 23:34:01 +0000 (16:34 -0700)
commit2946e82bdd76568dd6a3ebb49fe977ac222c0a19
tree708719f25e84dc200228547cab58361b0f263a54
parent73153fe533bc6209802521fc62d3e3648581a121
hpsa: use scsi host_no as hpsa controller number

Rather than numbering the hpsa controllers with an
incrementing 0..n value (e.g., that shows up in
/proc/interrupts), use the scsi midlayer
host_no (e.g. matching /sys/class/scsi_host/hostNN).

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Hannes Reinecke <hare@Suse.de>
Signed-off-by: Robert Elliott <elliott@hp.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/hpsa.c