Commit e25df1205f37c7bff3ab14fdfc8a5249f3c69c82

Authored by Martin Schwidefsky
1 parent eeca7a36a8

[S390] Kconfig: menus with depends on HAS_IOMEM.

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>

Showing 22 changed files with 23 additions and 0 deletions Side-by-side Diff

... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
  6 + depends on HAS_IOMEM
6 7  
7 8 config ATA
8 9 tristate "ATA device support"
drivers/char/ipmi/Kconfig
... ... @@ -3,6 +3,8 @@
3 3 #
4 4  
5 5 menu "IPMI"
  6 + depends on HAS_IOMEM
  7 +
6 8 config IPMI_HANDLER
7 9 tristate 'IPMI top-level message handler'
8 10 help
drivers/char/tpm/Kconfig
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "TPM devices"
  6 + depends on HAS_IOMEM
6 7  
7 8 config TCG_TPM
8 9 tristate "TPM Hardware Support"
drivers/edac/Kconfig
... ... @@ -7,6 +7,7 @@
7 7 #
8 8  
9 9 menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)'
  10 + depends on HAS_IOMEM
10 11  
11 12 config EDAC
12 13 tristate "EDAC core system error reporting (EXPERIMENTAL)"
drivers/hwmon/Kconfig
... ... @@ -4,6 +4,7 @@
4 4  
5 5 menuconfig HWMON
6 6 tristate "Hardware Monitoring support"
  7 + depends on HAS_IOMEM
7 8 default y
8 9 help
9 10 Hardware monitoring devices let you monitor the hardware health
... ... @@ -4,6 +4,7 @@
4 4  
5 5 menuconfig I2C
6 6 tristate "I2C support"
  7 + depends on HAS_IOMEM
7 8 ---help---
8 9 I2C (pronounce: I-square-C) is a slow serial bus protocol used in
9 10 many micro controller applications and developed by Philips. SMBus,
... ... @@ -7,6 +7,7 @@
7 7 if BLOCK
8 8  
9 9 menu "ATA/ATAPI/MFM/RLL support"
  10 + depends on HAS_IOMEM
10 11  
11 12 config IDE
12 13 tristate "ATA/ATAPI/MFM/RLL support"
drivers/infiniband/Kconfig
1 1 menu "InfiniBand support"
  2 + depends on HAS_IOMEM
2 3  
3 4 config INFINIBAND
4 5 depends on PCI || BROKEN
drivers/leds/Kconfig
1 1  
2 2 menu "LED devices"
  3 + depends on HAS_IOMEM
3 4  
4 5 config NEW_LEDS
5 6 bool "LED Support"
drivers/media/Kconfig
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Multimedia devices"
  6 + depends on HAS_IOMEM
6 7  
7 8 config VIDEO_DEV
8 9 tristate "Video For Linux"
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Multifunction device drivers"
  6 + depends on HAS_IOMEM
6 7  
7 8 config MFD_SM501
8 9 tristate "Support for Silicon Motion SM501"
... ... @@ -4,6 +4,7 @@
4 4  
5 5 menuconfig MMC
6 6 tristate "MMC/SD card support"
  7 + depends on HAS_IOMEM
7 8 help
8 9 MMC is the "multi-media card" bus protocol.
9 10  
... ... @@ -2,6 +2,7 @@
2 2  
3 3 menuconfig MTD
4 4 tristate "Memory Technology Device (MTD) support"
  5 + depends on HAS_IOMEM
5 6 help
6 7 Memory Technology Devices are flash, RAM and similar chips, often
7 8 used for solid state file systems on embedded devices. This option
drivers/parport/Kconfig
... ... @@ -6,6 +6,7 @@
6 6 #
7 7  
8 8 menu "Parallel port support"
  9 + depends on HAS_IOMEM
9 10  
10 11 config PARPORT
11 12 tristate "Parallel port support"
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Plug and Play support"
  6 + depends on HAS_IOMEM
6 7  
7 8 config PNP
8 9 bool "Plug and Play support"
drivers/serial/Kconfig
... ... @@ -5,6 +5,7 @@
5 5 #
6 6  
7 7 menu "Serial drivers"
  8 + depends on HAS_IOMEM
8 9  
9 10 #
10 11 # The new 8250/16550 serial drivers
... ... @@ -6,6 +6,7 @@
6 6 # fully appropriate there, so it'd need some thought to do well.
7 7 #
8 8 menu "SPI support"
  9 + depends on HAS_IOMEM
9 10  
10 11 config SPI
11 12 bool "SPI support"
drivers/telephony/Kconfig
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Telephony Support"
  6 + depends on HAS_IOMEM
6 7  
7 8 config PHONE
8 9 tristate "Linux telephony support"
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "USB support"
  6 + depends on HAS_IOMEM
6 7  
7 8 # Host-side USB depends on having a host controller
8 9 # NOTE: dummy_hcd is always an option, but it's ignored here ...
drivers/video/Kconfig
... ... @@ -3,6 +3,7 @@
3 3 #
4 4  
5 5 menu "Graphics support"
  6 + depends on HAS_IOMEM
6 7  
7 8 source "drivers/video/backlight/Kconfig"
8 9 source "drivers/video/display/Kconfig"
1 1 menu "Dallas's 1-wire bus"
  2 + depends on HAS_IOMEM
2 3  
3 4 config W1
4 5 tristate "Dallas's 1-wire support"
... ... @@ -2,6 +2,7 @@
2 2 #
3 3  
4 4 menu "Sound"
  5 + depends on HAS_IOMEM
5 6  
6 7 config SOUND
7 8 tristate "Sound card support"