Add netatalk netisr
This commit is contained in:
parent
dcb36500b8
commit
ad36b6970e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: intr.c,v 1.18 1997/03/15 18:10:42 is Exp $ */
|
||||
/* $NetBSD: intr.c,v 1.19 1997/04/03 17:25:18 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -73,6 +73,9 @@
|
|||
#include <netiso/iso.h>
|
||||
#include <netiso/clnp.h>
|
||||
#endif
|
||||
#ifdef NETATALK
|
||||
#include <netatalk/at_extern.h>
|
||||
#endif
|
||||
#include "ppp.h"
|
||||
#if NPPP > 0
|
||||
#include <net/ppp_defs.h>
|
||||
|
@ -143,6 +146,10 @@ soft01intr(fp)
|
|||
if (n & (1 << NETISR_IP))
|
||||
ipintr();
|
||||
#endif
|
||||
#ifdef NETATALK
|
||||
if (n & (1 << NETISR_ATALK))
|
||||
atintr();
|
||||
#endif
|
||||
#ifdef NS
|
||||
if (n & (1 << NETISR_NS))
|
||||
nsintr();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isr.c,v 1.29 1997/01/27 20:54:14 gwr Exp $ */
|
||||
/* $NetBSD: isr.c,v 1.30 1997/04/03 17:30:49 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
|
@ -107,6 +107,7 @@ isr_add_custom(level, handler)
|
|||
*/
|
||||
void arpintr __P((void));
|
||||
void ipintr __P((void));
|
||||
void atintr __P((void));
|
||||
void nsintr __P((void));
|
||||
void clnlintr __P((void));
|
||||
void ccittintr __P((void));
|
||||
|
@ -129,6 +130,11 @@ void netintr()
|
|||
if (n & (1 << NETISR_IP))
|
||||
ipintr();
|
||||
#endif
|
||||
#ifdef NETATALK
|
||||
if (n & (1 << NETISR_ATALK))
|
||||
atintr();
|
||||
#endif
|
||||
#ifdef ISO
|
||||
#ifdef NS
|
||||
if (n & (1 << NETISR_NS))
|
||||
nsintr();
|
||||
|
|
Loading…
Reference in New Issue