From: Tom Herbert Date: Wed, 5 May 2010 14:03:32 +0000 (+0000) Subject: e1000e: Save irq into netdev structure X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f85e4dfac666e41b91e2b77fa563398e9379d5eb;p=openwrt%2Fstaging%2Fblogic.git e1000e: Save irq into netdev structure Set net->devirq to pdev->irq. This should be consistent with other drivers. Signed-off-by: Tom Herbert Acked-by: Bruce Allan Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- 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, SET_NETDEV_DEV(netdev, &pdev->dev); + netdev->irq = pdev->irq; + pci_set_drvdata(pdev, netdev); adapter = netdev_priv(netdev); hw = &adapter->hw;