Messages in this thread | | | From | tom.leiming@gmail ... | Subject | [PATCH 0/3] dma-mapping:remove CONFIG_HAVE_DMA_ATTRS | Date | Sat, 4 Jul 2009 10:34:52 +0800 |
| |
This patch sets enable CONFIG_HAVE_DMA_ATTRS always, so remove it in dma-mapping and Kconfig of X86 and IA64 arch, based on the following ideas:
1,Currently asm-generic/dma-mapping-common.h has provided dma_map_*_attrs() and dma_unmap_*_attrs(), and more ARCHs will move to asm-generic/dma-mapping-common.h;
2,Disabling CONFIG_HAVE_DMA_ATTRS may lead to a compile failure;
3,X86 and IA64 has taken asm-generic/dma-mapping-common.h and always enabled the option now;
4,If CONFIG_HAVE_DMA_ATTRS is enabled, dma_set/get_attr support the passed attrs is NULL.
| |