aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/Kconfig
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/pnp/Kconfig
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/pnp/Kconfig')
-rw-r--r--drivers/pnp/Kconfig13
1 files changed, 5 insertions, 8 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