diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-01-04 10:44:16 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-04 10:44:16 -0500 |
commit | 065909b91581cf2438d901a7811a82af3476bdab (patch) | |
tree | a6fabd1ff672791c0f83332a55b85a94736b1de6 /arch/arm/Kconfig | |
parent | d4c6fc9976dd70a27abc988ddbd6a746c1dba0a7 (diff) |
[ARM] Refine selection of ISA_DMA_API and generic dma.c code
ISA_DMA_API tells the rest of the kernel if the ISA DMA API is
available. Select this symbol only on machine types which make
use of the ISA DMA API.
Make building of arch/arm/kernel/dma.c depend on this symbol -
if a machine does not support the ISA DMA API, it's pointless
building this file.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4b15f5f1e254..cb413109da0c 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -154,6 +154,7 @@ config ARCH_RPC | |||
154 | select FIQ | 154 | select FIQ |
155 | select TIMER_ACORN | 155 | select TIMER_ACORN |
156 | select ARCH_MAY_HAVE_PC_FDC | 156 | select ARCH_MAY_HAVE_PC_FDC |
157 | select ISA_DMA_API | ||
157 | help | 158 | help |
158 | On the Acorn Risc-PC, Linux can support the internal IDE disk and | 159 | On the Acorn Risc-PC, Linux can support the internal IDE disk and |
159 | CD-ROM interface, serial and parallel port, and the floppy drive. | 160 | CD-ROM interface, serial and parallel port, and the floppy drive. |
@@ -206,6 +207,7 @@ config ARCH_IMX | |||
206 | 207 | ||
207 | config ARCH_H720X | 208 | config ARCH_H720X |
208 | bool "Hynix-HMS720x-based" | 209 | bool "Hynix-HMS720x-based" |
210 | select ISA_DMA_API | ||
209 | help | 211 | help |
210 | This enables support for systems based on the Hynix HMS720x | 212 | This enables support for systems based on the Hynix HMS720x |
211 | 213 | ||
@@ -290,12 +292,14 @@ config ISA | |||
290 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; | 292 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; |
291 | newer boards don't support it. If you have ISA, say Y, otherwise N. | 293 | newer boards don't support it. If you have ISA, say Y, otherwise N. |
292 | 294 | ||
295 | # Select ISA DMA controller support | ||
293 | config ISA_DMA | 296 | config ISA_DMA |
294 | bool | 297 | bool |
298 | select ISA_DMA_API | ||
295 | 299 | ||
300 | # Select ISA DMA interface | ||
296 | config ISA_DMA_API | 301 | config ISA_DMA_API |
297 | bool | 302 | bool |
298 | default y | ||
299 | 303 | ||
300 | config PCI | 304 | config PCI |
301 | bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB | 305 | bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB |