Don't generate declarations for isa device structs in "ioconf.h".
Don't generate declarations for isa interrupt handlers at all. Isa interrupt handlers are now declared in <i386/isa/isa_device.h> but should be converted take a `void *' arg and staticized as soon as possible. Updated CONFIGVERS. New configs are very incompatible with previous versions.
This commit is contained in:
parent
939eba4d19
commit
916e39c6d2
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.112 1998/05/20 20:54:04 eivind Exp $
|
||||
# $Id: Makefile.i386,v 1.113 1998/05/21 19:21:44 eivind Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
# Which version of config(8) is required.
|
||||
%VERSREQ= 300003
|
||||
%VERSREQ= 300004
|
||||
|
||||
BINFORMAT?= aout
|
||||
#BINFORMAT?= aoutkld
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.112 1998/05/20 20:54:04 eivind Exp $
|
||||
# $Id: Makefile.i386,v 1.113 1998/05/21 19:21:44 eivind Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
# Which version of config(8) is required.
|
||||
%VERSREQ= 300003
|
||||
%VERSREQ= 300004
|
||||
|
||||
BINFORMAT?= aout
|
||||
#BINFORMAT?= aoutkld
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.i386,v 1.112 1998/05/20 20:54:04 eivind Exp $
|
||||
# $Id: Makefile.i386,v 1.113 1998/05/21 19:21:44 eivind Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
# Which version of config(8) is required.
|
||||
%VERSREQ= 300003
|
||||
%VERSREQ= 300004
|
||||
|
||||
BINFORMAT?= aout
|
||||
#BINFORMAT?= aoutkld
|
||||
|
@ -6,6 +6,6 @@
|
||||
* The numbering scheme is inspired by the sys/conf/newvers.sh RELDATE
|
||||
* and <osreldate.h> system.
|
||||
*
|
||||
* $Id: configvers.h,v 1.1 1997/10/22 00:38:48 peter Exp $
|
||||
* $Id: configvers.h,v 1.2 1997/11/06 03:11:40 msmith Exp $
|
||||
*/
|
||||
#define CONFIGVERS 300003
|
||||
#define CONFIGVERS 300004
|
||||
|
@ -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.35 1998/05/02 01:57:39 kato Exp $";
|
||||
"$Id: mkioconf.c,v 1.36 1998/06/09 14:02:06 dfr Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <err.h>
|
||||
@ -618,7 +618,6 @@ i386_ioconf()
|
||||
int dev_id;
|
||||
FILE *fp, *fp1;
|
||||
static char *old_d_name;
|
||||
static char old_shandler[32 + 1];
|
||||
|
||||
fp = fopen(path("ioconf.c.new"), "w");
|
||||
if (fp == 0)
|
||||
@ -658,22 +657,18 @@ i386_ioconf()
|
||||
fprintf(fp, "#include <i386/isa/isa.h>\n");
|
||||
else
|
||||
fprintf(fp, "#include <pc98/pc98/pc98.h>\n");
|
||||
fprintf(fp1, "\n");
|
||||
fprintf(fp1, "#include <i386/isa/isa_device.h>\n");
|
||||
fprintf(fp1, "\n");
|
||||
fprintf(fp, "#include <i386/isa/isa_device.h>\n");
|
||||
fprintf(fp, "\n");
|
||||
for (dp = dtab; dp != 0; dp = dp->d_next) {
|
||||
int printed = 0;
|
||||
|
||||
mp = dp->d_conn;
|
||||
if (mp == 0 || mp == TO_NEXUS ||
|
||||
!eq(mp->d_name, "isa"))
|
||||
continue;
|
||||
if (old_d_name == NULL || !eq(dp->d_name, old_d_name)) {
|
||||
old_d_name = dp->d_name;
|
||||
fprintf(fp1,
|
||||
"extern struct isa_driver %3sdriver;",
|
||||
fprintf(fp,
|
||||
"extern struct isa_driver %3sdriver;\n",
|
||||
old_d_name);
|
||||
printed = 1;
|
||||
}
|
||||
if (eq(dp->d_name, "wdc"))
|
||||
seen_wdc++;
|
||||
@ -684,14 +679,6 @@ i386_ioconf()
|
||||
"remapped irq 2 to irq 9, please update your config file\n");
|
||||
dp->d_irq = 9;
|
||||
}
|
||||
if (dp->d_vec != NULL && dp->d_vec->id != NULL &&
|
||||
!eq(shandler(dp), old_shandler)) {
|
||||
strcpy(old_shandler, shandler(dp));
|
||||
fprintf(fp1, " inthand2_t %s;", old_shandler);
|
||||
printed = 1;
|
||||
}
|
||||
if (printed)
|
||||
fprintf(fp1, "\n");
|
||||
}
|
||||
dev_id = 10; /* XXX must match mkglue.c */
|
||||
isa_devtab(fp, "bio", &dev_id);
|
||||
|
Loading…
Reference in New Issue
Block a user