diff options
author | phk <phk@FreeBSD.org> | 2002-04-19 09:19:37 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-19 09:19:37 +0000 |
commit | 58f8fbf9433f23fd7ae5c28981688a4a9dbb3b75 (patch) | |
tree | 3aed172c940b37dd3fe3be0f10cc6c1fde2584f6 | |
parent | a11469e541c8d2d9d68fc8df8d22cfb7b3df885c (diff) | |
download | FreeBSD-src-58f8fbf9433f23fd7ae5c28981688a4a9dbb3b75.zip FreeBSD-src-58f8fbf9433f23fd7ae5c28981688a4a9dbb3b75.tar.gz |
Add a SI_DUMPDEV flag for devices.
Sponsored by: DARPA & NAI Labs.
-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 fc3b586..b33a169 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -62,6 +62,7 @@ struct specinfo { #define SI_CHILD 0x0010 /* child of another dev_t */ #define SI_DEVOPEN 0x0020 /* opened by device */ #define SI_CONSOPEN 0x0040 /* opened by console */ +#define SI_DUMPDEV 0x0080 /* is kernel dumpdev */ 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 fc3b586..b33a169 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -62,6 +62,7 @@ struct specinfo { #define SI_CHILD 0x0010 /* child of another dev_t */ #define SI_DEVOPEN 0x0020 /* opened by device */ #define SI_CONSOPEN 0x0040 /* opened by console */ +#define SI_DUMPDEV 0x0080 /* is kernel dumpdev */ struct timespec si_atime; struct timespec si_ctime; struct timespec si_mtime; |