Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2010 17:16:40 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r214427 - head/sys/dev/mii
Message-ID:  <201010271716.o9RHGeF0015861@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Wed Oct 27 17:16:40 2010
New Revision: 214427
URL: http://svn.freebsd.org/changeset/base/214427

Log:
  Add BCM5717C 10/100/1000TX PHY id.

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

Modified: head/sys/dev/mii/brgphy.c
==============================================================================
--- head/sys/dev/mii/brgphy.c	Wed Oct 27 17:13:38 2010	(r214426)
+++ head/sys/dev/mii/brgphy.c	Wed Oct 27 17:16:40 2010	(r214427)
@@ -141,6 +141,7 @@ static const struct mii_phydesc brgphys[
 	MII_PHY_DESC(xxBROADCOM_ALT1, BCM5709C),
 	MII_PHY_DESC(xxBROADCOM_ALT1, BCM5761),
 	MII_PHY_DESC(xxBROADCOM_ALT1, BCM5709S),
+	MII_PHY_DESC(xxBROADCOM_ALT2, BCM5717C),
 	MII_PHY_DESC(BROADCOM2, BCM5906),
 	MII_PHY_END
 };
@@ -253,6 +254,9 @@ brgphy_attach(device_t dev)
 			break;
 		}
 		break;
+	case MII_OUI_xxBROADCOM_ALT2:
+		/* No special handling yet. */
+		break;
 	default:
 		device_printf(dev, "Unrecognized OUI for PHY!\n");
 	}
@@ -1011,6 +1015,7 @@ brgphy_reset(struct mii_softc *sc)
 		}
 		break;
 	case MII_OUI_xxBROADCOM_ALT1:
+	case MII_OUI_xxBROADCOM_ALT2:
 		break;
 	}
 

Modified: head/sys/dev/mii/miidevs
==============================================================================
--- head/sys/dev/mii/miidevs	Wed Oct 27 17:13:38 2010	(r214426)
+++ head/sys/dev/mii/miidevs	Wed Oct 27 17:16:40 2010	(r214427)
@@ -81,6 +81,7 @@ oui xxINTEL			0x00f800	Intel
 oui xxALTIMA			0x000895	Altima Communications
 oui xxBROADCOM			0x000818	Broadcom Corporation
 oui xxBROADCOM_ALT1		0x0050ef	Broadcom Corporation
+oui xxBROADCOM_ALT2		0x00d897	Broadcom Corporation
 oui xxICS			0x00057d	Integrated Circuit Systems
 oui xxSEEQ			0x0005be	Seeq
 oui xxSIS			0x000760	Silicon Integrated Systems
@@ -153,6 +154,7 @@ model xxBROADCOM_ALT1 BCM5784	0x003a BCM
 model xxBROADCOM_ALT1 BCM5709C	0x003c BCM5709C 10/100/1000baseTX PHY
 model xxBROADCOM_ALT1 BCM5761	0x003d BCM5761 10/100/1000baseTX PHY
 model xxBROADCOM_ALT1 BCM5709S	0x003f BCM5709S 1000/2500baseSX PHY
+model xxBROADCOM_ALT2 BCM5717C	0x0020 BCM5717C 10/100/1000baseTX PHY
 model BROADCOM2 BCM5906		0x0004 BCM5906 10/100baseTX PHY
 
 /* Cicada Semiconductor PHYs (now owned by Vitesse?) */



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