diff options
author | phk <phk@FreeBSD.org> | 2000-09-11 17:15:27 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-09-11 17:15:27 +0000 |
commit | ae910d41707d16b4e9dfdd62fea7b8ef80a0b4c8 (patch) | |
tree | 6e4a58938746aff085a9f7f102697b5a5f82f905 /sys | |
parent | 8d46012c8ef6fa5fdd406f11ad3676931be84d6a (diff) | |
download | FreeBSD-src-ae910d41707d16b4e9dfdd62fea7b8ef80a0b4c8.zip FreeBSD-src-ae910d41707d16b4e9dfdd62fea7b8ef80a0b4c8.tar.gz |
Prevent multiple make_dev() calls on the same dev_t and similar bogosities.
A couple of new warnings may be emitted during boot if drivers DTWT.
Tested by: George Cox <gjvc@gjvc.com>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/conf.h | 1 | ||||
-rw-r--r-- | sys/sys/linedisc.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 28fbf03..129066b 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -57,6 +57,7 @@ struct specinfo { u_int si_flags; #define SI_STASHED 0x0001 /* created in stashed storage */ #define SI_ALIAS 0x0002 /* carrier of alias name */ +#define SI_NAMED 0x0004 /* make_dev{_alias} has been called */ struct timespec si_atime; struct timespec si_ctime; struct timespec si_mtime; diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index 28fbf03..129066b 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -57,6 +57,7 @@ struct specinfo { u_int si_flags; #define SI_STASHED 0x0001 /* created in stashed storage */ #define SI_ALIAS 0x0002 /* carrier of alias name */ +#define SI_NAMED 0x0004 /* make_dev{_alias} has been called */ struct timespec si_atime; struct timespec si_ctime; struct timespec si_mtime; |