linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PPC : missing request_dma and free_dma on PPC 405
@ 2007-02-07 23:48 Mathieu Desnoyers
  2007-02-08  7:51 ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Desnoyers @ 2007-02-07 23:48 UTC (permalink / raw)
  To: mporter, linuxppc-embedded

PPC : missing request_dma and free_dma on PPC 405

The solution I have found to correct this linking error for modules
that use DMA is to allow 4xx to select GENERIC_ISA_DMA in arch/ppc/Kconfig.
It applies on 2.6.20.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>

--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -1188,7 +1188,7 @@ config ISA
=20
 config GENERIC_ISA_DMA
 	bool
-	depends on 6xx && !CPM2
+	depends on 4xx || 6xx && !CPM2
 	default y
=20
 config PPC_I8259
--=20
Mathieu Desnoyers
Computer Engineering Graduate Student, =C9cole Polytechnique de Montr=E9al
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

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

end of thread, other threads:[~2007-02-08 15:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-07 23:48 [PATCH] PPC : missing request_dma and free_dma on PPC 405 Mathieu Desnoyers
2007-02-08  7:51 ` Kumar Gala
2007-02-08 15:31   ` Mathieu Desnoyers

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