Re: [U-Boot] [PATCH] AR8035/phy: Enable autonegotiation function for ar8035

2014-04-11 Thread Scott Wood
On Fri, 2014-04-11 at 15:48 +0800, Xie Xiaobo wrote: > Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before, > but used "if (phydev->supported & SUPPORTED_Autoneg)" now. > So assign "phydev->supported" to "phydev->drv->features" for ar8035 > to enable autonegotiation. Then r

[U-Boot] [PATCH] AR8035/phy: Enable autonegotiation function for ar8035

2014-04-11 Thread Xie Xiaobo
Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before, but used "if (phydev->supported & SUPPORTED_Autoneg)" now. So assign "phydev->supported" to "phydev->drv->features" for ar8035 to enable autonegotiation. Then removed the genphy_config_aneg() function. Signed-off-by: Xie