summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-02-21 20:52:16 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-02-21 20:52:16 +0000
commitf8b596c13e8dbed730bca795c04607dd8acd9ff0 (patch)
tree22498f6d327674b309cd0b6911e97bbede064866
parentfa9e92298de1f84764284771840db9da5b0f313d (diff)
disable interrupt mitigation until i figure out why we're spending 10% of
CPU time in interrupts with it.
-rw-r--r--sys/dev/pci/if_nfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index 811512f2cc5..53fa4e342cd 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.43 2006/02/20 20:19:47 damien Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.44 2006/02/21 20:52:15 damien Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -1074,7 +1074,7 @@ nfe_init(struct ifnet *ifp)
tmp = NFE_READ(sc, NFE_PWR_STATE);
NFE_WRITE(sc, NFE_PWR_STATE, tmp | NFE_PWR_VALID);
-#if 1
+#if 0
/* configure interrupts coalescing/mitigation */
NFE_WRITE(sc, NFE_IMTIMER, NFE_IM_DEFAULT);
#else