diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-01-07 23:16:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-01-07 23:16:09 +0000 |
commit | 442a311375e09fddb113ba6a49228530c53bb53f (patch) | |
tree | c86df64571eb4e09abd3f447acb73a410741faf8 /sys/arch/pmax | |
parent | 6e5a6e8c80d378850137a3c72be709991fd47faa (diff) |
global decl for *intr() routines, plus add INET6
Diffstat (limited to 'sys/arch/pmax')
-rw-r--r-- | sys/arch/pmax/pmax/trap.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/arch/pmax/pmax/trap.c b/sys/arch/pmax/pmax/trap.c index adb1b44517c..7a8e14e05d2 100644 --- a/sys/arch/pmax/pmax/trap.c +++ b/sys/arch/pmax/pmax/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.17 1998/10/15 21:30:17 imp Exp $ */ +/* $OpenBSD: trap.c,v 1.18 1999/01/07 23:16:05 deraadt Exp $ */ /* $NetBSD: trap.c,v 1.50 1996/10/13 21:37:49 jonathan Exp $ */ /* @@ -79,13 +79,6 @@ #include <sys/syslog.h> #include <miscfs/procfs/procfs.h> -/* all this to get prototypes for ipintr() and arpintr() */ -#include <sys/socket.h> -#include <net/if.h> -#include <netinet/in.h> -#include <netinet/if_ether.h> -#include <netinet/ip_var.h> - #include "ppp.h" struct proc *machFPCurProcPtr; /* pointer to last proc to use FP */ @@ -1061,6 +1054,12 @@ interrupt(statusReg, causeReg, pc /* XXX what, args */ ) 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); |