summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/pci/if_dc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c
index 82e907938759..f444cedf0d80 100644
--- a/sys/pci/if_dc.c
+++ b/sys/pci/if_dc.c
@@ -2916,12 +2916,8 @@ dc_tick(void *xsc)
if (sc->dc_link == 0)
mii_tick(mii);
} else {
- /*
- * For NICs which never report DC_RXSTATE_WAIT, we
- * have to bite the bullet...
- */
- if ((DC_HAS_BROKEN_RXSTATE(sc) || (CSR_READ_4(sc,
- DC_ISR) & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT) &&
+ r = CSR_READ_4(sc, DC_ISR);
+ if ((r & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT &&
sc->dc_cdata.dc_tx_cnt == 0) {
mii_tick(mii);
if (!(mii->mii_media_status & IFM_ACTIVE))