summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
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/hp300
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/hp300')
-rw-r--r--sys/arch/hp300/hp300/intr.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/hp300/hp300/intr.c b/sys/arch/hp300/hp300/intr.c
index a8db5915ce9..a73ea086e65 100644
--- a/sys/arch/hp300/hp300/intr.c
+++ b/sys/arch/hp300/hp300/intr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intr.c,v 1.4 1999/01/11 05:11:20 millert Exp $ */
+/* $OpenBSD: intr.c,v 1.5 1999/05/24 23:09:00 jason Exp $ */
/* $NetBSD: intr.c,v 1.2 1997/05/01 16:24:26 thorpej Exp $ */
/*-
@@ -50,6 +50,7 @@
#include <net/netisr.h>
#include "ppp.h"
+#include "bridge.h"
void netintr __P((void));
@@ -329,4 +330,10 @@ netintr()
pppintr();
}
#endif
+#if NBRIDGE > 0
+ if (netisr & (1 << NETISR_BRIDGE)) {
+ netisr &= ~(1 << NETISR_BRIDGE);
+ bridgeintr();
+ }
+#endif
}