Only dispatch slnetisr & co if we don't have generic soft interrupts.

This commit is contained in:
augustss 2001-04-14 13:54:38 +00:00
parent dd8c947561
commit 81ece2d4bf
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: netisr_dispatch.h,v 1.6 2001/04/11 03:55:16 thorpej Exp $ */
/* $NetBSD: netisr_dispatch.h,v 1.7 2001/04/14 13:54:38 augustss Exp $ */
/*
* netisr_dispatch: This file is included by the
@ -48,15 +48,15 @@
#ifdef NATM
DONETISR(NETISR_NATM,natmintr);
#endif
#if NSL > 0
#if NSL > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
DONETISR(NETISR_SLIP,slnetisr);
#endif
#if NSTRIP > 0
#if NSTRIP > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
DONETISR(NETISR_STRIP,stripnetisr);
#endif
#if NPPP > 0
#if NPPP > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
DONETISR(NETISR_PPP,pppnetisr);
#endif
#if NBRIDGE > 0
#if NBRIDGE > 0 && !defined(__HAVE_GENERIC_SOFT_INTERRUPTS)
DONETISR(NETISR_BRIDGE,bridgenetisr);
#endif