Skip to content

Commit

Permalink
e1000e: Save irq into netdev structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Herbert authored and David S. Miller committed May 6, 2010
1 parent c72ea83 commit f85e4df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f85e4df

Please sign in to comment.