From 626fd7d8d83dbc29c893b95b394fccf861dbfef6 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 14 Dec 2002 16:11:28 +0000 Subject: [PATCH] Only dump the BIOS geometry table from bootinfo on PC98, we don't use the contents on i386 anymore. --- sys/amd64/amd64/autoconf.c | 6 +++++- sys/i386/i386/autoconf.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index ba899a23a8cc..4f683e4e7b5e 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/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"); } diff --git a/sys/i386/i386/autoconf.c b/sys/i386/i386/autoconf.c index ba899a23a8cc..4f683e4e7b5e 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"); }