summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_em_hw.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-10-24 21:42:35 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-10-24 21:42:35 +0000
commitfaa30474957681cf6d13e6afefc7d87248e7c708 (patch)
tree07fbbb11228e7a172c7daebcec5cf992343aa5bc /sys/dev/pci/if_em_hw.h
parentb24a160b6e91b206b2575311ceac6a59bc9f18bc (diff)
Revamp interrupt handling in em(4) driver:
o Do not mask the RX overrun interrupt. o Rewrite em_intr(): - Axe EM_MAX_INTR. - Cycle acknowledging interrupts and processing packets until zero interrupt cause register is read. - If RX overrun comes in log this fact. From glebius FreeBSD ok krw@ beck@
Diffstat (limited to 'sys/dev/pci/if_em_hw.h')
-rw-r--r--sys/dev/pci/if_em_hw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em_hw.h b/sys/dev/pci/if_em_hw.h
index 9b5e87c1dd2..93ca38dbf9a 100644
--- a/sys/dev/pci/if_em_hw.h
+++ b/sys/dev/pci/if_em_hw.h
@@ -31,7 +31,7 @@
*******************************************************************************/
-/* $OpenBSD: if_em_hw.h,v 1.9 2005/10/07 23:24:42 brad Exp $ */
+/* $OpenBSD: if_em_hw.h,v 1.10 2005/10/24 21:42:34 brad Exp $ */
/* $FreeBSD: if_em_hw.h,v 1.15 2005/05/26 23:32:02 tackerman Exp $ */
/* if_em_hw.h
* Structures, enums, and macros for the MAC
@@ -564,6 +564,7 @@ uint8_t em_arc_subsystem_valid(struct em_hw *hw);
E1000_IMS_TXDW | \
E1000_IMS_RXDMT0 | \
E1000_IMS_RXSEQ | \
+ E1000_IMS_RXO | \
E1000_IMS_LSC)
/* Number of high/low register pairs in the RAR. The RAR (Receive Address