xref: /linux/drivers/pnp/Kconfig (revision a7f7f6248d9740d710fd6bd190293fe5e16410ac)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Plug and Play configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
65c493f5cSJan Engelhardtmenuconfig PNP
71da177e4SLinus Torvalds	bool "Plug and Play support"
85c493f5cSJan Engelhardt	depends on HAS_IOMEM
976f58584SLen Brown	depends on ISA || ACPI
10*a7f7f624SMasahiro Yamada	help
111da177e4SLinus Torvalds	  Plug and Play (PnP) is a standard for peripherals which allows those
121da177e4SLinus Torvalds	  peripherals to be configured by software, e.g. assign IRQ's or other
131da177e4SLinus Torvalds	  parameters. No jumpers on the cards are needed, instead the values
141da177e4SLinus Torvalds	  are provided to the cards from the BIOS, from the operating system,
151da177e4SLinus Torvalds	  or using a user-space utility.
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds	  Say Y here if you would like Linux to configure your Plug and Play
181da177e4SLinus Torvalds	  devices. You should then also say Y to all of the protocols below.
191da177e4SLinus Torvalds	  Alternatively, you can say N here and configure your PnP devices
201da177e4SLinus Torvalds	  using user space utilities such as the isapnptools package.
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  If unsure, say Y.
231da177e4SLinus Torvalds
2497ef062bSBjorn Helgaasconfig PNP_DEBUG_MESSAGES
2597ef062bSBjorn Helgaas	default y
2697ef062bSBjorn Helgaas	bool "PNP debugging messages"
2797ef062bSBjorn Helgaas	depends on PNP
2897ef062bSBjorn Helgaas	help
2997ef062bSBjorn Helgaas	  Say Y here if you want the PNP layer to be able to produce debugging
3097ef062bSBjorn Helgaas	  messages if needed.  The messages can be enabled at boot-time with
3197ef062bSBjorn Helgaas	  the pnp.debug kernel parameter.
3297ef062bSBjorn Helgaas
3397ef062bSBjorn Helgaas	  This option allows you to save a bit of space if you do not want
3497ef062bSBjorn Helgaas	  the messages to even be built into the kernel.
3597ef062bSBjorn Helgaas
3697ef062bSBjorn Helgaas	  If you have any doubts about this, say Y here.
3797ef062bSBjorn Helgaas
385c493f5cSJan Engelhardtif PNP
395c493f5cSJan Engelhardt
401da177e4SLinus Torvaldscomment "Protocols"
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldssource "drivers/pnp/isapnp/Kconfig"
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldssource "drivers/pnp/pnpbios/Kconfig"
451da177e4SLinus Torvalds
461da177e4SLinus Torvaldssource "drivers/pnp/pnpacpi/Kconfig"
471da177e4SLinus Torvalds
485c493f5cSJan Engelhardtendif # PNP
49