0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Plug and Play configuration
0004 #
0005
0006 menuconfig PNP
0007 bool "Plug and Play support"
0008 depends on HAS_IOMEM
0009 depends on ISA || ACPI
0010 help
0011 Plug and Play (PnP) is a standard for peripherals which allows those
0012 peripherals to be configured by software, e.g. assign IRQ's or other
0013 parameters. No jumpers on the cards are needed, instead the values
0014 are provided to the cards from the BIOS, from the operating system,
0015 or using a user-space utility.
0016
0017 Say Y here if you would like Linux to configure your Plug and Play
0018 devices. You should then also say Y to all of the protocols below.
0019 Alternatively, you can say N here and configure your PnP devices
0020 using user space utilities such as the isapnptools package.
0021
0022 If unsure, say Y.
0023
0024 config PNP_DEBUG_MESSAGES
0025 default y
0026 bool "PNP debugging messages"
0027 depends on PNP
0028 help
0029 Say Y here if you want the PNP layer to be able to produce debugging
0030 messages if needed. The messages can be enabled at boot-time with
0031 the pnp.debug kernel parameter.
0032
0033 This option allows you to save a bit of space if you do not want
0034 the messages to even be built into the kernel.
0035
0036 If you have any doubts about this, say Y here.
0037
0038 if PNP
0039
0040 comment "Protocols"
0041
0042 source "drivers/pnp/isapnp/Kconfig"
0043
0044 source "drivers/pnp/pnpbios/Kconfig"
0045
0046 source "drivers/pnp/pnpacpi/Kconfig"
0047
0048 endif # PNP