projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b7777
)
sungem: stop using net_device.{base_addr, irq}.
author
Francois Romieu
<romieu@fr.zoreil.com>
Fri, 9 Mar 2012 22:24:34 +0000
(23:24 +0100)
committer
Francois Romieu
<romieu@fr.zoreil.com>
Sat, 7 Apr 2012 09:45:23 +0000
(11:45 +0200)
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/ethernet/sun/sungem.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sun/sungem.c
b/drivers/net/ethernet/sun/sungem.c
index ba041596e04629e5513732910d99d8b48175d3f4..8707d59ed5452819441568c63a418c30ecf95be4 100644
(file)
--- 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 */