summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nfe.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-02-22 19:23:45 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-02-22 19:23:45 +0000
commite04008c2a60fa14277334a79a52d9dbbcad7fffb (patch)
tree1257bc6d9051e24346a0f6fc2cf9196fa07ce267 /sys/dev/pci/if_nfe.c
parentde14161c18897daedac87e4bb9c850543563ea75 (diff)
re-enable interrupt mitigation and mask out NFE_IRQ_TIMER that was causing
interrupts flood.
Diffstat (limited to 'sys/dev/pci/if_nfe.c')
-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 e4790382cec..956631a2bae 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.45 2006/02/22 03:19:11 brad Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.46 2006/02/22 19:23:44 damien Exp $ */
/*-
* Copyright (c) 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -1072,7 +1072,7 @@ nfe_init(struct ifnet *ifp)
tmp = NFE_READ(sc, NFE_PWR_STATE);
NFE_WRITE(sc, NFE_PWR_STATE, tmp | NFE_PWR_VALID);
-#if 0
+#if 1
/* configure interrupts coalescing/mitigation */
NFE_WRITE(sc, NFE_IMTIMER, NFE_IM_DEFAULT);
#else