summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/isa/isabus.c
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-05-29 04:16:11 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-05-29 04:16:11 +0000
commitd533ff01b0e7fecf6829b87c5eb45fac1a24daa8 (patch)
treebaa5cc17d5d8abebf45492724ab6c004d9ba5e8c /sys/arch/powerpc/isa/isabus.c
parent2de1e4190b510b46917c96c19d7ebd01a07b41b8 (diff)
Major changes here and there, tweaks elsewhere.
Support for Openfirmware drivers was reintroduced so that more systems were supported. This should work with the real driver configurations as well. Bootloader files were deleted/replaced with the newer versions in the subdirectory. Some effort has been made to be closer to support booting (at least the bootloader) on the Mac. Config files that end with OFW are the openfirmware versions of the kernels without have native drivers. Native driver support has not been changed, presumably it still works. I couldn't test that.
Diffstat (limited to 'sys/arch/powerpc/isa/isabus.c')
-rw-r--r--sys/arch/powerpc/isa/isabus.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/powerpc/isa/isabus.c b/sys/arch/powerpc/isa/isabus.c
index 1753fa866f6..f45d31e16f2 100644
--- a/sys/arch/powerpc/isa/isabus.c
+++ b/sys/arch/powerpc/isa/isabus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isabus.c,v 1.1 1997/10/11 11:53:00 pefo Exp $ */
+/* $OpenBSD: isabus.c,v 1.2 1998/05/29 04:15:35 rahnds Exp $ */
/* $NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp $ */
/*-
@@ -157,6 +157,10 @@ isabrmatch(parent, cfdata, aux)
return (1);
}
+typedef void (void_f) (void);
+extern void_f *pending_int_f;
+void isa_do_pending_int();
+
void
isabrattach(parent, self, aux)
struct device *parent;
@@ -166,6 +170,8 @@ isabrattach(parent, self, aux)
struct isabr_softc *sc = (struct isabr_softc *)self;
struct isabus_attach_args iba;
+ pending_int_f = isa_do_pending_int;
+
printf("\n");
/* Initialize interrupt controller */
@@ -371,7 +377,7 @@ isabr_intr_disestablish(ic, arg)
}
void
-do_pending_int()
+isa_do_pending_int()
{
struct intrhand *ih;
int vector;