netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h>
       [not found] <20070720164043.523003359@mail.of.borg>
@ 2007-07-20 16:40 ` Geert Uytterhoeven
  2007-07-24 20:37   ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2007-07-20 16:40 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-m68k, linux-kernel, Jeff Garzik, netdev

[-- Attachment #1: m68k-82596-needs-asm-cacheflush.diff --]
[-- Type: text/plain, Size: 1042 bytes --]

netdev: i82596 Ethernet needs <asm/cacheflush.h> on m68k

drivers/net/82596.c: In function 'init_rx_bufs':
drivers/net/82596.c:552: error: implicit declaration of function 'cache_clear'
drivers/net/82596.c: In function 'i596_start_xmit':
drivers/net/82596.c:1104: error: implicit declaration of function 'cache_push'

The driver still compiles on ia32 (CONFIG_APRICOT=y)

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
---
 drivers/net/82596.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/net/82596.c
+++ b/drivers/net/82596.c
@@ -57,6 +57,7 @@
 #include <asm/io.h>
 #include <asm/dma.h>
 #include <asm/pgtable.h>
+#include <asm/cacheflush.h>
 
 static char version[] __initdata =
 	"82596.c $Revision: 1.5 $\n";

-- 
Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h>
  2007-07-20 16:40 ` [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h> Geert Uytterhoeven
@ 2007-07-24 20:37   ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-07-24 20:37 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Andrew Morton, linux-m68k, linux-kernel, netdev

Geert Uytterhoeven wrote:
> netdev: i82596 Ethernet needs <asm/cacheflush.h> on m68k
> 
> drivers/net/82596.c: In function 'init_rx_bufs':
> drivers/net/82596.c:552: error: implicit declaration of function 'cache_clear'
> drivers/net/82596.c: In function 'i596_start_xmit':
> drivers/net/82596.c:1104: error: implicit declaration of function 'cache_push'
> 
> The driver still compiles on ia32 (CONFIG_APRICOT=y)
> 
> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

applied



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-24 20:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070720164043.523003359@mail.of.borg>
2007-07-20 16:40 ` [patch 2/3] netdev: i82596 Ethernet needs <asm/cacheflush.h> Geert Uytterhoeven
2007-07-24 20:37   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).