summaryrefslogtreecommitdiff
path: root/sys/arch/atari
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/atari
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/atari')
-rw-r--r--sys/arch/atari/atari/machdep.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/atari/atari/machdep.c b/sys/arch/atari/atari/machdep.c
index 8bebb10f257..01e18c172ac 100644
--- a/sys/arch/atari/atari/machdep.c
+++ b/sys/arch/atari/atari/machdep.c
@@ -90,6 +90,7 @@
#include "ether.h"
#include "ppp.h"
+#include "bridge.h"
static void call_sicallbacks __P((void));
static void alloc_sicallback __P((void));
@@ -1139,6 +1140,12 @@ netintr()
pppintr();
}
#endif
+#if NBRIDGE > 0
+ if (netisr & (1 << NETISR_BRIDGE)) {
+ netisr &= ~(1 << NETISR_BRIDGE);
+ bridgeintr();
+ }
+#endif
}