linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver
@ 2007-09-24 17:15 Jochen Friedrich
  2007-09-28 15:30 ` Fwd: " Kumar Gala
  0 siblings, 1 reply; 4+ messages in thread
From: Jochen Friedrich @ 2007-09-24 17:15 UTC (permalink / raw)
  To: linuxppc-embedded; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]


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

Signed-off-by: Jochen Friedrich <jochen@scram.de>
---
 arch/ppc/8xx_io/enet.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

[-- Attachment #2: bf5c2f419c8f731109b1c39e390338dcea780e94.diff --]
[-- Type: text/x-patch, Size: 308 bytes --]

diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c
index 703d47e..eace3bc 100644
--- a/arch/ppc/8xx_io/enet.c
+++ b/arch/ppc/8xx_io/enet.c
@@ -44,6 +44,7 @@
 #include <asm/mpc8xx.h>
 #include <asm/uaccess.h>
 #include <asm/commproc.h>
+#include <asm/cacheflush.h>
 
 /*
  *				Theory of Operation


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

* Fwd: [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver
  2007-09-24 17:15 [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver Jochen Friedrich
@ 2007-09-28 15:30 ` Kumar Gala
  2007-09-28 15:38   ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2007-09-28 15:30 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, linux-ppc-embedded ((((E-Mail))))

Begin forwarded message:

> From: Jochen Friedrich <jochen@scram.de>
> Date: September 24, 2007 12:15:35 PM CDT
> To: linuxppc-embedded@ozlabs.org
> Cc: linux-kernel@vger.kernel.org, Marcelo Tosatti <marcelo@kvack.org>
> 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

>
>
> 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
>
> Signed-off-by: Jochen Friedrich <jochen@scram.de>
> ---
> arch/ppc/8xx_io/enet.c |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> diff --git a/arch/ppc/8xx_io/enet.c b/arch/ppc/8xx_io/enet.c
> index 703d47e..eace3bc 100644
> --- a/arch/ppc/8xx_io/enet.c
> +++ b/arch/ppc/8xx_io/enet.c
> @@ -44,6 +44,7 @@
>  #include <asm/mpc8xx.h>
>  #include <asm/uaccess.h>
>  #include <asm/commproc.h>
> +#include <asm/cacheflush.h>
>
>  /*
>   *				Theory of Operation
>

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

* Re: Fwd: [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver
  2007-09-28 15:30 ` Fwd: " Kumar Gala
@ 2007-09-28 15:38   ` Jeff Garzik
  2007-10-11 16:41     ` Jochen Friedrich
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2007-09-28 15:38 UTC (permalink / raw)
  To: Kumar Gala; +Cc: netdev, linux-ppc-embedded ((((E-Mail))))

Kumar Gala wrote:
> Begin forwarded message:
> 
>> From: Jochen Friedrich <jochen@scram.de>
>> Date: September 24, 2007 12:15:35 PM CDT
>> To: linuxppc-embedded@ozlabs.org
>> Cc: linux-kernel@vger.kernel.org, Marcelo Tosatti <marcelo@kvack.org>
>> 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.

Please send an apply-able patch...

	Jeff, off to bed

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

* Re: Fwd: [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver
  2007-09-28 15:38   ` Jeff Garzik
@ 2007-10-11 16:41     ` Jochen Friedrich
  0 siblings, 0 replies; 4+ messages in thread
From: Jochen Friedrich @ 2007-10-11 16:41 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: netdev, linux-ppc-embedded ((((E-Mail))))

Hi Jeff,

> Kumar Gala wrote:
>   
>> Begin forwarded message:
>>
>>     
>>> From: Jochen Friedrich <jochen@scram.de>
>>> Date: September 24, 2007 12:15:35 PM CDT
>>> To: linuxppc-embedded@ozlabs.org
>>> Cc: linux-kernel@vger.kernel.org, Marcelo Tosatti <marcelo@kvack.org>
>>> 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.
>>     
>
> 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

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

end of thread, other threads:[~2007-10-11 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-24 17:15 [PATCH#2 3/4] [PPC] Compile fix for 8xx CPM Ehernet driver Jochen Friedrich
2007-09-28 15:30 ` Fwd: " Kumar Gala
2007-09-28 15:38   ` Jeff Garzik
2007-10-11 16:41     ` Jochen Friedrich

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).