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

Kumar Gala galak at kernel.crashing.org
Thu Feb 8 18:51:34 EST 2007


On Feb 7, 2007, at 5:48 PM, Mathieu Desnoyers wrote:

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

Are you actually using request_dma/free_dma?

The reason this was Kconfig'd this way is that ISA_DMA doesn't make  
sense on 4xx or the majority of PPC's because of the lack of an ISA bus.

- k

>
> --- 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
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded




More information about the Linuxppc-embedded mailing list