summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
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_xl.c
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_xl.c')
-rw-r--r--sys/pci/if_xl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index aa7f4fc..5624e9c 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -2197,7 +2197,7 @@ static void xl_stats_update(xsc)
XL_SEL_WIN(4);
CSR_READ_1(sc, XL_W4_BADSSD);
- if (mii != NULL)
+ if ((mii != NULL) && (!sc->xl_stats_no_timeout))
mii_tick(mii);
XL_SEL_WIN(7);
OpenPOWER on IntegriCloud