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

Pyun YongHyeon yongari at FreeBSD.org
Thu Jan 14 19:14:24 UTC 2010


Author: yongari
Date: Thu Jan 14 19:14:24 2010
New Revision: 202294
URL: http://svn.freebsd.org/changeset/base/202294

Log:
  Add check for fiber mode for BCM5714 PHY. This PHY supports both
  copper and fiber interfaces over GMII so an explicit check is
  necessary to know whether it was configured for fiber interface.
  This change make BCM5715S work.
  
  Tested by:	olli
  MFC after:	1 week

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

Modified: head/sys/dev/mii/brgphy.c
==============================================================================
--- head/sys/dev/mii/brgphy.c	Thu Jan 14 19:08:43 2010	(r202293)
+++ head/sys/dev/mii/brgphy.c	Thu Jan 14 19:14:24 2010	(r202294)
@@ -197,6 +197,7 @@ brgphy_attach(device_t dev)
 	case MII_OUI_xxBROADCOM:
 		switch (bsc->mii_model) {
 			case MII_MODEL_xxBROADCOM_BCM5706:
+			case MII_MODEL_xxBROADCOM_BCM5714:
 				/*
 				 * The 5464 PHY used in the 5706 supports both copper
 				 * and fiber interfaces over GMII.  Need to check the


More information about the svn-src-all mailing list