scsi: qla2xxx: Add fix to read correct register value for ISP82xx.
authorSawan Chandak <sawan.chandak@cavium.com>
Fri, 31 Mar 2017 21:37:03 +0000 (14:37 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 7 Apr 2017 21:07:15 +0000 (17:07 -0400)
commitbf6061b17a8d47ef0d9344d3ef576a4ff0edf793
treefadb515e10c40715c819fa7af86db5bfaf477d91
parent8eaf7dfcfcf222e56f7d1e0a9ffdd7be0f300c2f
scsi: qla2xxx: Add fix to read correct register value for ISP82xx.

Add fix to read correct register value for ISP82xx, during check for
register disconnect.ISP82xx has different base register.

Fixes: a465537ad1a4 ("qla2xxx: Disable the adapter and skip error recovery in case of register disconnect")
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c