Skip to contentSkip to conversation

s390 (1/8): Kconfig.

PATCH New Martin Schwidefsky 1 participant 1 message Aug 29, 2003

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

PATCH 1/1 s390 (1/8): Kconfig.

- Use common drivers/block/Kconfig instead of own config options, move s390 block device config options to drivers/s390/block/Kconfig and include it from drivers/block/Kconfig.
- Fix configuration combination CONFIG_IPV6=m and CONFIG_QETH=y.

diffstat:

 drivers/block/Kconfig      |    5 -
 drivers/s390/Kconfig       |  170 ---------------------------------------------
 drivers/s390/block/Kconfig |   49 ++++++++++++
 drivers/s390/net/Kconfig   |   12 +--
 4 files changed, 57 insertions(+), 179 deletions(-)
drivers/block/Kconfig +3 -2
diff -urN linux-2.6/drivers/block/Kconfig linux-2.6-s390/drivers/block/Kconfig
@@ -6,7 +6,7 @@
 
 config BLK_DEV_FD
 	tristate "Normal floppy disk support"
-	depends on !X86_PC9800
+	depends on !X86_PC9800 && !ARCH_S390
 	---help---
 	  If you want to use the floppy disk drive(s) of your PC under Linux,
 	  say Y. Information about this driver, especially important for IBM
@@ -346,5 +346,6 @@
 	  your machine, or if you want to have a raid or loopback device
 	  bigger than 2TB.  Otherwise say N.
 
-endmenu
+source "drivers/s390/block/Kconfig"
 
+endmenu
drivers/s390/Kconfig +1 -169

176 lines not on this page · raw message

drivers/s390/block/Kconfig +49 -0

49 lines not on this page · raw message

drivers/s390/net/Kconfig +4 -8
diff -urN linux-2.6/drivers/s390/net/Kconfig linux-2.6-s390/drivers/s390/net/Kconfig
@@ -51,18 +51,16 @@
 comment "Gigabit Ethernet default settings"
 	depends on QETH
 
-# FIXME IPV6=m && QETH=y
 config QETH_IPV6
 	bool "IPv6 support for gigabit ethernet"
-	depends on QETH && IPV6
+	depends on (QETH = IPV6) || (QETH && IPV6 = 'y')
 	help
 	  If CONFIG_QETH is switched on, this option will include IPv6
 	  support in the qeth device driver.
-
-# FIXME VLAN_8021Q=m && QETH=y
+	
 config QETH_VLAN
 	bool "VLAN support for gigabit ethernet"
-	depends on QETH && VLAN_8021Q
+	depends on (QETH = VLAN_8021Q) || (QETH && VLAN_8021Q = 'y')
 	help
 	  If CONFIG_QETH is switched on, this option will include IEEE
 	  802.1q VLAN support in the qeth device driver.
@@ -78,8 +76,6 @@
 
 config CCWGROUP
  	tristate
- 	depends on LCS || CTC  || QETH
-	default m if LCS!=y && CTC!=y && QETH!=y
-	default y if LCS=y || CTC=y || QETH=y
+	default (LCS || CTC || QETH)
 
 endmenu