summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2001-12-17 22:24:19 +0000
committersilby <silby@FreeBSD.org>2001-12-17 22:24:19 +0000
commit6abf6dd855ba8d1a0e1360b33ce40fe1e86e5435 (patch)
tree84462e8803b7c3ad8d2243b4f4a6e70c5c23cbc6 /sys/pci/if_xlreg.h
parentc31598576d5dd1f5855e9833dc6ae0c5165a56a7 (diff)
downloadFreeBSD-src-6abf6dd855ba8d1a0e1360b33ce40fe1e86e5435.zip
FreeBSD-src-6abf6dd855ba8d1a0e1360b33ce40fe1e86e5435.tar.gz
Fix a problem where stats overflow interrupts would cause
a major slowdown, and re-enable stats overflow interrupts. For future reference, the bug was in our code, and not some bug in the 3com chips. Reviewed by: wpaul MFC after: 2 days
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 8a06e43..5e1b920 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -177,7 +177,7 @@
* Interrupts we normally want enabled.
*/
#define XL_INTRS \
- (XL_STAT_UP_COMPLETE|/*XL_STAT_STATSOFLOW|*/XL_STAT_ADFAIL| \
+ (XL_STAT_UP_COMPLETE|XL_STAT_STATSOFLOW|XL_STAT_ADFAIL| \
XL_STAT_DOWN_COMPLETE|XL_STAT_TX_COMPLETE|XL_STAT_INTLATCH)
/*
OpenPOWER on IntegriCloud