From: Tom Herbert Date: Wed, 5 May 2010 14:03:32 +0000 (+0000) Subject: e1000e: Save irq into netdev structure X-Git-Tag: v2.6.35-rc1~473^2~276 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f85e4dfac666e41b91e2b77fa563398e9379d5eb;p=profile%2Fivi%2Fkernel-x86-ivi.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 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;