summaryrefslogtreecommitdiff
path: root/sys/arch/arc
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-07-23 07:00:40 +0000
committerdenny <denny@cvs.openbsd.org>1997-07-23 07:00:40 +0000
commit689efdfc452f5eb5702bbb9e706306553837eab0 (patch)
tree5f9cad988626fcba75a5362387cae69a45877c03 /sys/arch/arc
parent9f95e5fa8786d06e27db299b890e830e050a71bc (diff)
Add AppleTalk netisr. Only tested (indeed, only compiled) on mac68k port.
Add options NETATALK to your config to try it out.
Diffstat (limited to 'sys/arch/arc')
-rw-r--r--sys/arch/arc/arc/trap.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/arc/arc/trap.c b/sys/arch/arc/arc/trap.c
index 209ba90c4b2..49a8a58bdeb 100644
--- a/sys/arch/arc/arc/trap.c
+++ b/sys/arch/arc/arc/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.11 1997/04/19 17:19:48 pefo Exp $ */
+/* $OpenBSD: trap.c,v 1.12 1997/07/23 07:00:39 denny Exp $ */
/*
* Copyright (c) 1988 University of Utah.
* Copyright (c) 1992, 1993
@@ -39,7 +39,7 @@
* from: Utah Hdr: trap.c 1.32 91/04/06
*
* from: @(#)trap.c 8.5 (Berkeley) 1/11/94
- * $Id: trap.c,v 1.11 1997/04/19 17:19:48 pefo Exp $
+ * $Id: trap.c,v 1.12 1997/07/23 07:00:39 denny Exp $
*/
#include "ppp.h"
@@ -914,6 +914,12 @@ interrupt(statusReg, causeReg, pc, what, args)
ipintr();
}
#endif
+#ifdef NETATALK
+ if (netisr & (1 << NETISR_ATALK)) {
+ netisr &= ~(1 << NETISR_ATALK);
+ atintr();
+ }
+#endif
#ifdef NS
if (netisr & (1 << NETISR_NS)) {
netisr &= ~(1 << NETISR_NS);