Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Allow a machine-dependent definition of schednetisr.
details: https://anonhg.NetBSD.org/src/rev/1c1783583f2e
branches: trunk
changeset: 544242:1c1783583f2e
user: matt <matt%NetBSD.org@localhost>
date: Sat Mar 15 07:51:06 2003 +0000
description:
Allow a machine-dependent definition of schednetisr.
diffstat:
sys/net/netisr.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 51f6ac4fbec7 -r 1c1783583f2e sys/net/netisr.h
--- a/sys/net/netisr.h Sat Mar 15 07:50:28 2003 +0000
+++ b/sys/net/netisr.h Sat Mar 15 07:51:06 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netisr.h,v 1.30 2002/05/12 20:40:12 matt Exp $ */
+/* $NetBSD: netisr.h,v 1.31 2003/03/15 07:51:06 matt Exp $ */
/*
* Copyright (c) 1980, 1986, 1989, 1993
@@ -149,7 +149,9 @@
#if defined(_KERNEL) && !defined(_LOCORE)
+#ifndef schednetisr
#define schednetisr(anisr) { netisr |= 1<<(anisr); setsoftnet(); }
+#endif
extern int netisr; /* scheduling bits for network */
Home |
Main Index |
Thread Index |
Old Index