Lines Matching refs:default_phy
736 *default_phy = NULL, *phy_lan = NULL; in sis900_default_phy() local
744 if ((status & MII_STAT_LINK) && !default_phy && in sis900_default_phy()
746 default_phy = phy; in sis900_default_phy()
758 if (!default_phy && phy_home) in sis900_default_phy()
759 default_phy = phy_home; in sis900_default_phy()
760 else if (!default_phy && phy_lan) in sis900_default_phy()
761 default_phy = phy_lan; in sis900_default_phy()
762 else if (!default_phy) in sis900_default_phy()
763 default_phy = sis_priv->first_mii; in sis900_default_phy()
765 if (sis_priv->mii != default_phy) { in sis900_default_phy()
766 sis_priv->mii = default_phy; in sis900_default_phy()
767 sis_priv->cur_phy = default_phy->phy_addr; in sis900_default_phy()