Skip to contentSkip to conversation

m68k: exclude more unbuildable drivers

PATCH In review Al Viro 1 participant 1 message Jul 20, 2007

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 8/8 m68k: exclude more unbuildable drivers

anything that wants working dma-mapping won't work parport_pc won't work on m68k unless we have ISA

---
 arch/m68k/Kconfig       |    3 +++
 drivers/parport/Kconfig |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
arch/m68k/Kconfig +3 -0
index 684de4c..20a9c08 100644
@@ -49,6 +49,9 @@ config ARCH_MAY_HAVE_PC_FDC
 config NO_IOPORT
 	def_bool y
 
+config NO_DMA
+	def_bool SUN3
+
 mainmenu "Linux/68k Kernel Configuration"
 
 source "init/Kconfig"
drivers/parport/Kconfig +1 -1
index 09c93ff..d449b15 100644
@@ -35,7 +35,7 @@ if PARPORT
 
 config PARPORT_PC
 	tristate "PC-style hardware"
-	depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV
+	depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && (!M68K || ISA)
 	---help---
 	  You should say Y here if you have a PC-style parallel port. All
 	  IBM PC compatible computers and some Alphas have PC-style
Signature · 1 line
1.5.3.GIT