scsi: smartpqi: fix problem with unique ID for physical device
authorKevin Barnett <kevin.barnett@microsemi.com>
Mon, 7 Oct 2019 22:31:58 +0000 (17:31 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2020 14:33:06 +0000 (16:33 +0200)
commit3340d011cff4948daef09ae85c71f9a966f60d7f
treec18f7f1c13c15a40b781ec848ca28e59242265ad
parentd867f2757173189abdd902b5ad62fdc9e0737b21
scsi: smartpqi: fix problem with unique ID for physical device

[ Upstream commit 5b083b305b49f65269b888885455b8c0cf1a52e4 ]

Obtain the unique IDs from the RLL and RPL instead of VPD page 83h.

Link: https://lore.kernel.org/r/157048751833.11757.11996314786914610803.stgit@brunhilda
Reviewed-by: Scott Benesh <scott.benesh@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/smartpqi/smartpqi.h
drivers/scsi/smartpqi/smartpqi_init.c