From: Dhananjay Phadke Date: Tue, 19 May 2009 04:46:40 +0000 (-0700) Subject: netxen: fix msi irq setup X-Git-Tag: v2.6.31-rc1~14^2~447 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f67f34084914144de55c785163d047d5d8dddd2d;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index 86ca081..50477f5 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) adapter->msi_tgt_status = msi_tgt_status[adapter->ahw.pci_func]; dev_info(&pdev->dev, "using msi interrupts\n"); + adapter->msix_entries[0].vector = pdev->irq; return; }