summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */