diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2012-03-09 23:24:34 +0100 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2012-04-07 11:45:23 +0200 |
commit | 4ee39fd1a97115f537664cf18dc85bda916c24e5 (patch) | |
tree | 74ebb0eb5c7340d1c09bd7356954a663fe7e6826 /drivers/net/ethernet/sun | |
parent | 36b7777590be33567be50db7f82282c3237428ad (diff) | |
download | linux-4ee39fd1a97115f537664cf18dc85bda916c24e5.tar.bz2 |
sungem: stop using net_device.{base_addr, irq}.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/ethernet/sun')
-rw-r--r-- | drivers/net/ethernet/sun/sungem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index ba041596e046..8707d59ed545 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 */ |