Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122243
b: refs/heads/master
c: e0b8cb0
h: refs/heads/master
i:
  122241: d15d2d2
  122239: d88f660
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Nov 26, 2008
1 parent 05b10bc commit 5a7756b
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: 7d359daafe12b36b6da7ec6247caddf534183aed
refs/heads/master: e0b8cb0e0e361a40e4ab9d8463762db2286571f5
25 changes: 1 addition & 24 deletions trunk/drivers/net/stnic.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ static byte stnic_eadr[6] =

static struct net_device *stnic_dev;

static int stnic_open (struct net_device *dev);
static int stnic_close (struct net_device *dev);
static void stnic_reset (struct net_device *dev);
static void stnic_get_hdr (struct net_device *dev, struct e8390_pkt_hdr *hdr,
int ring_page);
Expand Down Expand Up @@ -122,11 +120,7 @@ static int __init stnic_probe(void)
/* Set the base address to point to the NIC, not the "real" base! */
dev->base_addr = 0x1000;
dev->irq = IRQ_STNIC;
dev->open = &stnic_open;
dev->stop = &stnic_close;
#ifdef CONFIG_NET_POLL_CONTROLLER
dev->poll_controller = ei_poll;
#endif
dev->netdev_ops = &ei_netdev_ops;

/* Snarf the interrupt now. There's no point in waiting since we cannot
share and the board will usually be enabled. */
Expand Down Expand Up @@ -168,23 +162,6 @@ static int __init stnic_probe(void)
return 0;
}

static int
stnic_open (struct net_device *dev)
{
#if 0
printk (KERN_DEBUG "stnic open\n");
#endif
ei_open (dev);
return 0;
}

static int
stnic_close (struct net_device *dev)
{
ei_close (dev);
return 0;
}

static void
stnic_reset (struct net_device *dev)
{
Expand Down

0 comments on commit 5a7756b

Please sign in to comment.