qlcnic: Fix diagnostic interrupt test for 83xx adapters.
o Initialize proper interrupt handler for 83xx. Signed-off-by: Manish Chopra <manish.chopra@qlogic.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7cfc1cebda
commit
c253438423
|
@ -1383,6 +1383,8 @@ qlcnic_request_irq(struct qlcnic_adapter *adapter)
|
|||
if (adapter->ahw->diag_test == QLCNIC_INTERRUPT_TEST) {
|
||||
if (qlcnic_82xx_check(adapter))
|
||||
handler = qlcnic_tmp_intr;
|
||||
else
|
||||
handler = qlcnic_83xx_tmp_intr;
|
||||
if (!QLCNIC_IS_MSI_FAMILY(adapter))
|
||||
flags |= IRQF_SHARED;
|
||||
|
||||
|
|
Loading…
Reference in a new issue