xref: /openbmc/linux/drivers/pnp/pnpbios/Kconfig (revision 63705da3)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Plug and Play BIOS configuration
4#
5config PNPBIOS
6	bool "Plug and Play BIOS support"
7	depends on ISA && X86_32
8	default n
9	help
10	  Linux uses the PNPBIOS as defined in "Plug and Play BIOS
11	  Specification Version 1.0A May 5, 1994" to autodetect built-in
12	  mainboard resources (e.g. parallel port resources).
13
14	  Some features (e.g. event notification, docking station information,
15	  ISAPNP services) are not currently implemented.
16
17	  If you would like the kernel to detect and allocate resources to
18	  your mainboard devices (on some systems they are disabled by the
19	  BIOS) say Y here.  Also the PNPBIOS can help prevent resource
20	  conflicts between mainboard devices and other bus devices.
21
22	  Note: ACPI is expected to supersede PNPBIOS some day, currently it
23	  co-exists nicely.  If you have a non-ISA system that supports ACPI,
24	  you probably don't need PNPBIOS support.
25
26config PNPBIOS_PROC_FS
27	bool "Plug and Play BIOS /proc interface"
28	depends on PNPBIOS && PROC_FS
29	help
30	  If you say Y here and to "/proc file system support", you will be
31	  able to directly access the PNPBIOS.  This includes resource
32	  allocation, ESCD, and other PNPBIOS services.  Using this
33	  interface is potentially dangerous because the PNPBIOS driver will
34	  not be notified of any resource changes made by writing directly.
35	  Also some buggy systems will fault when accessing certain features
36	  in the PNPBIOS /proc interface (e.g. "boot" configs).
37
38	  See the latest pcmcia-cs (stand-alone package) for a nice set of
39	  PNPBIOS /proc interface tools (lspnp and setpnp).
40
41	  Unless you are debugging or have other specific reasons, it is
42	  recommended that you say N here.
43
44