From b349f963f3d411b3eccca3e5fd32d2effae2df23 Mon Sep 17 00:00:00 2001 From: yokota Date: Mon, 3 Sep 2001 09:45:41 +0000 Subject: 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. --- sys/isa/isa_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/isa/isa_common.h') 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)) -- cgit v1.1