Commit 5c493f5c authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Linus Torvalds

Use menuconfig objects: PNP

Use menuconfigs instead of menus, so the whole menu can be disabled at once
instead of going through all options.
Signed-off-by: default avatarJan Engelhardt <jengelh@gmx.de>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9f5096c5
...@@ -2,11 +2,9 @@ ...@@ -2,11 +2,9 @@
# Plug and Play configuration # Plug and Play configuration
# #
menu "Plug and Play support" menuconfig PNP
depends on HAS_IOMEM
config PNP
bool "Plug and Play support" bool "Plug and Play support"
depends on HAS_IOMEM
depends on ISA || ACPI depends on ISA || ACPI
---help--- ---help---
Plug and Play (PnP) is a standard for peripherals which allows those Plug and Play (PnP) is a standard for peripherals which allows those
...@@ -22,15 +20,15 @@ config PNP ...@@ -22,15 +20,15 @@ config PNP
If unsure, say Y. If unsure, say Y.
if PNP
config PNP_DEBUG config PNP_DEBUG
bool "PnP Debug Messages" bool "PnP Debug Messages"
depends on PNP
help help
Say Y if you want the Plug and Play Layer to print debug messages. Say Y if you want the Plug and Play Layer to print debug messages.
This is useful if you are developing a PnP driver or troubleshooting. This is useful if you are developing a PnP driver or troubleshooting.
comment "Protocols" comment "Protocols"
depends on PNP
source "drivers/pnp/isapnp/Kconfig" source "drivers/pnp/isapnp/Kconfig"
...@@ -38,5 +36,4 @@ source "drivers/pnp/pnpbios/Kconfig" ...@@ -38,5 +36,4 @@ source "drivers/pnp/pnpbios/Kconfig"
source "drivers/pnp/pnpacpi/Kconfig" source "drivers/pnp/pnpacpi/Kconfig"
endmenu endif # PNP
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
config ISAPNP config ISAPNP
bool "ISA Plug and Play support" bool "ISA Plug and Play support"
depends on PNP && ISA depends on ISA
help help
Say Y here if you would like support for ISA Plug and Play devices. Say Y here if you would like support for ISA Plug and Play devices.
Some information is in <file:Documentation/isapnp.txt>. Some information is in <file:Documentation/isapnp.txt>.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# #
config PNPBIOS config PNPBIOS
bool "Plug and Play BIOS support (EXPERIMENTAL)" bool "Plug and Play BIOS support (EXPERIMENTAL)"
depends on PNP && ISA && X86 && EXPERIMENTAL depends on ISA && X86 && EXPERIMENTAL
default n default n
---help--- ---help---
Linux uses the PNPBIOS as defined in "Plug and Play BIOS Linux uses the PNPBIOS as defined in "Plug and Play BIOS
......
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