summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-17 21:15:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-17 21:15:48 +0000
commita0419cfbee99091a377cea5f7e40714f3dbbaca1 (patch)
tree1870aa263907021082143fb6273507f839506be6 /sys
parentfcac9fa6900f675aa80424b680c5dc9ad698bde6 (diff)
more equipment bits!
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/nvram.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/nvram.h b/sys/arch/i386/isa/nvram.h
index 70addb755d9..a529f9e1d85 100644
--- a/sys/arch/i386/isa/nvram.h
+++ b/sys/arch/i386/isa/nvram.h
@@ -68,11 +68,16 @@
/* NVRAM byte 6: equipment type */
#define NVRAM_EQUIPMENT (MC_NVRAM_START + 6)
+#define NVRAM_EQUIPMENT_FLOPPY 0x01 /* floppy installed */
+#define NVRAM_EQUIPMENT_FPU 0x02 /* FPU installed */
+#define NVRAM_EQUIPMENT_KBD 0x04 /* keyboard installed */
+#define NVRAM_EQUIPMENT_DISPLAY 0x08 /* display installed */
#define NVRAM_EQUIPMENT_EGAVGA 0x00 /* EGA or VGA */
#define NVRAM_EQUIPMENT_COLOR40 0x10 /* 40 column color */
#define NVRAM_EQUIPMENT_COLOR80 0x20 /* 80 column color */
#define NVRAM_EQUIPMENT_MONO80 0x30 /* 80 column mono */
#define NVRAM_EQUIPMENT_MONITOR 0x30 /* mask for monitor type */
+#define MVRAM_EQUIPMENT_NFDS 0xC0 /* mask for # of floppies */
/* NVRAM bytes 7 & 8: base memory size */
#define NVRAM_BASELO (MC_NVRAM_START + 7) /* low byte; RTC off. 0x15 */