Re: Linux 2.4.20-pre6 tg3 compile errors

From: David S. Miller (davem@redhat.com)
Date: Tue Sep 10 2002 - 16:21:08 EST


   From: Steve Mickeler <steve@neptune.ca>
   Date: Tue, 10 Sep 2002 17:19:53 -0400 (EDT)

   Compiling in tg3 support using the tg3.c and tg3.h from 2.4.20-pre6
 ...
   tg3.c: In function `tg3_rx':
   tg3.c:1977: warning: implicit declaration of function `netif_receive_skb'

I pretty sure you mispatched your tree.

It's there in 2.4.20-pre6:

bash$ egrep netif_receive_skb patch-2.4.20-pre6
+ netif_receive_skb (skb);
+3) instead of netif_rx() we call netif_receive_skb() to pass the skb.
+ netif_receive_skb(skb);
+ return (polling ? netif_receive_skb(skb) : netif_rx(skb));
+extern int netif_receive_skb(struct sk_buff *skb);
+int netif_receive_skb(struct sk_buff *skb)
+ netif_receive_skb(skb);
+EXPORT_SYMBOL(netif_receive_skb);
bash$
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:23 EST