summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-04-18 14:27:33 +0000
committerkato <kato@FreeBSD.org>1999-04-18 14:27:33 +0000
commit4dc249e48efff17b891e85a3827e91412d90e189 (patch)
tree15bb4a6437415fa08feb32e27695abf06b88cf8b
parent44d8b46bffdf200f461a755132ca00af9bb7608d (diff)
downloadFreeBSD-src-4dc249e48efff17b891e85a3827e91412d90e189.zip
FreeBSD-src-4dc249e48efff17b891e85a3827e91412d90e189.tar.gz
Use pc98/pc98/pc98.h instead of isa/isareg.h in PC98 kernel.
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
-rw-r--r--usr.sbin/config/mkioconf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 535a7eb..7b7504e 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)mkioconf.c 8.2 (Berkeley) 1/21/94";
#endif
static const char rcsid[] =
- "$Id: mkioconf.c,v 1.50 1999/04/17 14:41:40 peter Exp $";
+ "$Id: mkioconf.c,v 1.51 1999/04/18 13:36:29 peter Exp $";
#endif /* not lint */
#include <err.h>
@@ -190,7 +190,10 @@ newbus_ioconf()
fprintf(fp, "\n");
fprintf(fp, "#include <sys/queue.h>\n");
fprintf(fp, "#include <sys/sysctl.h>\n");
- fprintf(fp, "#include <isa/isareg.h>\n");
+ if (machine == MACHINE_I386)
+ fprintf(fp, "#include <isa/isareg.h>\n");
+ else
+ fprintf(fp, "#include <pc98/pc98/pc98.h>\n");
fprintf(fp, "#include <sys/bus_private.h>\n");
fprintf(fp, "\n");
OpenPOWER on IntegriCloud