diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-05-19 00:46:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 00:46:40 -0400 |
commit | f67f34084914144de55c785163d047d5d8dddd2d (patch) | |
tree | 898d223e49dde9176d3d49a8cf80662b40b3b789 | |
parent | bb803cfbecb03a0cf8dc7e1864f18dda6631af00 (diff) |
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 be339aee634d5cb98a8df8d6febe04002ec497f3
("netxen: fix irq tear down and msix leak.").
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 86ca0812dd48..50477f5c3ecb 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c | |||
@@ -539,6 +539,7 @@ netxen_setup_intr(struct netxen_adapter *adapter) | |||
539 | adapter->msi_tgt_status = | 539 | adapter->msi_tgt_status = |
540 | msi_tgt_status[adapter->ahw.pci_func]; | 540 | msi_tgt_status[adapter->ahw.pci_func]; |
541 | dev_info(&pdev->dev, "using msi interrupts\n"); | 541 | dev_info(&pdev->dev, "using msi interrupts\n"); |
542 | adapter->msix_entries[0].vector = pdev->irq; | ||
542 | return; | 543 | return; |
543 | } | 544 | } |
544 | 545 | ||