From 81d7dfee24b0e892de281c4b69c2cf0219f585a7 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 29 Nov 1995 16:00:05 +0000 Subject: Formerly ethernet.c.~14~ --- pfinet/ethernet.c | 6 ++++-- 1 file 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++) -- cgit v1.2.3