aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ne3210.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ne3210.c')
-rw-r--r--drivers/net/ne3210.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/drivers/net/ne3210.c b/drivers/net/ne3210.c
index 6681ca748c74..fac43fd6fc87 100644
--- a/drivers/net/ne3210.c
+++ b/drivers/net/ne3210.c
@@ -45,9 +45,6 @@
45 45
46#define DRV_NAME "ne3210" 46#define DRV_NAME "ne3210"
47 47
48static int ne3210_open(struct net_device *dev);
49static int ne3210_close(struct net_device *dev);
50
51static void ne3210_reset_8390(struct net_device *dev); 48static void ne3210_reset_8390(struct net_device *dev);
52 49
53static void ne3210_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page); 50static void ne3210_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page);
@@ -199,11 +196,8 @@ static int __init ne3210_eisa_probe (struct device *device)
199 ei_status.block_output = &ne3210_block_output; 196 ei_status.block_output = &ne3210_block_output;
200 ei_status.get_8390_hdr = &ne3210_get_8390_hdr; 197 ei_status.get_8390_hdr = &ne3210_get_8390_hdr;
201 198
202 dev->open = &ne3210_open; 199 dev->netdev_ops = &ei_netdev_ops;
203 dev->stop = &ne3210_close; 200
204#ifdef CONFIG_NET_POLL_CONTROLLER
205 dev->poll_controller = ei_poll;
206#endif
207 dev->if_port = ifmap_val[port_index]; 201 dev->if_port = ifmap_val[port_index];
208 202
209 if ((retval = register_netdev (dev))) 203 if ((retval = register_netdev (dev)))
@@ -320,22 +314,6 @@ static void ne3210_block_output(struct net_device *dev, int count,
320 memcpy_toio(shmem, buf, count); 314 memcpy_toio(shmem, buf, count);
321} 315}
322 316
323static int ne3210_open(struct net_device *dev)
324{
325 ei_open(dev);
326 return 0;
327}
328
329static int ne3210_close(struct net_device *dev)
330{
331
332 if (ei_debug > 1)
333 printk("%s: Shutting down ethercard.\n", dev->name);
334
335 ei_close(dev);
336 return 0;
337}
338
339static struct eisa_device_id ne3210_ids[] = { 317static struct eisa_device_id ne3210_ids[] = {
340 { "EGL0101" }, 318 { "EGL0101" },
341 { "NVL1801" }, 319 { "NVL1801" },