diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-05-04 00:39:22 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-04 10:33:13 -0400 |
commit | 5cae841b13f23ccdf7e38b2400b5cf57deb57ccf (patch) | |
tree | c3e673089f4e1b5e0e5db26b370a23c2851ebd69 /arch/x86_64/Kconfig | |
parent | 9b52523aff51e3b245e6ec8887e3fcf190da4711 (diff) |
[PATCH] ISA DMA Kconfig fixes - part 1
A bunch of drivers use ISA DMA helpers or their equivalents for
platforms that have ISA with different DMA controller (a lot of ARM
boxen). Currently there is no way to put such dependency in Kconfig -
CONFIG_ISA is not it (e.g. it is not set on platforms that have no ISA
slots, but have on-board devices that pretend to be ISA ones).
New symbol added - ISA_DMA_API. Set when we have functional
enable_dma()/set_dma_mode()/etc. set of helpers. Next patches in the
series will add missing dependencies for drivers that need them.
I'm very carefully staying the hell out of the recurring flamefest on
what exactly CONFIG_ISA would mean in ideal world - added symbol has a
well-defined meaning and for now I really want to treat it as completely
independent from the mess around CONFIG_ISA.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/x86_64/Kconfig')
-rw-r--r-- | arch/x86_64/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig index 80c38c5d71fe..44ee7f6acf7b 100644 --- a/arch/x86_64/Kconfig +++ b/arch/x86_64/Kconfig | |||
@@ -379,6 +379,11 @@ config GENERIC_IRQ_PROBE | |||
379 | bool | 379 | bool |
380 | default y | 380 | default y |
381 | 381 | ||
382 | # we have no ISA slots, but we do have ISA-style DMA. | ||
383 | config ISA_DMA_API | ||
384 | bool | ||
385 | default y | ||
386 | |||
382 | menu "Power management options" | 387 | menu "Power management options" |
383 | 388 | ||
384 | source kernel/power/Kconfig | 389 | source kernel/power/Kconfig |