#
 
 menu "Serial ATA (prod) and Parallel ATA (experimental) drivers"
+       depends on HAS_IOMEM
 
 config ATA
        tristate "ATA device support"
 
 #
 
 menu "IPMI"
+       depends on HAS_IOMEM
+
 config IPMI_HANDLER
        tristate 'IPMI top-level message handler'
        help
 
 #
 
 menu "TPM devices"
+       depends on HAS_IOMEM
 
 config TCG_TPM
        tristate "TPM Hardware Support"
 
 #
 
 menu 'EDAC - error detection and reporting (RAS) (EXPERIMENTAL)'
+       depends on HAS_IOMEM
 
 config EDAC
        tristate "EDAC core system error reporting (EXPERIMENTAL)"
 
 
 menuconfig HWMON
        tristate "Hardware Monitoring support"
+       depends on HAS_IOMEM
        default y
        help
          Hardware monitoring devices let you monitor the hardware health
 
 
 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,
 
 if BLOCK
 
 menu "ATA/ATAPI/MFM/RLL support"
+       depends on HAS_IOMEM
 
 config IDE
        tristate "ATA/ATAPI/MFM/RLL support"
 
 menu "InfiniBand support"
+       depends on HAS_IOMEM
 
 config INFINIBAND
        depends on PCI || BROKEN
 
 
 menu "LED devices"
+       depends on HAS_IOMEM
 
 config NEW_LEDS
        bool "LED Support"
 
 #
 
 menu "Multimedia devices"
+       depends on HAS_IOMEM
 
 config VIDEO_DEV
        tristate "Video For Linux"
 
 #
 
 menu "Multifunction device drivers"
+       depends on HAS_IOMEM
 
 config MFD_SM501
        tristate "Support for Silicon Motion SM501"
 
 
 menuconfig MMC
        tristate "MMC/SD card support"
+       depends on HAS_IOMEM
        help
          MMC is the "multi-media card" bus protocol.
 
 
 
 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
 
 #
 
 menu "Parallel port support"
+       depends on HAS_IOMEM
 
 config PARPORT
        tristate "Parallel port support"
 
 #
 
 menu "Plug and Play support"
+       depends on HAS_IOMEM
 
 config PNP
        bool "Plug and Play support"
 
 #
 
 menu "Serial drivers"
+       depends on HAS_IOMEM
 
 #
 # The new 8250/16550 serial drivers
 
 # fully appropriate there, so it'd need some thought to do well.
 #
 menu "SPI support"
+       depends on HAS_IOMEM
 
 config SPI
        bool "SPI support"
 
 #
 
 menu "Telephony Support"
+       depends on HAS_IOMEM
 
 config PHONE
        tristate "Linux telephony support"
 
 #
 
 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 ...
 
 #
 
 menu "Graphics support"
+       depends on HAS_IOMEM
 
 source "drivers/video/backlight/Kconfig"
 source "drivers/video/display/Kconfig"
 
 menu "Dallas's 1-wire bus"
+       depends on HAS_IOMEM
 
 config W1
        tristate "Dallas's 1-wire support"
 
 #
 
 menu "Sound"
+       depends on HAS_IOMEM
 
 config SOUND
        tristate "Sound card support"