Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2012 04:20:11 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r243544 - stable/9/sys/dev/mii
Message-ID:  <201211260420.qAQ4KBdJ092184@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Nov 26 04:20:11 2012
New Revision: 243544
URL: http://svnweb.freebsd.org/changeset/base/243544

Log:
  MFC r241437:
    For 5717C/5719C/5720C and 57765 PHYs, do not perform any special
    handling(jumbo, wire speed etc) in brgphy_reset().  Touching
    BRGPHY_MII_AUXCTL register seems to confuse APE firmware such that
    it couldn't establish a link.

Modified:
  stable/9/sys/dev/mii/brgphy.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/mii/brgphy.c
==============================================================================
--- stable/9/sys/dev/mii/brgphy.c	Mon Nov 26 04:18:58 2012	(r243543)
+++ stable/9/sys/dev/mii/brgphy.c	Mon Nov 26 04:20:11 2012	(r243544)
@@ -918,6 +918,15 @@ brgphy_reset(struct mii_softc *sc)
 			break;
 		}
 		break;
+	case MII_OUI_BROADCOM3:
+		switch (sc->mii_mpd_model) {
+		case MII_MODEL_BROADCOM3_BCM5717C:
+		case MII_MODEL_BROADCOM3_BCM5719C:
+		case MII_MODEL_BROADCOM3_BCM5720C:
+		case MII_MODEL_BROADCOM3_BCM57765:
+			return;
+		}
+		break;
 	}
 
 	ifp = sc->mii_pdata->mii_ifp;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211260420.qAQ4KBdJ092184>