From 05d726664c52246a4923cd71e88dfc39c80bfbe8 Mon Sep 17 00:00:00 2001 From: nyan Date: Fri, 1 Oct 2004 15:57:23 +0000 Subject: [PATCH] Fix BIOS default geometry on pc98. PR: kern/72225 Submitted by: Hirokazu WATANABE --- sys/i386/i386/autoconf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index c4eca30d918e..fb9d473deb30 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);