[PATCH]Re: drivers/net/net_init.c compile error, 2.3.28

fdavis112@juno.com
Tue, 16 Nov 1999 12:59:14 -0500


Hello,

I checked the if_arp.h file and ARPHRD_IEEE802_TR isn't defined, but
ARPHRD_IEEE802 is and according to the comment, it appears that
ARPHRD_IEEE802 is what its supposed to be...just a typo.

net_init.c: In function `tr_configure`:
net_init.c:443: `ARPHRD_IEEE802_TR` undeclared (first use in this
function)

Below is the patch:

--- drivers/net/net_init.old.c Tue Nov 16 12:30:57 1999
+++ drivers/net/net_init.c Tue Nov 16 12:39:11 1999
@@ -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/