pm80xx: add support for ATTO devices during SAS address initiailization
authorBenjamin Rood <benjaminjrood@gmail.com>
Mon, 2 Nov 2015 20:39:23 +0000 (15:39 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 3 Nov 2015 04:36:32 +0000 (23:36 -0500)
commit10efa460fe23c4def83fb98be311502b5c5961fa
tree1a1960f3f2f091e461e308f43ffd9c9d45a27b4a
parentb2dece485966b10012bd16302f05fdde33400ec4
pm80xx: add support for ATTO devices during SAS address initiailization

ATTO SAS controllers retrieve the SAS address from the NVRAM in a location
different from non-ATTO PMC Sierra SAS controllers.  This patch makes the
necessary adjustments in order to retrieve the SAS address on these types
of adapters.

Signed-off-by: Benjamin Rood <brood@attotech.com>
Reviewed-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/pm8001/pm8001_init.c