162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Plug and Play configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cimenuconfig PNP
762306a36Sopenharmony_ci	bool "Plug and Play support"
862306a36Sopenharmony_ci	depends on HAS_IOMEM
962306a36Sopenharmony_ci	depends on ISA || ACPI
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  Plug and Play (PnP) is a standard for peripherals which allows those
1262306a36Sopenharmony_ci	  peripherals to be configured by software, e.g. assign IRQ's or other
1362306a36Sopenharmony_ci	  parameters. No jumpers on the cards are needed, instead the values
1462306a36Sopenharmony_ci	  are provided to the cards from the BIOS, from the operating system,
1562306a36Sopenharmony_ci	  or using a user-space utility.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci	  Say Y here if you would like Linux to configure your Plug and Play
1862306a36Sopenharmony_ci	  devices. You should then also say Y to all of the protocols below.
1962306a36Sopenharmony_ci	  Alternatively, you can say N here and configure your PnP devices
2062306a36Sopenharmony_ci	  using user space utilities such as the isapnptools package.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	  If unsure, say Y.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig PNP_DEBUG_MESSAGES
2562306a36Sopenharmony_ci	default y
2662306a36Sopenharmony_ci	bool "PNP debugging messages"
2762306a36Sopenharmony_ci	depends on PNP
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Say Y here if you want the PNP layer to be able to produce debugging
3062306a36Sopenharmony_ci	  messages if needed.  The messages can be enabled at boot-time with
3162306a36Sopenharmony_ci	  the pnp.debug kernel parameter.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ci	  This option allows you to save a bit of space if you do not want
3462306a36Sopenharmony_ci	  the messages to even be built into the kernel.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci	  If you have any doubts about this, say Y here.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciif PNP
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_cicomment "Protocols"
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_cisource "drivers/pnp/isapnp/Kconfig"
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_cisource "drivers/pnp/pnpbios/Kconfig"
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_cisource "drivers/pnp/pnpacpi/Kconfig"
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciendif # PNP
49