Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122237
b: refs/heads/master
c: 9a9aa14
h: refs/heads/master
i:
  122235: 56a35a5
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Nov 26, 2008
1 parent ec65b30 commit ed4f97b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: d269941b5b562d21ae37b2182846702a4a43f415
refs/heads/master: 9a9aa14a74d49f88e2c2a126b035c22bd1ab0d53
25 changes: 1 addition & 24 deletions trunk/drivers/net/es3210.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ static const char version[] =

static int es_probe1(struct net_device *dev, int ioaddr);

static int es_open(struct net_device *dev);
static int es_close(struct net_device *dev);

static void es_reset_8390(struct net_device *dev);

static void es_get_8390_hdr(struct net_device *dev, struct e8390_pkt_hdr *hdr, int ring_page);
Expand Down Expand Up @@ -289,11 +286,7 @@ static int __init es_probe1(struct net_device *dev, int ioaddr)
ei_status.block_output = &es_block_output;
ei_status.get_8390_hdr = &es_get_8390_hdr;

dev->open = &es_open;
dev->stop = &es_close;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = ei_poll;
#endif
dev->netdev_ops = &ei_netdev_ops;
NS8390_init(dev, 0);

retval = register_netdev(dev);
Expand Down Expand Up @@ -385,22 +378,6 @@ static void es_block_output(struct net_device *dev, int count,
memcpy_toio(shmem, buf, count);
}

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

static int es_close(struct net_device *dev)
{

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

ei_close(dev);
return 0;
}

#ifdef MODULE
#define MAX_ES_CARDS 4 /* Max number of ES3210 cards per module */
#define NAMELEN 8 /* # of chars for storing dev->name */
Expand Down

0 comments on commit ed4f97b

Please sign in to comment.