xref: /OK3568_Linux_fs/kernel/drivers/pnp/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Plug and Play configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenuconfig PNP
7*4882a593Smuzhiyun	bool "Plug and Play support"
8*4882a593Smuzhiyun	depends on HAS_IOMEM
9*4882a593Smuzhiyun	depends on ISA || ACPI
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  Plug and Play (PnP) is a standard for peripherals which allows those
12*4882a593Smuzhiyun	  peripherals to be configured by software, e.g. assign IRQ's or other
13*4882a593Smuzhiyun	  parameters. No jumpers on the cards are needed, instead the values
14*4882a593Smuzhiyun	  are provided to the cards from the BIOS, from the operating system,
15*4882a593Smuzhiyun	  or using a user-space utility.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  Say Y here if you would like Linux to configure your Plug and Play
18*4882a593Smuzhiyun	  devices. You should then also say Y to all of the protocols below.
19*4882a593Smuzhiyun	  Alternatively, you can say N here and configure your PnP devices
20*4882a593Smuzhiyun	  using user space utilities such as the isapnptools package.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  If unsure, say Y.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig PNP_DEBUG_MESSAGES
25*4882a593Smuzhiyun	default y
26*4882a593Smuzhiyun	bool "PNP debugging messages"
27*4882a593Smuzhiyun	depends on PNP
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  Say Y here if you want the PNP layer to be able to produce debugging
30*4882a593Smuzhiyun	  messages if needed.  The messages can be enabled at boot-time with
31*4882a593Smuzhiyun	  the pnp.debug kernel parameter.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun	  This option allows you to save a bit of space if you do not want
34*4882a593Smuzhiyun	  the messages to even be built into the kernel.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	  If you have any doubts about this, say Y here.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunif PNP
39*4882a593Smuzhiyun
40*4882a593Smuzhiyuncomment "Protocols"
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunsource "drivers/pnp/isapnp/Kconfig"
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunsource "drivers/pnp/pnpbios/Kconfig"
45*4882a593Smuzhiyun
46*4882a593Smuzhiyunsource "drivers/pnp/pnpacpi/Kconfig"
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunendif # PNP
49