Use pc98/pc98/pc98.h instead of isa/isareg.h in PC98 kernel.

Submitted by:	Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
This commit is contained in:
KATO Takenori 1999-04-18 14:27:33 +00:00
parent e2117e478b
commit 5fad759c59

View File

@ -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");