aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/dec/tulip/tulip_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/dec/tulip/tulip_core.c')
-rw-r--r--drivers/net/ethernet/dec/tulip/tulip_core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c
index 157c8e6e93f..1e9443d9fb5 100644
--- a/drivers/net/ethernet/dec/tulip/tulip_core.c
+++ b/drivers/net/ethernet/dec/tulip/tulip_core.c
@@ -1191,8 +1191,7 @@ static void set_rx_mode(struct net_device *dev)
1191} 1191}
1192 1192
1193#ifdef CONFIG_TULIP_MWI 1193#ifdef CONFIG_TULIP_MWI
1194static void tulip_mwi_config(struct pci_dev *pdev, 1194static void tulip_mwi_config(struct pci_dev *pdev, struct net_device *dev)
1195 struct net_device *dev)
1196{ 1195{
1197 struct tulip_private *tp = netdev_priv(dev); 1196 struct tulip_private *tp = netdev_priv(dev);
1198 u8 cache; 1197 u8 cache;
@@ -1301,8 +1300,7 @@ DEFINE_PCI_DEVICE_TABLE(early_486_chipsets) = {
1301 { }, 1300 { },
1302}; 1301};
1303 1302
1304static int tulip_init_one(struct pci_dev *pdev, 1303static int tulip_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
1305 const struct pci_device_id *ent)
1306{ 1304{
1307 struct tulip_private *tp; 1305 struct tulip_private *tp;
1308 /* See note below on the multiport cards. */ 1306 /* See note below on the multiport cards. */