hpsa: enhance hpsa_get_device_id
authorDon Brace <don.brace@pmcs.com>
Wed, 4 Nov 2015 21:51:39 +0000 (15:51 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 17:34:22 +0000 (12:34 -0500)
commit75d23d894a4054dea2912e8ccad3134b8b90f1f1
tree4b2d59cf2ac2fca0aba50f1e1bab17683f3c844c
parentf3f017305d4da61b64098f3d89cb64563c95087a
hpsa: enhance hpsa_get_device_id

use an index into vpd data for SAS/SATA drives

Reviewed-by: Scott Teel <scott.teel@pmcs.com>
Reviewed-by: Justin Lindley <justin.lindley@pmcs.com>
Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Don Brace <don.brace@pmcs.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hpsa.c