diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1999-05-24 23:09:12 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1999-05-24 23:09:12 +0000 |
commit | 8337fe0f9b1f07061deb94b937c2bc9ef840c067 (patch) | |
tree | 4fb50e82017e05ca85e4cad964b55c4908c47168 /sys/arch/sparc | |
parent | 1a875079809eb31d2a080e005d76f4f634ebb771 (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.c | 5 |
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; |