summaryrefslogtreecommitdiff
path: root/sys/arch/vax
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-05-24 23:09:12 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-05-24 23:09:12 +0000
commit8337fe0f9b1f07061deb94b937c2bc9ef840c067 (patch)
tree4fb50e82017e05ca85e4cad964b55c4908c47168 /sys/arch/vax
parent1a875079809eb31d2a080e005d76f4f634ebb771 (diff)
Only do basic work in the ethernet interrupt context, and queue packets to
be bridged. Do the real work in a scheduled netisr.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/machdep.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c
index 2ea640c80eb..f63eaec3d57 100644
--- a/sys/arch/vax/vax/machdep.c
+++ b/sys/arch/vax/vax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.18 1999/05/22 21:22:32 weingart Exp $ */
+/* $OpenBSD: machdep.c,v 1.19 1999/05/24 23:09:09 jason Exp $ */
/* $NetBSD: machdep.c,v 1.45 1997/07/26 10:12:49 ragge Exp $ */
/*
@@ -90,6 +90,7 @@
#include <netns/ns_var.h>
#endif
#include "ppp.h" /* For NERISR_PPP */
+#include "bridge.h" /* For NERISR_BRIDGE */
#if NPPP > 0
#include <net/ppp_defs.h>
#include <net/if_ppp.h>
@@ -722,6 +723,11 @@ netintr()
pppintr();
}
#endif
+#if NBRIDGE > 0
+ if (netisr & (1 << NETISR_BRIDGE)) {
+ bridgeintr();
+ }
+#endif
}
void