Skip to content

Commit

Permalink
sungem: stop using net_device.{base_addr, irq}.
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
  • Loading branch information
Francois Romieu committed Apr 7, 2012
1 parent 36b7777 commit 4ee39fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/ethernet/sun/sungem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 4ee39fd

Please sign in to comment.