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

From: Mathieu Desnoyers <[email-masked]>
Date: Wed, 7 Feb 2007 18:48:45 -0500

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 <[email-masked]>

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