e1000e: Save irq into netdev structure
authorTom Herbert <therbert@google.com>
Wed, 5 May 2010 14:03:32 +0000 (14:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 May 2010 04:11:26 +0000 (21:11 -0700)
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>
drivers/net/e1000e/netdev.c

index b049d1a3c86144cdc01481172b8eb985d675da2e..478c34a47d180377225441a44609a486f2d1fe12 100644 (file)
@@ -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;