scsi: qla2xxx: Initialized mailbox to prevent driver load failure
authorHimanshu Madhani <hmadhani@marvell.com>
Tue, 22 Oct 2019 19:36:42 +0000 (12:36 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Oct 2019 02:34:46 +0000 (22:34 -0400)
commitc2ff2a36eff60efb5e123c940115216d6bf65684
tree9a68ef584bff68634b64e773480af4880b0a6f7e
parent0fd103ccfe6a06e40e2d9d8c91d96332cc9e1239
scsi: qla2xxx: Initialized mailbox to prevent driver load failure

This patch fixes issue with Gen7 adapter in a blade environment where one
of the ports will not be detected by driver. Firmware expects mailbox 11 to
be set or cleared by driver for newer ISP.

Following message is seen in the log file:

[   18.810892] qla2xxx [0000:d8:00.0]-1820:1: **** Failed=102 mb[0]=4005 mb[1]=37 mb[2]=20 mb[3]=8
[   18.819596]  cmd=2 ****

[mkp: typos]

Link: https://lore.kernel.org/r/20191022193643.7076-2-hmadhani@marvell.com
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_mbx.c