summaryrefslogtreecommitdiffstats
path: root/sys/isa/isavar.h
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>2001-09-05 03:54:33 +0000
committeryokota <yokota@FreeBSD.org>2001-09-05 03:54:33 +0000
commitfb9afad90ef704606abdfb01a279a685bd8483b7 (patch)
treed38fcd9f070b41f11a15c00daf65269c937a5a90 /sys/isa/isavar.h
parent72b8fa9d630b906a60463c3dd1d89e435769debe (diff)
downloadFreeBSD-src-fb9afad90ef704606abdfb01a279a685bd8483b7.zip
FreeBSD-src-fb9afad90ef704606abdfb01a279a685bd8483b7.tar.gz
Rework the ISA PnP driver pnp and the PnP resource parser to fix
the following bugs. - When constructing a resource configuration, respect the order in which resource descriptors are read, in order to establish the correct mapping between the descriptors and configuration registers. "Plug and Play ISA Specification, Version 1.0a", Sec 4.6.1, May 5, 1994. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1, Dec. 10, 1994. - Do not ignore null (empty) descriptors; they are valid descriptors acting as filler. "Clarifications to the Plug and Play ISA Specification, Version 1.0a", Sec 6.2.1. - Correctly set up logical device configuration registers for null resources. "Clarifications to the Plug and Play ISA Specification, Version 1.0a" - Handle null resources properly in the resource allocator for the ISA bus.
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r--sys/isa/isavar.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h
index d81685c..fa27c3c 100644
--- a/sys/isa/isavar.h
+++ b/sys/isa/isavar.h
@@ -128,6 +128,13 @@ enum isa_device_ivars {
};
/*
+ * ISA_IVAR_CONFIGATTR bits
+ */
+#define ISACFGATTR_CANDISABLE (1 << 0) /* can be disabled */
+#define ISACFGATTR_DYNAMIC (1 << 1) /* dynamic configuration */
+#define ISACFGATTR_MULTI (1 << 2) /* multiple configurations */
+
+/*
* Simplified accessors for isa devices
*/
#define ISA_ACCESSOR(A, B, T) \
OpenPOWER on IntegriCloud