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.c | |
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.c')
-rw-r--r-- | sys/isa/isa_common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c index 6d87b7a..22677e3 100644 --- a/sys/isa/isa_common.c +++ b/sys/isa/isa_common.c @@ -748,6 +748,10 @@ isa_read_ivar(device_t bus, device_t dev, int index, uintptr_t * result) *result = idev->id_compatid; break; + case ISA_IVAR_CONFIGATTR: + *result = idev->id_config_attr; + break; + default: return ENOENT; } @@ -792,6 +796,10 @@ isa_write_ivar(device_t bus, device_t dev, idev->id_compatid = value; break; + case ISA_IVAR_CONFIGATTR: + idev->id_config_attr = value; + break; + default: return (ENOENT); } |