Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122236
b: refs/heads/master
c: d269941
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Nov 26, 2008
1 parent 56a35a5 commit ec65b30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d079841d795b83822357ef058ce8d7979dad854c
refs/heads/master: d269941b5b562d21ae37b2182846702a4a43f415
26 changes: 2 additions & 24 deletions trunk/drivers/net/ne3210.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@

#define DRV_NAME "ne3210"

static int ne3210_open(struct net_device *dev);
static int ne3210_close(struct net_device *dev);

static void ne3210_reset_8390(struct net_device *dev);

static void ne3210_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page);
Expand Down Expand Up @@ -199,11 +196,8 @@ static int __init ne3210_eisa_probe (struct device *device)
ei_status.block_output = &ne3210_block_output;
ei_status.get_8390_hdr = &ne3210_get_8390_hdr;

dev->open = &ne3210_open;
dev->stop = &ne3210_close;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = ei_poll;
#endif
dev->netdev_ops = &ei_netdev_ops;

dev->if_port = ifmap_val[port_index];

if ((retval = register_netdev (dev)))
Expand Down Expand Up @@ -320,22 +314,6 @@ static void ne3210_block_output(struct net_device *dev, int count,
memcpy_toio(shmem, buf, count);
}

static int ne3210_open(struct net_device *dev)
{
ei_open(dev);
return 0;
}

static int ne3210_close(struct net_device *dev)
{

if (ei_debug > 1)
printk("%s: Shutting down ethercard.\n", dev->name);

ei_close(dev);
return 0;
}

static struct eisa_device_id ne3210_ids[] = {
{ "EGL0101" },
{ "NVL1801" },
Expand Down

0 comments on commit ec65b30

Please sign in to comment.