Searched refs:default_phy (Results 1 – 1 of 1) sorted by relevance
647 struct mii_phy *phy = NULL, *phy_home = NULL, *default_phy = NULL; in sis900_default_phy() local655 if ( (status & MII_STAT_LINK) && !(default_phy) ) in sis900_default_phy()656 default_phy = phy; in sis900_default_phy()666 if( (!default_phy) && phy_home ) in sis900_default_phy()667 default_phy = phy_home; in sis900_default_phy()668 else if(!default_phy) in sis900_default_phy()669 default_phy = sis_priv->first_mii; in sis900_default_phy()671 if( sis_priv->mii != default_phy ){ in sis900_default_phy()672 sis_priv->mii = default_phy; in sis900_default_phy()673 sis_priv->cur_phy = default_phy->phy_addr; in sis900_default_phy()