diff options
author | Tom Herbert <therbert@google.com> | 2010-05-05 10:03:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-06 00:11:26 -0400 |
commit | f85e4dfac666e41b91e2b77fa563398e9379d5eb (patch) | |
tree | 3263c1b452a335dcb048023dde401908fe4eb750 /drivers/net/e1000e/netdev.c | |
parent | c72ea83d39efa71bf0e3fc1125e780071a79f1bc (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/netdev.c')
-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 b049d1a3c861..478c34a47d18 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, | |||
5440 | 5440 | ||
5441 | SET_NETDEV_DEV(netdev, &pdev->dev); | 5441 | SET_NETDEV_DEV(netdev, &pdev->dev); |
5442 | 5442 | ||
5443 | netdev->irq = pdev->irq; | ||
5444 | |||
5443 | pci_set_drvdata(pdev, netdev); | 5445 | pci_set_drvdata(pdev, netdev); |
5444 | adapter = netdev_priv(netdev); | 5446 | adapter = netdev_priv(netdev); |
5445 | hw = &adapter->hw; | 5447 | hw = &adapter->hw; |