Patchwork [net,4/4] qlcnic: Fix diagnostic interrupt test for 83xx adapters.

login
register
mail settings
Submitter Himanshu Madhani
Date July 26, 2013, 8:24 p.m.
Message ID <03ef8c5f55cd7afa0a3c85ba670671aa86301087.1374891091.git.himanshu.madhani@qlogic.com>
Download mbox | patch
Permalink /patch/262302/
State Accepted
Delegated to: David Miller
Headers show

Comments

Himanshu Madhani - July 26, 2013, 8:24 p.m.
From: Manish Chopra <manish.chopra@qlogic.com>

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>
---
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
index 41635f2..cc78d39 100644
--- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
+++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
@@ -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;