scsi: lpfc: Correct invalid EQ doorbell write on if_type=6
authorJames Smart <jsmart2021@gmail.com>
Mon, 10 Sep 2018 17:30:47 +0000 (10:30 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 12 Sep 2018 00:37:33 +0000 (20:37 -0400)
commitaad59d5d34738d6fd8c359df8048a84cd443e504
tree5450d134167e3ee573ffcdcbd12a037d8b44f9b4
parent523128e53b1e82a7eb422168eddd0c566973520d
scsi: lpfc: Correct invalid EQ doorbell write on if_type=6

During attachment, the driver writes the EQ doorbell to disable potential
interrupts from an EQ. The current EQ doorbell format used for clearing the
interrupt is incorrect and uses an if_type=2 format, making the operation act
on the wrong EQ.

Correct the code to use the proper if_type=6 EQ doorbell format.

Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_sli.c