Re: [PATCH v3] net: Add support for the OpenCores 10/100 MbpsEthernet MAC.

From: Thierry Reding
Date: Thu Mar 26 2009 - 04:10:32 EST


* David Miller wrote:
> From: David Miller <davem@xxxxxxxxxxxxx>
> Date: Thu, 26 Mar 2009 00:55:45 -0700 (PDT)
>
> > This doesn't build:
> >
> > drivers/net/ethoc.c: In function âethoc_interruptâ:
> > drivers/net/ethoc.c:510: error: implicit declaration of function ânetif_rx_schedule_prepâ
> > drivers/net/ethoc.c:511: error: implicit declaration of function â__netif_rx_scheduleâ
> > drivers/net/ethoc.c: In function âethoc_pollâ:
> > drivers/net/ethoc.c:550: error: implicit declaration of function ânetif_rx_completeâ
> >
> > You are missing some header includes.
>
> Actually the problem is that you're using deprecated interfaces which
> have been removed in net-next-2.6, please use napi_*() instead of
> netif_rx_*().

Oh, okay. I've only been building against the vanilla tree. I'll grab a copy
of net-next-2.6 and fix the driver up against that. Thanks,

Thierry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/