[PATCH] PPC : missing request_dma and free_dma on PPC 405

Mathieu Desnoyers mathieu.desnoyers at polymtl.ca
Thu Feb 8 10:48:45 EST 2007


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 at polymtl.ca>

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



More information about the Linuxppc-embedded mailing list