summaryrefslogtreecommitdiff
path: root/sys/arch/sparc
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/sparc
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/sparc')
-rw-r--r--sys/arch/sparc/sparc/intr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/sparc/sparc/intr.c b/sys/arch/sparc/sparc/intr.c
index 9cbdbb17b6f..95a7b6ed4de 100644
--- a/sys/arch/sparc/sparc/intr.c
+++ b/sys/arch/sparc/sparc/intr.c
@@ -67,6 +67,7 @@
#include <netinet/ip_var.h>
#endif
#include "ppp.h"
+#include "bridge.h"
void strayintr __P((struct clockframe *));
int soft01intr __P((void *));
@@ -156,6 +157,10 @@ soft01intr(fp)
if (n & (1 << NETISR_PPP))
pppintr();
#endif
+#if NBRIDGE > 0
+ if (n & (1 << NETISR_BRIDGE))
+ bridgeintr();
+#endif
}
if (sir.sir_which[SIR_CLOCK]) {
sir.sir_which[SIR_CLOCK] = 0;