summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-12-21 14:56:25 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-12-21 14:56:25 +0000
commitb45bcd941aeed9f9b5bca41338e52b47d57e7e43 (patch)
tree5a85ea83bfba94610d95b7c92196ee879e6dc6b6 /sys/arch/mvmeppc
parent1a7fe0231942d0e57909a2e6458fbcd0d2a5a8e0 (diff)
Convert netisr to a normal soft interrupt instead of hanving MD code
for it. This makes the netisr a real C function which will help further development. No noticable performance change on i386 and amd64. With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
Diffstat (limited to 'sys/arch/mvmeppc')
-rw-r--r--sys/arch/mvmeppc/mvmeppc/machdep.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/sys/arch/mvmeppc/mvmeppc/machdep.c b/sys/arch/mvmeppc/mvmeppc/machdep.c
index e06fc506035..83841797a7c 100644
--- a/sys/arch/mvmeppc/mvmeppc/machdep.c
+++ b/sys/arch/mvmeppc/mvmeppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.63 2009/08/22 02:54:50 mk Exp $ */
+/* $OpenBSD: machdep.c,v 1.64 2010/12/21 14:56:24 claudio Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -49,8 +49,6 @@
#include <sys/systm.h>
#include <sys/user.h>
-#include <net/netisr.h>
-
#include <machine/bat.h>
#include <machine/bugio.h>
#include <machine/pmap.h>
@@ -594,22 +592,6 @@ dumpsys()
volatile int cpl, ipending, astpending;
int imask[IPL_NUM];
-int netisr;
-
-/*
- * Soft networking interrupts.
- */
-void
-softnet(isr)
- int isr;
-{
-#define DONETISR(flag, func) \
- if (isr & (1 << (flag))) \
- (func)();
-
-#include <net/netisr_dispatch.h>
-#undef DONETISR
-}
int
lcsplx(ipl)