lkml.org 
[lkml]   [1999]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH]Re: drivers/net/net_init.c compile error, 2.3.28
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.019 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site