summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-10-01 15:57:23 +0000
committernyan <nyan@FreeBSD.org>2004-10-01 15:57:23 +0000
commit05d726664c52246a4923cd71e88dfc39c80bfbe8 (patch)
treeff0b971dae93d95480a34915733bc8614aa840fd /sys
parent911789fdaa25947d9bc432932eb4c2fa3af887a9 (diff)
downloadFreeBSD-src-05d726664c52246a4923cd71e88dfc39c80bfbe8.zip
FreeBSD-src-05d726664c52246a4923cd71e88dfc39c80bfbe8.tar.gz
Fix BIOS default geometry on pc98.
PR: kern/72225 Submitted by: Hirokazu WATANABE <wnabe@par.odn.ne.jp>
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/autoconf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index c4eca30..fb9d473 100644
--- a/sys/i386/i386/autoconf.c
+++ b/sys/i386/i386/autoconf.c
@@ -147,7 +147,11 @@ configure_final(dummy)
* when the get-disk-geometry interrupt fails. Skip
* drives that have this geometry.
*/
+#ifdef PC98
+ if (bios_geom == 0x4f020f)
+#else
if (bios_geom == 0x4f010f)
+#endif
continue;
printf(" %x:%08lx ", i, bios_geom);
OpenPOWER on IntegriCloud