diff options
| author | Doug Rabson <dfr@FreeBSD.org> | 1999-09-01 20:53:43 +0000 |
|---|---|---|
| committer | Doug Rabson <dfr@FreeBSD.org> | 1999-09-01 20:53:43 +0000 |
| commit | 4249382df0511b51db40ad807c99c41f488778ed (patch) | |
| tree | 7d046520bd727bb9d34c88bead403c9bf7be0738 /sys/isa/isa_common.h | |
| parent | 5d3e37130b5b95d0320701f18a82e42885942446 (diff) | |
Notes
Diffstat (limited to 'sys/isa/isa_common.h')
| -rw-r--r-- | sys/isa/isa_common.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sys/isa/isa_common.h b/sys/isa/isa_common.h index c63f1efac862..4a104fe004a7 100644 --- a/sys/isa/isa_common.h +++ b/sys/isa/isa_common.h @@ -36,6 +36,16 @@ MALLOC_DECLARE(M_ISADEV); /* + * PNP configurations are kept in a tailq. + */ +TAILQ_HEAD(isa_config_list, isa_config_entry); +struct isa_config_entry { + TAILQ_ENTRY(isa_config_entry) ice_link; + int ice_priority; + struct isa_config ice_config; +}; + +/* * The structure used to attach devices to the isa bus. */ struct isa_device { @@ -45,6 +55,9 @@ struct isa_device { u_int32_t id_serial; /* pnp serial */ u_int32_t id_logicalid; /* pnp logical device id */ u_int32_t id_compatid; /* pnp compat device id */ + struct isa_config_list id_configs; /* pnp config alternatives */ + isa_config_cb *id_config_cb; /* callback function */ + void *id_config_arg; /* callback argument */ }; #define DEVTOISA(dev) ((struct isa_device *) device_get_ivars(dev)) |
