blob: 7da992b70945741ab5368e8d0fb538c5122bbed2 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Plug and Play BIOS configuration
4#
5config PNPBIOS
Kees Cook35de87d2013-01-18 13:57:39 +01006 bool "Plug and Play BIOS support"
William Breathitt Gray0619f392016-05-01 11:46:17 -04007 depends on ISA && X86_32
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 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