2.3.27 token ring compile error and patch

Keith Owens (kaos@ocs.com.au)
Fri, 12 Nov 1999 19:37:17 +1100


net_init.c: In function `tr_configure':
net_init.c:443: `ARPHRD_IEEE802_TR' undeclared (first use in this function)
net_init.c:443: (Each undeclared identifier is reported only once
net_init.c:443: for each function it appears in.)
make[3]: *** [net_init.o] Error 1
make[3]: Leaving directory `/usr/src/2.3.27/drivers/net'

Index: 27.1/drivers/net/net_init.c
--- 27.1/drivers/net/net_init.c Fri, 12 Nov 1999 18:53:00 +1100 keith (linux-2.3/W/45_net_init.c 1.7 644)
+++ 27.1(w)/drivers/net/net_init.c Fri, 12 Nov 1999 19:35:46 +1100 keith (linux-2.3/W/45_net_init.c 1.7 644)
@@ -440,7 +440,7 @@
dev->hard_header = tr_header;
dev->rebuild_header = tr_rebuild_header;

- dev->type = ARPHRD_IEEE802_TR;
+ dev->type = ARPHRD_IEEE802;
dev->hard_header_len = TR_HLEN;
dev->mtu = 2000;
dev->addr_len = TR_ALEN;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/