Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 10 Sep 2002 17:28:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 10 Sep 2002 17:28:27 -0400 Received: from triton.neptune.on.ca ([205.233.176.2]:20411 "EHLO triton.neptune.on.ca") by vger.kernel.org with ESMTP id ; Tue, 10 Sep 2002 17:28:26 -0400 Date: Tue, 10 Sep 2002 17:33:15 -0400 (EDT) From: Steve Mickeler X-X-Sender: steve@triton.neptune.on.ca To: "David S. Miller" Cc: linux-kernel@vger.kernel.org Subject: Re: Linux 2.4.20-pre6 tg3 compile errors In-Reply-To: <20020910.142108.08824481.davem@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1375 Lines: 44 Yes, all I patched was tg3.c and tg3.h Thanks. On Tue, 10 Sep 2002, David S. Miller wrote: > From: Steve Mickeler > 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/