]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
AR8035/phy: Enable autonegotiation function for ar8035
authorXiaobo Xie <X.Xie@freescale.com>
Fri, 11 Apr 2014 08:03:11 +0000 (16:03 +0800)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:19:45 +0000 (15:19 -0400)
commit02aa4c538838edc918ff4e7e9e4121259552ef70
tree2abfca617065b63d40552581b884a2485d9e1f9d
parentd57dee5787ad96d2c80bf36f443276592d39ee21
AR8035/phy: Enable autonegotiation function for ar8035

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 Xiaobo <X.Xie@freescale.com>
drivers/net/phy/atheros.c