From cd74e3ee9d9932437a810c13fbbc9c942deae484 Mon Sep 17 00:00:00 2001 From: mdodd Date: Tue, 31 Aug 2004 21:51:51 +0000 Subject: Clarify SDT feature word bits. Obtained from: NetBSD --- sys/i386/bios/mca_machdep.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sys/i386/bios/mca_machdep.c') diff --git a/sys/i386/bios/mca_machdep.c b/sys/i386/bios/mca_machdep.c index 0938d11..4b78c13 100644 --- a/sys/i386/bios/mca_machdep.c +++ b/sys/i386/bios/mca_machdep.c @@ -52,7 +52,7 @@ struct sys_config { u_int8_t submodel; u_int8_t bios_rev; u_int8_t feature; -#define FEATURE_RESV 0x01 /* Reserved */ +#define FEATURE_MCAISA 0x01 /* Machine contains both MCA and ISA bus*/ #define FEATURE_MCABUS 0x02 /* MicroChannel Architecture */ #define FEATURE_EBDA 0x04 /* Extended BIOS data area allocated */ #define FEATURE_WAITEV 0x08 /* Wait for external event is supported */ @@ -103,14 +103,15 @@ bios_mcabus_present(void * dummy) scp->model, scp->submodel, scp->bios_rev); printf("BIOS SDT: features 0x%b\n", scp->feature, "\20" - "\01RESV" - "\02MCABUS" + "\01MCA+ISA" + "\02MCA" "\03EBDA" "\04WAITEV" "\05KBDINT" "\06RTC" "\07IC2" - "\08DMA3\n"); + "\08DMA3" + "\n"); } MCA_system = ((scp->feature & FEATURE_MCABUS) ? 1 : 0); -- cgit v1.1