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/mvme68k | |
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/mvme68k')
-rw-r--r-- | sys/arch/mvme68k/mvme68k/machdep.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/mvme68k/machdep.c b/sys/arch/mvme68k/mvme68k/machdep.c index 3d7ebc53607..96564c7b469 100644 --- a/sys/arch/mvme68k/mvme68k/machdep.c +++ b/sys/arch/mvme68k/mvme68k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.26 1999/05/22 21:22:26 weingart Exp $ */ +/* $OpenBSD: machdep.c,v 1.27 1999/05/24 23:09:04 jason Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -904,6 +904,13 @@ netintr() pppintr(); } #endif +#include "bridge.h" +#if NBRIDGE > 0 + if (netisr & (1 << NETISR_BRIDGE)) { + netisr &= ~(1 << NETISR_BRIDGE); + bridgeintr(); + } +#endif } /* |