sungem: stop using net_device.{base_addr, irq}.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
@@ -2899,7 +2899,6 @@ static int __devinit gem_init_one(struct pci_dev *pdev,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gp->pdev = pdev;
|
gp->pdev = pdev;
|
||||||
dev->base_addr = (long) pdev;
|
|
||||||
gp->dev = dev;
|
gp->dev = dev;
|
||||||
|
|
||||||
gp->msg_enable = DEFAULT_MSG;
|
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);
|
netif_napi_add(dev, &gp->napi, gem_poll, 64);
|
||||||
dev->ethtool_ops = &gem_ethtool_ops;
|
dev->ethtool_ops = &gem_ethtool_ops;
|
||||||
dev->watchdog_timeo = 5 * HZ;
|
dev->watchdog_timeo = 5 * HZ;
|
||||||
dev->irq = pdev->irq;
|
|
||||||
dev->dma = 0;
|
dev->dma = 0;
|
||||||
|
|
||||||
/* Set that now, in case PM kicks in now */
|
/* Set that now, in case PM kicks in now */
|
||||||
|
Reference in New Issue
Block a user