qlcnic: Fix diagnostic interrupt test for 83xx adapters.
authorManish Chopra <[email protected]>
Fri, 26 Jul 2013 20:24:03 +0000 (16:24 -0400)
committerDavid S. Miller <[email protected]>
Sun, 28 Jul 2013 03:03:02 +0000 (20:03 -0700)
o Initialize proper interrupt handler for 83xx.

Signed-off-by: Manish Chopra <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c

index 41635f2b9399b684a562de7f8e79f53ad83cc90d..cc78d3924c6a3ccec99c42d550d99eb1e64f5aa3 100644 (file)
@@ -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;