summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-05-05 14:03:32 +0000
committerDavid S. Miller <davem@davemloft.net>2010-05-05 21:11:26 -0700
commitf85e4dfac666e41b91e2b77fa563398e9379d5eb (patch)
tree3263c1b452a335dcb048023dde401908fe4eb750 /drivers/net/e1000e
parentc72ea83d39efa71bf0e3fc1125e780071a79f1bc (diff)
e1000e: Save irq into netdev structure
Set net->devirq to pdev->irq. This should be consistent with other drivers. Signed-off-by: Tom Herbert <therbert@google.com> Acked-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r--drivers/net/e1000e/netdev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c
index b049d1a3c86..478c34a47d1 100644
--- a/drivers/net/e1000e/netdev.c
+++ b/drivers/net/e1000e/netdev.c
@@ -5440,6 +5440,8 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
SET_NETDEV_DEV(netdev, &pdev->dev);
+ netdev->irq = pdev->irq;
+
pci_set_drvdata(pdev, netdev);
adapter = netdev_priv(netdev);
hw = &adapter->hw;