Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Only dispatch slnetisr & co if we don't have generic...



details:   https://anonhg.NetBSD.org/src/rev/fc1970bff4c2
branches:  trunk
changeset: 508588:fc1970bff4c2
user:      augustss <augustss%NetBSD.org@localhost>
date:      Sat Apr 14 13:54:38 2001 +0000

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

diffstat:

 sys/net/netisr_dispatch.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r 7652ed80343d -r fc1970bff4c2 sys/net/netisr_dispatch.h
--- a/sys/net/netisr_dispatch.h Sat Apr 14 13:53:05 2001 +0000
+++ b/sys/net/netisr_dispatch.h Sat Apr 14 13:54:38 2001 +0000
@@ -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



Home | Main Index | Thread Index | Old Index