Commit f67f3408 authored by Dhananjay Phadke's avatar Dhananjay Phadke Committed by David S. Miller

netxen: fix msi irq setup

The pdev->irq was not saved in netxen_adapter, causing request_irq()
with invalid irq number.

This was broken in commit be339aee
("netxen: fix irq tear down and msix leak.").
Signed-off-by: default avatarDhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bb803cfb
...@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter) ...@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter)
adapter->msi_tgt_status = adapter->msi_tgt_status =
msi_tgt_status[adapter->ahw.pci_func]; msi_tgt_status[adapter->ahw.pci_func];
dev_info(&pdev->dev, "using msi interrupts\n"); dev_info(&pdev->dev, "using msi interrupts\n");
adapter->msix_entries[0].vector = pdev->irq;
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment