diff options
-rw-r--r-- | drivers/pnp/Kconfig | 13 | ||||
-rw-r--r-- | drivers/pnp/isapnp/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pnp/pnpbios/Kconfig | 2 |
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 | ||
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 | |||
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 | # |
4 | config ISAPNP | 4 | config 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 | # |
4 | config PNPBIOS | 4 | config 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 |