Re: Linux 2.4.20-pre6 tg3 compile errors

From: Steve Mickeler (steve@neptune.ca)
Date: Tue Sep 10 2002 - 16:33:15 EST


Yes, all I patched was tg3.c and tg3.h

Thanks.

On Tue, 10 Sep 2002, David S. Miller wrote:

> 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$
>

[-] Steve Mickeler [ steve@neptune.ca ]

[|] Todays root password is brought to you by /dev/random

[+] 1024D/9AA80CDF = 4103 9E35 2713 D432 924F 3C2E A7B9 A0FE 9AA8 0CDF

-
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