[S390] Kconfig: menus with depends on HAS_IOMEM.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 10 May 2007 13:45:57 +0000 (15:45 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 10 May 2007 13:46:07 +0000 (15:46 +0200)
Add "depends on HAS_IOMEM" to a number of menus to make them
disappear for s390 which does not have I/O memory.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
22 files changed:
drivers/ata/Kconfig
drivers/char/ipmi/Kconfig
drivers/char/tpm/Kconfig
drivers/edac/Kconfig
drivers/hwmon/Kconfig
drivers/i2c/Kconfig
drivers/ide/Kconfig
drivers/infiniband/Kconfig
drivers/leds/Kconfig
drivers/media/Kconfig
drivers/mfd/Kconfig
drivers/mmc/Kconfig
drivers/mtd/Kconfig
drivers/parport/Kconfig
drivers/pnp/Kconfig
drivers/serial/Kconfig
drivers/spi/Kconfig
drivers/telephony/Kconfig
drivers/usb/Kconfig
drivers/video/Kconfig
drivers/w1/Kconfig
sound/Kconfig

index c721966..f031b87 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
+       depends on HAS_IOMEM
 
 config ATA
        tristate "ATA device support"
index a6dcb29..b894f67 100644 (file)
@@ -3,6 +3,8 @@
 #
 
 menu "IPMI"
+       depends on HAS_IOMEM
+
 config IPMI_HANDLER
        tristate 'IPMI top-level message handler'
        help
index 11089be..dc4e1ff 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "TPM devices"
+       depends on HAS_IOMEM
 
 config TCG_TPM
        tristate "TPM Hardware Support"
index 4f08984..807c402 100644 (file)
@@ -7,6 +7,7 @@
 #
 
 menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)'
+       depends on HAS_IOMEM
 
 config EDAC
        tristate "EDAC core system error reporting (EXPERIMENTAL)"
index 3ba3a52..4d1cb5b 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig HWMON
        tristate "Hardware Monitoring support"
+       depends on HAS_IOMEM
        default y
        help
          Hardware monitoring devices let you monitor the hardware health
index 434a61b..9686734 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig I2C
        tristate "I2C support"
+       depends on HAS_IOMEM
        ---help---
          I2C (pronounce: I-square-C) is a slow serial bus protocol used in
          many micro controller applications and developed by Philips.  SMBus,
index 1d06b41..9040809 100644 (file)
@@ -7,6 +7,7 @@
 if BLOCK
 
 menu "ATA/ATAPI/MFM/RLL support"
+       depends on HAS_IOMEM
 
 config IDE
        tristate "ATA/ATAPI/MFM/RLL support"
index 37deaae..994decc 100644 (file)
@@ -1,4 +1,5 @@
 menu "InfiniBand support"
+       depends on HAS_IOMEM
 
 config INFINIBAND
        depends on PCI || BROKEN
index 80acd08..87d2046 100644 (file)
@@ -1,5 +1,6 @@
 
 menu "LED devices"
+       depends on HAS_IOMEM
 
 config NEW_LEDS
        bool "LED Support"
index 91d2579..3a80e0c 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Multimedia devices"
+       depends on HAS_IOMEM
 
 config VIDEO_DEV
        tristate "Video For Linux"
index ab6e985..a20a51e 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Multifunction device drivers"
+       depends on HAS_IOMEM
 
 config MFD_SM501
        tristate "Support for Silicon Motion SM501"
index 45b7d53..c0b41e8 100644 (file)
@@ -4,6 +4,7 @@
 
 menuconfig MMC
        tristate "MMC/SD card support"
+       depends on HAS_IOMEM
        help
          MMC is the "multi-media card" bus protocol.
 
index c1b47db..fbec8cd 100644 (file)
@@ -2,6 +2,7 @@
 
 menuconfig MTD
        tristate "Memory Technology Device (MTD) support"
+       depends on HAS_IOMEM
        help
          Memory Technology Devices are flash, RAM and similar chips, often
          used for solid state file systems on embedded devices. This option
index 36c6a1b..f46c69e 100644 (file)
@@ -6,6 +6,7 @@
 #
 
 menu "Parallel port support"
+       depends on HAS_IOMEM
 
 config PARPORT
        tristate "Parallel port support"
index c514320..1959cef 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Plug and Play support"
+       depends on HAS_IOMEM
 
 config PNP
        bool "Plug and Play support"
index e8efe93..a6f5bfb 100644 (file)
@@ -5,6 +5,7 @@
 #
 
 menu "Serial drivers"
+       depends on HAS_IOMEM
 
 #
 # The new 8250/16550 serial drivers
index 07c587e..7c9d37f 100644 (file)
@@ -6,6 +6,7 @@
 # fully appropriate there, so it'd need some thought to do well.
 #
 menu "SPI support"
+       depends on HAS_IOMEM
 
 config SPI
        bool "SPI support"
index 7625b18..dd1d6a5 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Telephony Support"
+       depends on HAS_IOMEM
 
 config PHONE
        tristate "Linux telephony support"
index 278a22c..15499b7 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "USB support"
+       depends on HAS_IOMEM
 
 # Host-side USB depends on having a host controller
 # NOTE:  dummy_hcd is always an option, but it's ignored here ...
index 9a256d2..f544388 100644 (file)
@@ -3,6 +3,7 @@
 #
 
 menu "Graphics support"
+       depends on HAS_IOMEM
 
 source "drivers/video/backlight/Kconfig"
 source "drivers/video/display/Kconfig"
index c287a9a..ca75b3a 100644 (file)
@@ -1,4 +1,5 @@
 menu "Dallas's 1-wire bus"
+       depends on HAS_IOMEM
 
 config W1
        tristate "Dallas's 1-wire support"
index 97532bb..9ea4738 100644 (file)
@@ -2,6 +2,7 @@
 #
 
 menu "Sound"
+       depends on HAS_IOMEM
 
 config SOUND
        tristate "Sound card support"