diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-29 16:00:05 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-29 16:00:05 +0000 |
commit | 81d7dfee24b0e892de281c4b69c2cf0219f585a7 (patch) | |
tree | 4f1968f103cfcdf6a1dcf455856276a98d714dc9 /pfinet | |
parent | 1b15ef2a426b18aa9f07307f07e5d89c8385220d (diff) |
Formerly ethernet.c.~14~
Diffstat (limited to 'pfinet')
-rw-r--r-- | pfinet/ethernet.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index 8c4492e2..0ce5cf0d 100644 --- a/pfinet/ethernet.c +++ b/pfinet/ethernet.c @@ -27,7 +27,7 @@ #include "pfinet.h" -#define ethername "ul0" +static char *ethername; device_t ether_port; @@ -141,13 +141,15 @@ ethernet_xmit (struct sk_buff *skb, struct device *dev) } void -setup_ethernet_device (void) +setup_ethernet_device (char *name) { struct net_status netstat; u_int count; int net_address[2]; int i; + ethername = name; + /* Interface buffers. */ ether_dev.name = ethername; for (i = 0; i < DEV_NUMBUFFS; i++) |