svn commit: r279941 - head/sys/dev/mii

Pyun YongHyeon yongari at FreeBSD.org
Fri Mar 13 01:16:15 UTC 2015


Author: yongari
Date: Fri Mar 13 01:16:14 2015
New Revision: 279941
URL: https://svnweb.freebsd.org/changeset/base/279941

Log:
  Restore auto MDIX for RTL8211B and newer revision PHYs which was
  broken in r279903.
  
  Reported by:	john <> feith . com

Modified:
  head/sys/dev/mii/rgephy.c

Modified: head/sys/dev/mii/rgephy.c
==============================================================================
--- head/sys/dev/mii/rgephy.c	Fri Mar 13 00:08:58 2015	(r279940)
+++ head/sys/dev/mii/rgephy.c	Fri Mar 13 01:16:14 2015	(r279941)
@@ -531,7 +531,7 @@ rgephy_reset(struct mii_softc *sc)
 				PHY_WRITE(sc, RGEPHY_MII_SSR, ssr);
 			}
 		}
-		break;
+		/* FALLTHROUGH */
 	default:
 		if (sc->mii_mpd_rev >= RGEPHY_8211B) {
 			pcr = PHY_READ(sc, RGEPHY_MII_PCR);


More information about the svn-src-head mailing list