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
This commit is contained in:
Pyun YongHyeon 2010-01-14 19:14:24 +00:00
parent ea3b412711
commit cb2ed75f7e

View File

@ -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