diff options
author | yokota <yokota@FreeBSD.org> | 2001-09-03 09:45:41 +0000 |
---|---|---|
committer | yokota <yokota@FreeBSD.org> | 2001-09-03 09:45:41 +0000 |
commit | b349f963f3d411b3eccca3e5fd32d2effae2df23 (patch) | |
tree | e5bb04e5f99d15e7a897d0be0532b4c293949903 /sys/isa/isa_common.h | |
parent | 66f042086196b8865a9ff402202a9b6c93ab3216 (diff) | |
download | FreeBSD-src-b349f963f3d411b3eccca3e5fd32d2effae2df23.zip FreeBSD-src-b349f963f3d411b3eccca3e5fd32d2effae2df23.tar.gz |
Add a new field, id_config_attr to the struct isa_device.
It will be later used to store some flags to control PnP device
configurations.
Diffstat (limited to 'sys/isa/isa_common.h')
-rw-r--r-- | sys/isa/isa_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/isa/isa_common.h b/sys/isa/isa_common.h index 70b8b33..b940d14 100644 --- a/sys/isa/isa_common.h +++ b/sys/isa/isa_common.h @@ -57,6 +57,9 @@ struct isa_device { struct isa_config_list id_configs; /* pnp config alternatives */ 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)) |