summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_nfereg.h
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_nfereg.h
parentde14161c18897daedac87e4bb9c850543563ea75 (diff)
re-enable interrupt mitigation and mask out NFE_IRQ_TIMER that was causing
interrupts flood.
Diffstat (limited to 'sys/dev/pci/if_nfereg.h')
-rw-r--r--sys/dev/pci/if_nfereg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/pci/if_nfereg.h b/sys/dev/pci/if_nfereg.h
index 5af55b6a4e5..36d131bf6d8 100644
--- a/sys/dev/pci/if_nfereg.h
+++ b/sys/dev/pci/if_nfereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfereg.h,v 1.15 2006/02/20 20:19:47 damien Exp $ */
+/* $OpenBSD: if_nfereg.h,v 1.16 2006/02/22 19:23:44 damien Exp $ */
/*-
* Copyright (c) 2005 Jonathan Gray <jsg@openbsd.org>
@@ -95,9 +95,13 @@
#define NFE_IRQ_TIMER 0x0020
#define NFE_IRQ_LINK 0x0040
#define NFE_IRQ_TXERR2 0x0080
-#define NFE_IRQ_WANTED 0x00ff
#define NFE_IRQ_TX1 0x0100
+#define NFE_IRQ_WANTED \
+ (NFE_IRQ_RXERR | NFE_IRQ_RX_NOBUF | NFE_IRQ_RX | \
+ NFE_IRQ_TXERR | NFE_IRQ_TXERR2 | NFE_IRQ_TX_DONE | \
+ NFE_IRQ_LINK)
+
#define NFE_RXTX_KICKTX 0x0001
#define NFE_RXTX_BIT1 0x0002
#define NFE_RXTX_BIT2 0x0004