diff options
author | mdodd <mdodd@FreeBSD.org> | 2004-08-31 21:51:51 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2004-08-31 21:51:51 +0000 |
commit | cd74e3ee9d9932437a810c13fbbc9c942deae484 (patch) | |
tree | c0f173b8d8929bc19b2620d6c0a8e52a3c7e1dd7 /sys/i386/bios/mca_machdep.c | |
parent | d8deb0d121da0d84add30ea7ae0039943756b0bc (diff) | |
download | FreeBSD-src-cd74e3ee9d9932437a810c13fbbc9c942deae484.zip FreeBSD-src-cd74e3ee9d9932437a810c13fbbc9c942deae484.tar.gz |
Clarify SDT feature word bits.
Obtained from: NetBSD
Diffstat (limited to 'sys/i386/bios/mca_machdep.c')
-rw-r--r-- | sys/i386/bios/mca_machdep.c | 9 |
1 files changed, 5 insertions, 4 deletions
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); |