summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/if_xl.c2
-rw-r--r--sys/pci/if_xlreg.h2
2 files changed, 2 insertions, 2 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);
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