summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-04-19 14:40:55 +0000
committerpeter <peter@FreeBSD.org>1999-04-19 14:40:55 +0000
commit5c24a7a265b8c25203c6edef94336326deb209db (patch)
treecb1b673c2a327020abeb097f190adb4df0198f22 /usr.sbin/config
parent510021a26845766bd36c71844303e28bb50a349b (diff)
downloadFreeBSD-src-5c24a7a265b8c25203c6edef94336326deb209db.zip
FreeBSD-src-5c24a7a265b8c25203c6edef94336326deb209db.tar.gz
The Alpha probably wouldn't appreciate getting the pc98 isa port
definitions. Change it from machine != I386 to machine == PC98.
Diffstat (limited to 'usr.sbin/config')
-rw-r--r--usr.sbin/config/mkioconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 7b7504e..f4927c7 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.51 1999/04/18 13:36:29 peter Exp $";
+ "$Id: mkioconf.c,v 1.52 1999/04/18 14:27:33 kato Exp $";
#endif /* not lint */
#include <err.h>
@@ -190,10 +190,10 @@ newbus_ioconf()
fprintf(fp, "\n");
fprintf(fp, "#include <sys/queue.h>\n");
fprintf(fp, "#include <sys/sysctl.h>\n");
- if (machine == MACHINE_I386)
- fprintf(fp, "#include <isa/isareg.h>\n");
- else
+ if (machine == MACHINE_PC98)
fprintf(fp, "#include <pc98/pc98/pc98.h>\n");
+ else
+ fprintf(fp, "#include <isa/isareg.h>\n");
fprintf(fp, "#include <sys/bus_private.h>\n");
fprintf(fp, "\n");
OpenPOWER on IntegriCloud