summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/sungem.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2012-03-09 23:24:34 +0100
committerFrancois Romieu <romieu@fr.zoreil.com>2012-04-07 11:45:23 +0200
commit4ee39fd1a97115f537664cf18dc85bda916c24e5 (patch)
tree74ebb0eb5c7340d1c09bd7356954a663fe7e6826 /drivers/net/ethernet/sun/sungem.c
parent36b7777590be33567be50db7f82282c3237428ad (diff)
downloadop-kernel-dev-4ee39fd1a97115f537664cf18dc85bda916c24e5.zip
op-kernel-dev-4ee39fd1a97115f537664cf18dc85bda916c24e5.tar.gz
sungem: stop using net_device.{base_addr, irq}.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ethernet/sun/sungem.c')
-rw-r--r--drivers/net/ethernet/sun/sungem.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c
index ba04159..8707d59 100644
--- a/drivers/net/ethernet/sun/sungem.c
+++ b/drivers/net/ethernet/sun/sungem.c
@@ -2899,7 +2899,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
}
gp->pdev = pdev;
- dev->base_addr = (long) pdev;
gp->dev = dev;
gp->msg_enable = DEFAULT_MSG;
@@ -2973,7 +2972,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
netif_napi_add(dev, &gp->napi, gem_poll, 64);
dev->ethtool_ops = &gem_ethtool_ops;
dev->watchdog_timeo = 5 * HZ;
- dev->irq = pdev->irq;
dev->dma = 0;
/* Set that now, in case PM kicks in now */
OpenPOWER on IntegriCloud