Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122241
b: refs/heads/master
c: 50014f1
h: refs/heads/master
i:
  122239: d88f660
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Nov 26, 2008
1 parent 91f27cd commit d15d2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 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: 4be7ef4eac1d96a61af62bda8a59c1fb78c3b31b
refs/heads/master: 50014f1b939dff5e591e8aea9ec2932d146d2996
20 changes: 1 addition & 19 deletions trunk/drivers/net/ne2.c
Original file line number Diff line number Diff line change
Expand Up @@ -492,11 +492,7 @@ static int __init ne2_probe1(struct net_device *dev, int slot)

ei_status.priv = slot;

dev->open = &ne_open;
dev->stop = &ne_close;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = eip_poll;
#endif
dev->netdev_ops = &eip_netdev_ops;
NS8390p_init(dev, 0);

retval = register_netdev(dev);
Expand All @@ -511,20 +507,6 @@ static int __init ne2_probe1(struct net_device *dev, int slot)
return retval;
}

static int ne_open(struct net_device *dev)
{
eip_open(dev);
return 0;
}

static int ne_close(struct net_device *dev)
{
if (ei_debug > 1)
printk("%s: Shutting down ethercard.\n", dev->name);
eip_close(dev);
return 0;
}

/* Hard reset the card. This used to pause for the same period that a
8390 reset command required, but that shouldn't be necessary. */
static void ne_reset_8390(struct net_device *dev)
Expand Down

0 comments on commit d15d2d2

Please sign in to comment.