Lines Matching refs:default_phy
725 *default_phy = NULL, *phy_lan = NULL; in sis900_default_phy() local
733 if ((status & MII_STAT_LINK) && !default_phy && in sis900_default_phy()
735 default_phy = phy; in sis900_default_phy()
747 if (!default_phy && phy_home) in sis900_default_phy()
748 default_phy = phy_home; in sis900_default_phy()
749 else if (!default_phy && phy_lan) in sis900_default_phy()
750 default_phy = phy_lan; in sis900_default_phy()
751 else if (!default_phy) in sis900_default_phy()
752 default_phy = sis_priv->first_mii; in sis900_default_phy()
754 if (sis_priv->mii != default_phy) { in sis900_default_phy()
755 sis_priv->mii = default_phy; in sis900_default_phy()
756 sis_priv->cur_phy = default_phy->phy_addr; in sis900_default_phy()