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
This commit is contained in:
parent
c31598576d
commit
6abf6dd855
@ -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);
|
||||
|
@ -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)
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user