diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-25 08:36:43 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-25 08:36:43 +0000 |
commit | 35f9002a2769cc177b5332b709c68b1ec7edb0be (patch) | |
tree | 2acfc564796565ccb12ab1805b5becfa2585cd72 /sys/arch/i386/include | |
parent | aa426ab49f532c63da9554f1314e8fcef66b3467 (diff) |
do blk<-->chr dev_t conversions through the sysctl
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/cpu.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h index 778909acff2..f1b083cb83c 100644 --- a/sys/arch/i386/include/cpu.h +++ b/sys/arch/i386/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.15 1997/09/27 06:31:32 mickey Exp $ */ +/* $OpenBSD: cpu.h,v 1.16 1997/10/25 08:36:42 mickey Exp $ */ /* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */ /*- @@ -208,12 +208,16 @@ void setconf __P((void)); */ #define CPU_CONSDEV 1 /* dev_t: console terminal device */ #define CPU_BIOS 2 /* BIOS variables */ -#define CPU_MAXID 3 /* number of valid machdep ids */ +#define CPU_BLK2CHR 3 /* convert blk maj into chr one */ +#define CPU_CHR2BLK 4 /* convert chr maj into blk one */ +#define CPU_MAXID 5 /* number of valid machdep ids */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ { "console_device", CTLTYPE_STRUCT }, \ { "bios", CTLTYPE_INT }, \ + { "blk2chr", CTLTYPE_INT }, \ + { "chr2blk", CTLTYPE_INT }, \ } #endif /* !_I386_CPU_H_ */ |