diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-11 02:21:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-11 02:21:34 +0000 |
commit | 7499b6c1c74057921b76cf9fb0fe8ba4285d2700 (patch) | |
tree | 5160a07833c3df52e648656e0b0b49b7d30e64d4 /usr.sbin/config/config.h | |
parent | f622ff4fe55ed84e844559b7ab7ef749ee83a214 (diff) | |
download | FreeBSD-src-7499b6c1c74057921b76cf9fb0fe8ba4285d2700.zip FreeBSD-src-7499b6c1c74057921b76cf9fb0fe8ba4285d2700.tar.gz |
Add a new `conflicts' flag for telling when a device is in conflict with
others. The flag can be put in descriptive locations, e.g.:
device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
or
device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
But is nonetheless boolean only. You can't turn conflict checking off for
only a given type of conflict. I didn't deem it worth the trouble at this
stage, and it's far better than the ALLOW_CONFLICT_* that preceeded it.
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r-- | usr.sbin/config/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h index 15adc3a..d6efbf7 100644 --- a/usr.sbin/config/config.h +++ b/usr.sbin/config/config.h @@ -121,6 +121,7 @@ struct device { #define UNKNOWN -2 /* -2 means not set yet */ int d_dk; /* if init 1 set to number for iostat */ int d_flags; /* flags for device init */ + int d_conflicts; /* I'm allowed to conflict */ char *d_port; /* io port base manifest constant */ int d_portn; /* io port base (if number not manifest) */ char *d_mask; /* interrupt mask */ |