From fb9afad90ef704606abdfb01a279a685bd8483b7 Mon Sep 17 00:00:00 2001 From: yokota Date: Wed, 5 Sep 2001 03:54:33 +0000 Subject: 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. --- sys/isa/isa_common.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/isa/isa_common.h') diff --git a/sys/isa/isa_common.h b/sys/isa/isa_common.h index b940d14..a2f39f8 100644 --- a/sys/isa/isa_common.h +++ b/sys/isa/isa_common.h @@ -58,8 +58,6 @@ struct isa_device { isa_config_cb *id_config_cb; /* callback function */ void *id_config_arg; /* callback argument */ int id_config_attr; /* pnp config attributes */ -#define ISACFGATTR_CANDISABLE (1 << 0) /* can be disabled */ -#define ISACFGATTR_DYNAMIC (1 << 1) /* dynamic configuration */ }; #define DEVTOISA(dev) ((struct isa_device *) device_get_ivars(dev)) -- cgit v1.1