summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 23:16:09 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-01-07 23:16:09 +0000
commit442a311375e09fddb113ba6a49228530c53bb53f (patch)
treec86df64571eb4e09abd3f447acb73a410741faf8 /sys/arch/mac68k
parent6e5a6e8c80d378850137a3c72be709991fd47faa (diff)
global decl for *intr() routines, plus add INET6
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index bea365615be..cb6143d1810 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.53 1998/05/03 07:19:54 gene Exp $ */
+/* $OpenBSD: machdep.c,v 1.54 1999/01/07 23:16:00 deraadt Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -124,6 +124,8 @@
#include <machine/bus.h>
#include <net/netisr.h>
+void netintr __P((void));
+
#define MAXMEM 64*1024*CLSIZE /* XXX - from cmap.h */
#include <vm/vm_param.h>
#include <vm/pmap.h>
@@ -973,14 +975,6 @@ badladdr(addr)
return (0);
}
-void arpintr __P((void));
-void ipintr __P((void));
-void atintr __P((void));
-void nsintr __P((void));
-void clnlintr __P((void));
-void pppintr __P((void));
-void netintr __P((void));
-
void
netintr()
{
@@ -996,6 +990,12 @@ netintr()
ipintr();
}
#endif
+#ifdef INET6
+ if (netisr & (1 << NETISR_IPV6)) {
+ netisr &= ~(1 << NETISR_IPV6);
+ ipv6intr();
+ }
+#endif
#ifdef NETATALK
if (netisr & (1 << NETISR_ATALK)) {
netisr &= ~(1 << NETISR_ATALK);