summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-06-25 23:27:44 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-06-25 23:27:44 +0000
commit0ccafa8316f183c5e8a15fd2af7f8be97d75d0f1 (patch)
tree352f3c5fed7417185c30ea80cbc43d86fd4711a9 /sys/dev/ic
parent8f252fec9966795bca7f5e076bcdc48f761fdb76 (diff)
re-add ASIX check lost in rev 1.77
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/dc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index de29bcb4bdb..49df7d3d0bd 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.87 2005/06/23 15:41:01 brad Exp $ */
+/* $OpenBSD: dc.c,v 1.88 2005/06/25 23:27:43 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -2433,7 +2433,7 @@ dc_tick(xsc)
} else {
r = CSR_READ_4(sc, DC_ISR);
if ((r & DC_ISR_RX_STATE) == DC_RXSTATE_WAIT &&
- sc->dc_cdata.dc_tx_cnt == 0) {
+ sc->dc_cdata.dc_tx_cnt == 0 && !DC_IS_ASIX(sc)) {
mii_tick(mii);
if (!(mii->mii_media_status & IFM_ACTIVE))
sc->dc_link = 0;