From: mickey Date: Thu, 17 Apr 1997 21:15:47 +0000 (+0000) Subject: more equipment bits! X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=69c4ee0984526a4f3ccfd14b16672332f0394b55;p=openbsd more equipment bits! --- 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 */