diff options
author | Tom Herbert <therbert@google.com> | 2010-05-05 14:03:32 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 04:11:26 (GMT) |
commit | f85e4dfac666e41b91e2b77fa563398e9379d5eb (patch) | |
tree | 3263c1b452a335dcb048023dde401908fe4eb750 | |
parent | c72ea83d39efa71bf0e3fc1125e780071a79f1bc (diff) | |
download | linux-fsl-qoriq-f85e4dfac666e41b91e2b77fa563398e9379d5eb.tar.xz |
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>
-rw-r--r-- | drivers/net/e1000e/netdev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index b049d1a..478c34a 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; |