aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dc
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2004-05-03 13:01:34 +0000
committerAndre Oppermann <andre@FreeBSD.org>2004-05-03 13:01:34 +0000
commit9a54cbb95d8a5426fb78adb9bad555383f1c74d4 (patch)
treeff1bd46cb26c67e03c65388e1a1f300a9c5b60d7 /sys/dev/dc
parent2c55d0fe37ac10368f901ac328feb27c3233f1fd (diff)
Notes
Diffstat (limited to 'sys/dev/dc')
-rw-r--r--sys/dev/dc/dcphy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dc/dcphy.c b/sys/dev/dc/dcphy.c
index 4c930e504c3ad..5b4b8f504f51f 100644
--- a/sys/dev/dc/dcphy.c
+++ b/sys/dev/dc/dcphy.c
@@ -324,7 +324,7 @@ dcphy_service(sc, mii, cmd)
* successful autonegotation is never recognised on
* these chips.
*/
- if (++sc->mii_ticks != 50)
+ if (++sc->mii_ticks <= 50)
break;
sc->mii_ticks = 0;