scsi: megaraid_sas: Rework code to get PD and LD list
authorShivasharan S <shivasharan.srikanteshwara@broadcom.com>
Tue, 29 Jan 2019 09:38:12 +0000 (01:38 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 5 Feb 2019 03:52:20 +0000 (22:52 -0500)
commitdaa0681118c9f4fc4afffb3757a1e085fba2d069
tree0c6bcc6dcdbd1fad3942579ee406321a77c773e4
parent7c429da45c33035e8d9d17a8e56802c2b1e90d03
scsi: megaraid_sas: Rework code to get PD and LD list

During FW init, combine the code to get the PD and LD list from FW into a
single function.  This patch is in preparation for adding support for
HOST_DEVICE_LIST DCMD.

Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas_base.c