From: Alessandro Rubini Date: Wed, 4 Apr 2012 17:40:10 +0000 (+0200) Subject: x86: Introduce CONFIG_X86_DMA_REMAP X-Git-Tag: v3.5-rc1~123^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7219a5300ba753b0c762d631763bd878b8bb00c;p=pandora-kernel.git x86: Introduce CONFIG_X86_DMA_REMAP The default functions phys_to_dma, dma_to_phys implement identity mapping as fast inline functions. Some systems, however, may need a custom function to implement its own mapping between CPU addresses and device addresses. This new configuration option allows the functions to be external when needed (such as for the ConneXt device) Signed-off-by: Alessandro Rubini Link: http://lkml.kernel.org/r/6e4329b772df675f1c442f68e59e844e4dd8c965.1333560789.git.rubini@gnudd.com Acked-by: Giancarlo Asnaghi Cc: Alan Cox Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed