blob: a72141dffa2974340983f45e158e08e8bd0b9dbe [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Plug and Play configuration
4#
5
Jan Engelhardt5c493f52007-07-15 23:39:38 -07006menuconfig PNP
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 bool "Plug and Play support"
Jan Engelhardt5c493f52007-07-15 23:39:38 -07008 depends on HAS_IOMEM
Len Brown76f58582005-08-24 12:10:49 -04009 depends on ISA || ACPI
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090010 help
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 Plug and Play (PnP) is a standard for peripherals which allows those
12 peripherals to be configured by software, e.g. assign IRQ's or other
13 parameters. No jumpers on the cards are needed, instead the values
14 are provided to the cards from the BIOS, from the operating system,
15 or using a user-space utility.
16
17 Say Y here if you would like Linux to configure your Plug and Play
18 devices. You should then also say Y to all of the protocols below.
19 Alternatively, you can say N here and configure your PnP devices
20 using user space utilities such as the isapnptools package.
21
22 If unsure, say Y.
23
Bjorn Helgaas97ef0622008-08-19 16:53:41 -060024config PNP_DEBUG_MESSAGES
25 default y
26 bool "PNP debugging messages"
27 depends on PNP
28 help
29 Say Y here if you want the PNP layer to be able to produce debugging
30 messages if needed. The messages can be enabled at boot-time with
31 the pnp.debug kernel parameter.
32
33 This option allows you to save a bit of space if you do not want
34 the messages to even be built into the kernel.
35
36 If you have any doubts about this, say Y here.
37
Jan Engelhardt5c493f52007-07-15 23:39:38 -070038if PNP
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040comment "Protocols"
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
42source "drivers/pnp/isapnp/Kconfig"
43
44source "drivers/pnp/pnpbios/Kconfig"
45
46source "drivers/pnp/pnpacpi/Kconfig"
47
Jan Engelhardt5c493f52007-07-15 23:39:38 -070048endif # PNP