Skip to contentSkip to conversation

Compile fix for 8xx CPM Ehernet driver

PATCH New Jochen Friedrich 3 participants 4 messages Sep 24, 2007 – Oct 11, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 Compile fix for 8xx CPM Ehernet driver

Add #include <asm/cacheflush.h> for flush_dcache_range to make the driver compile again.

CC arch/ppc/8xx_io/enet.o
arch/ppc/8xx_io/enet.c: In function 'scc_enet_start_xmit':
arch/ppc/8xx_io/enet.c:240: error: implicit declaration of function 'flush_dcache_range'
make[1]: *** [arch/ppc/8xx_io/enet.o] Error 1
make: *** [arch/ppc/8xx_io] Error 2

---
arch/ppc/8xx_io/enet.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
arch/ppc/8xx_io/enet.c +1 -0
index 703d47e..eace3bc 100644
@@ -44,6 +44,7 @@
 #include <asm/mpc8xx.h>
 #include <asm/uaccess.h>
 #include <asm/commproc.h>
+#include <asm/cacheflush.h>
 
 /*
  *				Theory of Operation
#1 lore raw

PATCH 3/4 Compile fix for 8xx CPM Ehernet driver

Begin forwarded message:

Quoted 5 lines

From: Jochen Friedrich <[email protected]>
Date: September 24, 2007 12:15:35 PM CDT
To: [email protected]
Cc: [email protected], Marcelo Tosatti <[email protected]>
Subject: [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

Jeff,

Please pick up for 2.6.23 if you don't mind.

- k

Quoted 29 lines

Add #include <asm/cacheflush.h> for flush_dcache_range to make the driver compile again.

CC arch/ppc/8xx_io/enet.o
arch/ppc/8xx_io/enet.c: In function 'scc_enet_start_xmit':
arch/ppc/8xx_io/enet.c:240: error: implicit declaration of function 'flush_dcache_range'
make[1]: *** [arch/ppc/8xx_io/enet.o] Error 1
make: *** [arch/ppc/8xx_io] Error 2

---
arch/ppc/8xx_io/enet.c | 1 +

1 files changed, 1 insertions(+), 0 deletions(-)
arch/ppc/8xx_io/enet.c +1 -0
index 703d47e..eace3bc 100644
@@ -44,6 +44,7 @@
 #include <asm/mpc8xx.h>
 #include <asm/uaccess.h>
 #include <asm/commproc.h>
+#include <asm/cacheflush.h>
 
 /*
  *				Theory of Operation
#3 lore raw

Hi Jeff,

Quoted 11 lines
Quoted 9 lines · Kumar Gala

Begin forwarded message:

Quoted 6 lines

From: Jochen Friedrich <[email protected]>
Date: September 24, 2007 12:15:35 PM CDT
To: [email protected]
Cc: [email protected], Marcelo Tosatti <[email protected]>
Subject: [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver

Quoted 9 lines
Quoted 4 lines

Jeff,

Please pick up for 2.6.23 if you don't mind.

Please send an apply-able patch...

Jeff, off to bed

I rebased git://git.bocc.de/dbox2.git ppc-fixes against 2.6.23. This patch is the only remaining one in this head.
I'll resend.

Thanks,
Jochen