aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-16 02:39:38 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 12:05:40 -0400
commit5c493f5c9017b38a60ed2989af00e5faaa801815 (patch)
tree0253614ae83f3d676d5cf66efdbf42615cbcb8f4 /drivers
parent9f5096c56afe6f7602cce852b99b32a90804935d (diff)
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: Jan Engelhardt <jengelh@gmx.de> Cc: Adam Belay <ambx1@neo.rr.com> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pnp/Kconfig13
-rw-r--r--drivers/pnp/isapnp/Kconfig2
-rw-r--r--drivers/pnp/pnpbios/Kconfig2
3 files changed, 7 insertions, 10 deletions
diff --git a/drivers/pnp/Kconfig b/drivers/pnp/Kconfig
index 1959cef8e9de..821933f9aa57 100644
--- a/drivers/pnp/Kconfig
+++ b/drivers/pnp/Kconfig
@@ -2,11 +2,9 @@
2# Plug and Play configuration 2# Plug and Play configuration
3# 3#
4 4
5menu "Plug and Play support" 5menuconfig PNP
6 depends on HAS_IOMEM
7
8config PNP
9 bool "Plug and Play support" 6 bool "Plug and Play support"
7 depends on HAS_IOMEM
10 depends on ISA || ACPI 8 depends on ISA || ACPI
11 ---help--- 9 ---help---
12 Plug and Play (PnP) is a standard for peripherals which allows those 10 Plug and Play (PnP) is a standard for peripherals which allows those
@@ -22,15 +20,15 @@ config PNP
22 20
23 If unsure, say Y. 21 If unsure, say Y.
24 22
23if PNP
24
25config PNP_DEBUG 25config PNP_DEBUG
26 bool "PnP Debug Messages" 26 bool "PnP Debug Messages"
27 depends on PNP
28 help 27 help
29 Say Y if you want the Plug and Play Layer to print debug messages. 28 Say Y if you want the Plug and Play Layer to print debug messages.
30 This is useful if you are developing a PnP driver or troubleshooting. 29 This is useful if you are developing a PnP driver or troubleshooting.
31 30
32comment "Protocols" 31comment "Protocols"
33 depends on PNP
34 32
35source "drivers/pnp/isapnp/Kconfig" 33source "drivers/pnp/isapnp/Kconfig"
36 34
@@ -38,5 +36,4 @@ source "drivers/pnp/pnpbios/Kconfig"
38 36
39source "drivers/pnp/pnpacpi/Kconfig" 37source "drivers/pnp/pnpacpi/Kconfig"
40 38
41endmenu 39endif # PNP
42
diff --git a/drivers/pnp/isapnp/Kconfig b/drivers/pnp/isapnp/Kconfig
index 578651eeb4b0..f1ef36673ad4 100644
--- a/drivers/pnp/isapnp/Kconfig
+++ b/drivers/pnp/isapnp/Kconfig
@@ -3,7 +3,7 @@
3# 3#
4config ISAPNP 4config ISAPNP
5 bool "ISA Plug and Play support" 5 bool "ISA Plug and Play support"
6 depends on PNP && ISA 6 depends on ISA
7 help 7 help
8 Say Y here if you would like support for ISA Plug and Play devices. 8 Say Y here if you would like support for ISA Plug and Play devices.
9 Some information is in <file:Documentation/isapnp.txt>. 9 Some information is in <file:Documentation/isapnp.txt>.
diff --git a/drivers/pnp/pnpbios/Kconfig b/drivers/pnp/pnpbios/Kconfig
index fab848cae89d..b986d9fa3b9a 100644
--- a/drivers/pnp/pnpbios/Kconfig
+++ b/drivers/pnp/pnpbios/Kconfig
@@ -3,7 +3,7 @@
3# 3#
4config PNPBIOS 4config PNPBIOS
5 bool "Plug and Play BIOS support (EXPERIMENTAL)" 5 bool "Plug and Play BIOS support (EXPERIMENTAL)"
6 depends on PNP && ISA && X86 && EXPERIMENTAL 6 depends on ISA && X86 && EXPERIMENTAL
7 default n 7 default n
8 ---help--- 8 ---help---
9 Linux uses the PNPBIOS as defined in "Plug and Play BIOS 9 Linux uses the PNPBIOS as defined in "Plug and Play BIOS