]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ISA DMA Kconfig fixes - part 1
authorAl Viro <viro@www.linux.org.uk>
Wed, 4 May 2005 04:39:22 +0000 (05:39 +0100)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 4 May 2005 14:33:13 +0000 (07:33 -0700)
commite3828dc96ac79ace5a07aa7c29ee0236c8a7fc2a
treec3e673089f4e1b5e0e5db26b370a23c2851ebd69
parent6ea2b56220cdb68d8aa52666cd16d013c658f098
[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>
arch/alpha/Kconfig
arch/arm/Kconfig
arch/arm26/Kconfig
arch/i386/Kconfig
arch/m68knommu/Kconfig
arch/mips/Kconfig
arch/parisc/Kconfig
arch/ppc/Kconfig
arch/ppc64/Kconfig
arch/sh/Kconfig
arch/x86_64/Kconfig