Skip to contentSkip to conversation

Kconfig: unwanted menus for s390.

PATCH In review Martin Schwidefsky 1 participant 1 message Apr 23, 2007

Subsystems (8)
lore
Share & tools
lore
#0 lore raw

PATCH 3/9 Kconfig: unwanted menus for s390.

From: Martin Schwidefsky <[email protected]>

Disable some more menus in the configuration files that are of no interest to a s390 machine.

---

 drivers/dma/Kconfig     |    1 +
 drivers/input/Kconfig   |    1 +
 drivers/isdn/Kconfig    |    1 +
 drivers/net/phy/Kconfig |    1 +
 drivers/rtc/Kconfig     |    1 +
 net/ax25/Kconfig        |    2 +-
 net/bluetooth/Kconfig   |    2 +-
 net/irda/Kconfig        |    2 +-
 8 files changed, 8 insertions(+), 3 deletions(-)
drivers/dma/Kconfig +1 -0
diff -urpN linux-2.6/drivers/dma/Kconfig linux-2.6-patched/drivers/dma/Kconfig
@@ -3,6 +3,7 @@
 #
 
 menu "DMA Engine support"
+	depends on !S390
 
 config DMA_ENGINE
 	bool "Support for DMA engines"
drivers/input/Kconfig +1 -0
diff -urpN linux-2.6/drivers/input/Kconfig linux-2.6-patched/drivers/input/Kconfig
@@ -3,6 +3,7 @@
 #
 
 menu "Input device support"
+	depends on !S390
 
 config INPUT
 	tristate "Generic input layer (needed for keyboard, mouse, ...)" if EMBEDDED
drivers/isdn/Kconfig +1 -0
diff -urpN linux-2.6/drivers/isdn/Kconfig linux-2.6-patched/drivers/isdn/Kconfig
@@ -3,6 +3,7 @@
 #
 
 menu "ISDN subsystem"
+	depends on !S390
 
 config ISDN
 	tristate "ISDN support"
drivers/net/phy/Kconfig +1 -0
diff -urpN linux-2.6/drivers/net/phy/Kconfig linux-2.6-patched/drivers/net/phy/Kconfig
@@ -3,6 +3,7 @@
 #
 
 menu "PHY device support"
+	depends on !S390
 
 config PHYLIB
 	tristate "PHY Device support and infrastructure"
drivers/rtc/Kconfig +1 -0
diff -urpN linux-2.6/drivers/rtc/Kconfig linux-2.6-patched/drivers/rtc/Kconfig
@@ -3,6 +3,7 @@
 #
 
 menu "Real Time Clock"
+	depends on !S390
 
 config RTC_LIB
 	tristate
net/ax25/Kconfig +1 -1
diff -urpN linux-2.6/net/ax25/Kconfig linux-2.6-patched/net/ax25/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menuconfig HAMRADIO
-	depends on NET
+	depends on NET && !S390
 	bool "Amateur Radio support"
 	help
 	  If you want to connect your Linux box to an amateur radio, answer Y
net/bluetooth/Kconfig +1 -1
diff -urpN linux-2.6/net/bluetooth/Kconfig linux-2.6-patched/net/bluetooth/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menuconfig BT
-	depends on NET
+	depends on NET && !S390
 	tristate "Bluetooth subsystem support"
 	help
 	  Bluetooth is low-cost, low-power, short-range wireless technology.
net/irda/Kconfig +1 -1
diff -urpN linux-2.6/net/irda/Kconfig linux-2.6-patched/net/irda/Kconfig
@@ -3,7 +3,7 @@
 #
 
 menuconfig IRDA
-	depends on NET
+	depends on NET && !S390
 	tristate "IrDA (infrared) subsystem support"
 	select CRC_CCITT
 	---help---