diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2012-03-09 13:32:50 -0500 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2012-04-07 05:45:23 -0400 |
commit | 9195182d82890c270819880695f491fcb2ac4ca2 (patch) | |
tree | b295f11a806350cea23daea7cd1a6d6b8f47f257 /drivers | |
parent | 4ee39fd1a97115f537664cf18dc85bda916c24e5 (diff) |
tehuti: stop using net_device.{base_addr, irq}.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/tehuti/tehuti.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ethernet/tehuti/tehuti.c b/drivers/net/ethernet/tehuti/tehuti.c index ad973ffc9ff3..dc242e28dbb5 100644 --- a/drivers/net/ethernet/tehuti/tehuti.c +++ b/drivers/net/ethernet/tehuti/tehuti.c | |||
@@ -1988,10 +1988,6 @@ bdx_probe(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1988 | /* these fields are used for info purposes only | 1988 | /* these fields are used for info purposes only |
1989 | * so we can have them same for all ports of the board */ | 1989 | * so we can have them same for all ports of the board */ |
1990 | ndev->if_port = port; | 1990 | ndev->if_port = port; |
1991 | ndev->base_addr = pciaddr; | ||
1992 | ndev->mem_start = pciaddr; | ||
1993 | ndev->mem_end = pciaddr + regionSize; | ||
1994 | ndev->irq = pdev->irq; | ||
1995 | ndev->features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO | 1991 | ndev->features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO |
1996 | | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX | | 1992 | | NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX | |
1997 | NETIF_F_HW_VLAN_FILTER | NETIF_F_RXCSUM | 1993 | NETIF_F_HW_VLAN_FILTER | NETIF_F_RXCSUM |