18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Plug and Play BIOS configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PNPBIOS
68c2ecf20Sopenharmony_ci	bool "Plug and Play BIOS support"
78c2ecf20Sopenharmony_ci	depends on ISA && X86_32
88c2ecf20Sopenharmony_ci	default n
98c2ecf20Sopenharmony_ci	help
108c2ecf20Sopenharmony_ci	  Linux uses the PNPBIOS as defined in "Plug and Play BIOS
118c2ecf20Sopenharmony_ci	  Specification Version 1.0A May 5, 1994" to autodetect built-in
128c2ecf20Sopenharmony_ci	  mainboard resources (e.g. parallel port resources).
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci	  Some features (e.g. event notification, docking station information,
158c2ecf20Sopenharmony_ci	  ISAPNP services) are not currently implemented.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci	  If you would like the kernel to detect and allocate resources to
188c2ecf20Sopenharmony_ci	  your mainboard devices (on some systems they are disabled by the
198c2ecf20Sopenharmony_ci	  BIOS) say Y here.  Also the PNPBIOS can help prevent resource
208c2ecf20Sopenharmony_ci	  conflicts between mainboard devices and other bus devices.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci	  Note: ACPI is expected to supersede PNPBIOS some day, currently it
238c2ecf20Sopenharmony_ci	  co-exists nicely.  If you have a non-ISA system that supports ACPI,
248c2ecf20Sopenharmony_ci	  you probably don't need PNPBIOS support.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ciconfig PNPBIOS_PROC_FS
278c2ecf20Sopenharmony_ci	bool "Plug and Play BIOS /proc interface"
288c2ecf20Sopenharmony_ci	depends on PNPBIOS && PROC_FS
298c2ecf20Sopenharmony_ci	help
308c2ecf20Sopenharmony_ci	  If you say Y here and to "/proc file system support", you will be
318c2ecf20Sopenharmony_ci	  able to directly access the PNPBIOS.  This includes resource
328c2ecf20Sopenharmony_ci	  allocation, ESCD, and other PNPBIOS services.  Using this
338c2ecf20Sopenharmony_ci	  interface is potentially dangerous because the PNPBIOS driver will
348c2ecf20Sopenharmony_ci	  not be notified of any resource changes made by writing directly.
358c2ecf20Sopenharmony_ci	  Also some buggy systems will fault when accessing certain features
368c2ecf20Sopenharmony_ci	  in the PNPBIOS /proc interface (e.g. "boot" configs).
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ci	  See the latest pcmcia-cs (stand-alone package) for a nice set of
398c2ecf20Sopenharmony_ci	  PNPBIOS /proc interface tools (lspnp and setpnp).
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	  Unless you are debugging or have other specific reasons, it is
428c2ecf20Sopenharmony_ci	  recommended that you say N here.
438c2ecf20Sopenharmony_ci
44