]> git.baikalelectronics.ru Git - kernel.git/commit
x86 isa: add back X86_32 dependency on CONFIG_ISA
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 17:25:19 +0000 (10:25 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 21 May 2016 17:25:19 +0000 (10:25 -0700)
commit8998d1fdfc3b38f33dc76825a3f1c82365faba15
tree5cb95cfd5e282b130ab7ff91610039604b43fbf7
parent26a7c201feafb04f0ae2b067497bad4a740859b7
x86 isa: add back X86_32 dependency on CONFIG_ISA

Commit 4a05762840e7 ("base: isa: Remove X86_32 dependency") made ISA
support available on x86-64 too.  That's not right - while there are
some LPC-style devices that might be useful still and be based on
ISA-like IP blocks, that is *not* an excuse to try to enable any random
legacy drivers.

Such drivers should be individually enabled and made to perhaps depend
on ISA_DMA_API instead (which we have continued to support on x86-64).
Or we could add another "ISA_XYZ_API" that we support that doesn't
enable random old drivers that aren't even 64-bit clean nor do we have
any test coverage for.

Turning off ISA will now also turn off some drivers that have been
marked as depending on it as part of this series, and that used to work
on modern platforms.

See for example commits 9632224098be..b32c60e976b9, which may also need
to be reverted.

This commit means that the warnings that came in due to enabling ISA
widely are now gone again.

Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/Kconfig