Commit e25df120 authored by Martin Schwidefsky's avatar Martin Schwidefsky

[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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent eeca7a36
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Serial ATA (prod) and Parallel ATA (experimental) drivers" menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
depends on HAS_IOMEM
config ATA config ATA
tristate "ATA device support" tristate "ATA device support"
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# #
menu "IPMI" menu "IPMI"
depends on HAS_IOMEM
config IPMI_HANDLER config IPMI_HANDLER
tristate 'IPMI top-level message handler' tristate 'IPMI top-level message handler'
help help
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "TPM devices" menu "TPM devices"
depends on HAS_IOMEM
config TCG_TPM config TCG_TPM
tristate "TPM Hardware Support" tristate "TPM Hardware Support"
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
# #
menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)' menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)'
depends on HAS_IOMEM
config EDAC config EDAC
tristate "EDAC core system error reporting (EXPERIMENTAL)" tristate "EDAC core system error reporting (EXPERIMENTAL)"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
menuconfig HWMON menuconfig HWMON
tristate "Hardware Monitoring support" tristate "Hardware Monitoring support"
depends on HAS_IOMEM
default y default y
help help
Hardware monitoring devices let you monitor the hardware health Hardware monitoring devices let you monitor the hardware health
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
menuconfig I2C menuconfig I2C
tristate "I2C support" tristate "I2C support"
depends on HAS_IOMEM
---help--- ---help---
I2C (pronounce: I-square-C) is a slow serial bus protocol used in I2C (pronounce: I-square-C) is a slow serial bus protocol used in
many micro controller applications and developed by Philips. SMBus, many micro controller applications and developed by Philips. SMBus,
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
if BLOCK if BLOCK
menu "ATA/ATAPI/MFM/RLL support" menu "ATA/ATAPI/MFM/RLL support"
depends on HAS_IOMEM
config IDE config IDE
tristate "ATA/ATAPI/MFM/RLL support" tristate "ATA/ATAPI/MFM/RLL support"
......
menu "InfiniBand support" menu "InfiniBand support"
depends on HAS_IOMEM
config INFINIBAND config INFINIBAND
depends on PCI || BROKEN depends on PCI || BROKEN
......
menu "LED devices" menu "LED devices"
depends on HAS_IOMEM
config NEW_LEDS config NEW_LEDS
bool "LED Support" bool "LED Support"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Multimedia devices" menu "Multimedia devices"
depends on HAS_IOMEM
config VIDEO_DEV config VIDEO_DEV
tristate "Video For Linux" tristate "Video For Linux"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Multifunction device drivers" menu "Multifunction device drivers"
depends on HAS_IOMEM
config MFD_SM501 config MFD_SM501
tristate "Support for Silicon Motion SM501" tristate "Support for Silicon Motion SM501"
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
menuconfig MMC menuconfig MMC
tristate "MMC/SD card support" tristate "MMC/SD card support"
depends on HAS_IOMEM
help help
MMC is the "multi-media card" bus protocol. MMC is the "multi-media card" bus protocol.
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
menuconfig MTD menuconfig MTD
tristate "Memory Technology Device (MTD) support" tristate "Memory Technology Device (MTD) support"
depends on HAS_IOMEM
help help
Memory Technology Devices are flash, RAM and similar chips, often Memory Technology Devices are flash, RAM and similar chips, often
used for solid state file systems on embedded devices. This option used for solid state file systems on embedded devices. This option
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# #
menu "Parallel port support" menu "Parallel port support"
depends on HAS_IOMEM
config PARPORT config PARPORT
tristate "Parallel port support" tristate "Parallel port support"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Plug and Play support" menu "Plug and Play support"
depends on HAS_IOMEM
config PNP config PNP
bool "Plug and Play support" bool "Plug and Play support"
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
# #
menu "Serial drivers" menu "Serial drivers"
depends on HAS_IOMEM
# #
# The new 8250/16550 serial drivers # The new 8250/16550 serial drivers
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
# fully appropriate there, so it'd need some thought to do well. # fully appropriate there, so it'd need some thought to do well.
# #
menu "SPI support" menu "SPI support"
depends on HAS_IOMEM
config SPI config SPI
bool "SPI support" bool "SPI support"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Telephony Support" menu "Telephony Support"
depends on HAS_IOMEM
config PHONE config PHONE
tristate "Linux telephony support" tristate "Linux telephony support"
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "USB support" menu "USB support"
depends on HAS_IOMEM
# Host-side USB depends on having a host controller # Host-side USB depends on having a host controller
# NOTE: dummy_hcd is always an option, but it's ignored here ... # NOTE: dummy_hcd is always an option, but it's ignored here ...
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
# #
menu "Graphics support" menu "Graphics support"
depends on HAS_IOMEM
source "drivers/video/backlight/Kconfig" source "drivers/video/backlight/Kconfig"
source "drivers/video/display/Kconfig" source "drivers/video/display/Kconfig"
......
menu "Dallas's 1-wire bus" menu "Dallas's 1-wire bus"
depends on HAS_IOMEM
config W1 config W1
tristate "Dallas's 1-wire support" tristate "Dallas's 1-wire support"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# #
menu "Sound" menu "Sound"
depends on HAS_IOMEM
config SOUND config SOUND
tristate "Sound card support" tristate "Sound card support"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment