xref: /openbmc/linux/drivers/pnp/pnpbios/Kconfig (revision a7f7f624)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Plug and Play BIOS configuration
41da177e4SLinus Torvalds#
51da177e4SLinus Torvaldsconfig PNPBIOS
635de87deSKees Cook	bool "Plug and Play BIOS support"
70619f394SWilliam Breathitt Gray	depends on ISA && X86_32
81da177e4SLinus Torvalds	default n
9a7f7f624SMasahiro Yamada	help
101da177e4SLinus Torvalds	  Linux uses the PNPBIOS as defined in "Plug and Play BIOS
111da177e4SLinus Torvalds	  Specification Version 1.0A May 5, 1994" to autodetect built-in
121da177e4SLinus Torvalds	  mainboard resources (e.g. parallel port resources).
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  Some features (e.g. event notification, docking station information,
151da177e4SLinus Torvalds	  ISAPNP services) are not currently implemented.
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds	  If you would like the kernel to detect and allocate resources to
181da177e4SLinus Torvalds	  your mainboard devices (on some systems they are disabled by the
191da177e4SLinus Torvalds	  BIOS) say Y here.  Also the PNPBIOS can help prevent resource
201da177e4SLinus Torvalds	  conflicts between mainboard devices and other bus devices.
211da177e4SLinus Torvalds
221da177e4SLinus Torvalds	  Note: ACPI is expected to supersede PNPBIOS some day, currently it
231da177e4SLinus Torvalds	  co-exists nicely.  If you have a non-ISA system that supports ACPI,
241da177e4SLinus Torvalds	  you probably don't need PNPBIOS support.
251da177e4SLinus Torvalds
261da177e4SLinus Torvaldsconfig PNPBIOS_PROC_FS
271da177e4SLinus Torvalds	bool "Plug and Play BIOS /proc interface"
281da177e4SLinus Torvalds	depends on PNPBIOS && PROC_FS
29a7f7f624SMasahiro Yamada	help
301da177e4SLinus Torvalds	  If you say Y here and to "/proc file system support", you will be
311da177e4SLinus Torvalds	  able to directly access the PNPBIOS.  This includes resource
321da177e4SLinus Torvalds	  allocation, ESCD, and other PNPBIOS services.  Using this
331da177e4SLinus Torvalds	  interface is potentially dangerous because the PNPBIOS driver will
341da177e4SLinus Torvalds	  not be notified of any resource changes made by writing directly.
351da177e4SLinus Torvalds	  Also some buggy systems will fault when accessing certain features
361da177e4SLinus Torvalds	  in the PNPBIOS /proc interface (e.g. "boot" configs).
371da177e4SLinus Torvalds
381da177e4SLinus Torvalds	  See the latest pcmcia-cs (stand-alone package) for a nice set of
391da177e4SLinus Torvalds	  PNPBIOS /proc interface tools (lspnp and setpnp).
401da177e4SLinus Torvalds
411da177e4SLinus Torvalds	  Unless you are debugging or have other specific reasons, it is
421da177e4SLinus Torvalds	  recommended that you say N here.
431da177e4SLinus Torvalds
44