Re: [PATCH v3] net: Add support for the OpenCores 10/100 MbpsEthernet MAC.
From: David Miller
Date: Thu Mar 26 2009 - 03:56:23 EST
From: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
Date: Thu, 26 Mar 2009 08:42:39 +0100
> This patch adds a platform device driver that supports the OpenCores 10/100
> Mbps Ethernet MAC.
>
> The driver expects three resources: one IORESOURCE_MEM resource defines the
> memory region for the core's memory-mapped registers while a second
> IORESOURCE_MEM resource defines the network packet buffer space. The third
> resource, of type IORESOURCE_IRQ, associates an interrupt with the driver.
>
> Signed-off-by: Thierry Reding <thierry.reding@xxxxxxxxxxxxxxxxx>
> Acked-by: Florian Fainelli <florian@xxxxxxxxxxx>
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.
¢éì®&Þ~º&¶¬+-±éÝ¥w®Ë±Êâmébìdz¹Þ)í
æèw*jg¬±¨¶Ýj/êäz¹Þà2Þ¨èÚ&¢)ß«a¶Úþø®G«éh®æj:+v¨wèÙ>W±êÞiÛaxPjØm¶ÿÃ-»+ùd_