diff options
Diffstat (limited to 'drivers/pnp/Kconfig')
-rw-r--r-- | drivers/pnp/Kconfig | 13 |
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 | ||
5 | menu "Plug and Play support" | 5 | menuconfig PNP |
6 | depends on HAS_IOMEM | ||
7 | |||
8 | config 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 | ||
23 | if PNP | ||
24 | |||
25 | config PNP_DEBUG | 25 | config 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 | ||
32 | comment "Protocols" | 31 | comment "Protocols" |
33 | depends on PNP | ||
34 | 32 | ||
35 | source "drivers/pnp/isapnp/Kconfig" | 33 | source "drivers/pnp/isapnp/Kconfig" |
36 | 34 | ||
@@ -38,5 +36,4 @@ source "drivers/pnp/pnpbios/Kconfig" | |||
38 | 36 | ||
39 | source "drivers/pnp/pnpacpi/Kconfig" | 37 | source "drivers/pnp/pnpacpi/Kconfig" |
40 | 38 | ||
41 | endmenu | 39 | endif # PNP |
42 | |||