Add netatalk netisr

This commit is contained in:
christos 1997-04-03 15:59:54 +00:00
parent 8913266731
commit 6c015f3a49
3 changed files with 22 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.138 1997/03/27 21:01:35 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.139 1997/04/03 16:04:28 christos Exp $ */
/*
* Copyright (c) 1996 Jason R. Thorpe. All rights reserved.
@ -1214,6 +1214,7 @@ badladdr(addr)
void arpintr __P((void));
void ipintr __P((void));
void atintr __P((void));
void nsintr __P((void));
void clnlintr __P((void));
void pppintr __P((void));
@ -1234,6 +1235,12 @@ netintr()
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);

View File

@ -1,4 +1,4 @@
/* $NetBSD: isr.c,v 1.4 1996/12/09 17:43:36 thorpej Exp $ */
/* $NetBSD: isr.c,v 1.5 1997/04/03 16:11:01 christos Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -286,6 +286,12 @@ netintr()
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);

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.61 1997/04/01 16:37:43 matthias Exp $ */
/* $NetBSD: machdep.c,v 1.62 1997/04/03 15:59:54 christos Exp $ */
/*-
* Copyright (c) 1996 Matthias Pfaller.
@ -100,6 +100,9 @@
#include <netinet/if_inarp.h>
#include <netinet/ip_var.h>
#endif
#ifdef NETATALK
#include <netatalk/at_extern.h>
#endif
#ifdef NS
#include <netns/ns_var.h>
#endif
@ -1244,6 +1247,9 @@ softnet(arg)
#endif
if (isr & (1 << NETISR_IP)) ipintr();
#endif
#ifdef NETATALK
if (isr & (1 << NETISR_ATALK)) atintr();
#endif
#ifdef NS
if (isr & (1 << NETISR_NS)) nsintr();
#endif