summaryrefslogtreecommitdiff
path: root/sys/dev/mii/xmphy.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-06-19 19:30:15 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-06-19 19:30:15 +0000
commitc852b2c50dabb159ccf9a6dec103e0f5798ecc0f (patch)
tree7a382f333cbeea94eefc9a1721b3f6de78feb25f /sys/dev/mii/xmphy.c
parent9dfb608c70ddcf83e073ac8297b39055ab310446 (diff)
- some clean up
- for consistency fix order of operations for MII_TICK switch case in eephy
Diffstat (limited to 'sys/dev/mii/xmphy.c')
-rw-r--r--sys/dev/mii/xmphy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/xmphy.c b/sys/dev/mii/xmphy.c
index f90d0869bda..f28388265b1 100644
--- a/sys/dev/mii/xmphy.c
+++ b/sys/dev/mii/xmphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xmphy.c,v 1.13 2005/06/19 17:08:14 brad Exp $ */
+/* $OpenBSD: xmphy.c,v 1.14 2005/06/19 19:30:14 brad Exp $ */
/*
* Copyright (c) 2000
@@ -232,11 +232,11 @@ xmphy_service(struct mii_softc *sc, struct mii_data *mii, int cmd)
break;
sc->mii_ticks = 0;
-
PHY_RESET(sc);
if (xmphy_mii_phy_auto(sc, 0) == EJUSTRETURN)
return (0);
+
break;
}