more equipment bits!
authormickey <mickey@openbsd.org>
Thu, 17 Apr 1997 21:15:47 +0000 (21:15 +0000)
committermickey <mickey@openbsd.org>
Thu, 17 Apr 1997 21:15:47 +0000 (21:15 +0000)
sys/arch/i386/isa/nvram.h

index 70addb7..a529f9e 100644 (file)
 /* 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 */