Lines Matching refs:default_phy
729 *default_phy = NULL, *phy_lan = NULL; in sis900_default_phy() local
737 if ((status & MII_STAT_LINK) && !default_phy && in sis900_default_phy()
739 default_phy = phy; in sis900_default_phy()
751 if (!default_phy && phy_home) in sis900_default_phy()
752 default_phy = phy_home; in sis900_default_phy()
753 else if (!default_phy && phy_lan) in sis900_default_phy()
754 default_phy = phy_lan; in sis900_default_phy()
755 else if (!default_phy) in sis900_default_phy()
756 default_phy = sis_priv->first_mii; in sis900_default_phy()
758 if (sis_priv->mii != default_phy) { in sis900_default_phy()
759 sis_priv->mii = default_phy; in sis900_default_phy()
760 sis_priv->cur_phy = default_phy->phy_addr; in sis900_default_phy()