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:
4ee39fd
)
tehuti: stop using net_device.{base_addr, irq}.
author
Francois Romieu
<romieu@fr.zoreil.com>
Fri, 9 Mar 2012 18:32:50 +0000
(19:32 +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>
Cc: Andy Gospodarek <andy@greyhouse.net>
drivers/net/ethernet/tehuti/tehuti.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/tehuti/tehuti.c
b/drivers/net/ethernet/tehuti/tehuti.c
index ad973ffc9ff363acb4ecd923bcd3d93a3b78dc18..dc242e28dbb52d2464948e78f2431d075ae0ba1d 100644
(file)
--- 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)
/* these fields are used for info purposes only
* so we can have them same for all ports of the board */
ndev->if_port = port;
- ndev->base_addr = pciaddr;
- ndev->mem_start = pciaddr;
- ndev->mem_end = pciaddr + regionSize;
- ndev->irq = pdev->irq;
ndev->features = NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_TSO
| NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX |
NETIF_F_HW_VLAN_FILTER | NETIF_F_RXCSUM