Skip to content

Commit

Permalink
[S390] Kconfig: menus with depends on HAS_IOMEM.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Martin Schwidefsky committed May 10, 2007
1 parent eeca7a3 commit e25df12
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ata/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
depends on HAS_IOMEM

config ATA
tristate "ATA device support"
Expand Down
2 changes: 2 additions & 0 deletions drivers/char/ipmi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#

menu "IPMI"
depends on HAS_IOMEM

config IPMI_HANDLER
tristate 'IPMI top-level message handler'
help
Expand Down
1 change: 1 addition & 0 deletions drivers/char/tpm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "TPM devices"
depends on HAS_IOMEM

config TCG_TPM
tristate "TPM Hardware Support"
Expand Down
1 change: 1 addition & 0 deletions drivers/edac/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions drivers/ide/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
if BLOCK

menu "ATA/ATAPI/MFM/RLL support"
depends on HAS_IOMEM

config IDE
tristate "ATA/ATAPI/MFM/RLL support"
Expand Down
1 change: 1 addition & 0 deletions drivers/infiniband/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
menu "InfiniBand support"
depends on HAS_IOMEM

config INFINIBAND
depends on PCI || BROKEN
Expand Down
1 change: 1 addition & 0 deletions drivers/leds/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

menu "LED devices"
depends on HAS_IOMEM

config NEW_LEDS
bool "LED Support"
Expand Down
1 change: 1 addition & 0 deletions drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Multimedia devices"
depends on HAS_IOMEM

config VIDEO_DEV
tristate "Video For Linux"
Expand Down
1 change: 1 addition & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Multifunction device drivers"
depends on HAS_IOMEM

config MFD_SM501
tristate "Support for Silicon Motion SM501"
Expand Down
1 change: 1 addition & 0 deletions drivers/mmc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

menuconfig MMC
tristate "MMC/SD card support"
depends on HAS_IOMEM
help
MMC is the "multi-media card" bus protocol.

Expand Down
1 change: 1 addition & 0 deletions drivers/mtd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/parport/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#

menu "Parallel port support"
depends on HAS_IOMEM

config PARPORT
tristate "Parallel port support"
Expand Down
1 change: 1 addition & 0 deletions drivers/pnp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Plug and Play support"
depends on HAS_IOMEM

config PNP
bool "Plug and Play support"
Expand Down
1 change: 1 addition & 0 deletions drivers/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#

menu "Serial drivers"
depends on HAS_IOMEM

#
# The new 8250/16550 serial drivers
Expand Down
1 change: 1 addition & 0 deletions drivers/spi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions drivers/telephony/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Telephony Support"
depends on HAS_IOMEM

config PHONE
tristate "Linux telephony support"
Expand Down
1 change: 1 addition & 0 deletions drivers/usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 ...
Expand Down
1 change: 1 addition & 0 deletions drivers/video/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

menu "Graphics support"
depends on HAS_IOMEM

source "drivers/video/backlight/Kconfig"
source "drivers/video/display/Kconfig"
Expand Down
1 change: 1 addition & 0 deletions drivers/w1/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
menu "Dallas's 1-wire bus"
depends on HAS_IOMEM

config W1
tristate "Dallas's 1-wire support"
Expand Down
1 change: 1 addition & 0 deletions sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#

menu "Sound"
depends on HAS_IOMEM

config SOUND
tristate "Sound card support"
Expand Down

0 comments on commit e25df12

Please sign in to comment.