diff options
author | dfr <dfr@FreeBSD.org> | 1999-05-28 09:25:16 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1999-05-28 09:25:16 +0000 |
commit | c10ae458eb1914a695353000a7bfde6666cf2a0d (patch) | |
tree | 24cf7146aaf68067486496ae06716cedf2177505 /sys/isa/isavar.h | |
parent | 0e927447e35265ab29fea7db0f0f455451b0a7b2 (diff) | |
download | FreeBSD-src-c10ae458eb1914a695353000a7bfde6666cf2a0d.zip FreeBSD-src-c10ae458eb1914a695353000a7bfde6666cf2a0d.tar.gz |
* Change device_add_child_after() to device_add_child_ordered() which is
easier to use and more flexible.
* Change BUS_ADD_CHILD to take an order argument instead of a place.
* Define a partial ordering for isa devices so that sensitive devices are
probed before non-sensitive ones.
Diffstat (limited to 'sys/isa/isavar.h')
-rw-r--r-- | sys/isa/isavar.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/isa/isavar.h b/sys/isa/isavar.h index b8a3a9d..7f39773 100644 --- a/sys/isa/isavar.h +++ b/sys/isa/isavar.h @@ -23,11 +23,22 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: isavar.h,v 1.6 1999/05/14 11:22:35 dfr Exp $ + * $Id: isavar.h,v 1.7 1999/05/22 15:18:28 dfr Exp $ */ #include "isa_if.h" +/* + * ISA devices are partially ordered to ensure that devices which are + * sensitive to other driver probe routines are probed first. Plug and + * Play devices are added after devices with speculative probes so that + * the legacy hardware can claim resources allowing the Plug and Play + * hardware to choose different resources. + */ +#define ISA_ORDER_SENSITIVE 0 /* legacy sensitive hardware */ +#define ISA_ORDER_SPECULATIVE 1 /* legacy non-sensitive hardware */ +#define ISA_ORDER_PNP 2 /* plug-and-play hardware */ + #define ISA_NPORT_IVARS 2 #define ISA_NMEM_IVARS 2 #define ISA_NIRQ_IVARS 2 |