summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-12-14 16:11:28 +0000
committerphk <phk@FreeBSD.org>2002-12-14 16:11:28 +0000
commit626fd7d8d83dbc29c893b95b394fccf861dbfef6 (patch)
treeb811284e79531c241dbabf18bf0b15f3027cd94d /sys/i386
parentf5e52774c53a2087e888ecfb35f9ad654c62b964 (diff)
downloadFreeBSD-src-626fd7d8d83dbc29c893b95b394fccf861dbfef6.zip
FreeBSD-src-626fd7d8d83dbc29c893b95b394fccf861dbfef6.tar.gz
Only dump the BIOS geometry table from bootinfo on PC98, we don't use
the contents on i386 anymore.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/autoconf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c
index ba899a2..4f683e4 100644
--- a/sys/i386/i386/autoconf.c
+++ b/sys/i386/i386/autoconf.c
@@ -163,7 +163,6 @@ static void
configure_final(dummy)
void *dummy;
{
- int i;
cninit_finish();
@@ -173,6 +172,9 @@ configure_final(dummy)
imen_dump();
#endif /* APIC_IO */
+#ifdef PC98
+ {
+ int i;
/*
* Print out the BIOS's idea of the disk geometries.
*/
@@ -202,6 +204,8 @@ configure_final(dummy)
max_sector, max_sector);
}
printf(" %d accounted for\n", bootinfo.bi_n_bios_used);
+ }
+#endif
printf("Device configuration finished.\n");
}
OpenPOWER on IntegriCloud