ar8031/8033/phy:enable autonegotiation for ar8031/8033
authorZhao Qiang <B45475@freescale.com>
Mon, 23 Dec 2013 07:51:33 +0000 (15:51 +0800)
committerYork Sun <yorksun@freescale.com>
Mon, 24 Feb 2014 23:23:41 +0000 (15:23 -0800)
commite0d809647fb1aa01999de9a2e59349d28d48cfee
tree9e2f7ced85384bca4d21ab77427dc7655b072689
parentc9e1f58818c2e6ac13296406125e43775c4daa55
ar8031/8033/phy:enable autonegotiation for ar8031/8033

Function "genphy_parse_link()" used "if (mii_reg & BMSR_ANEGCAPABLE)" before
while "if (phydev->supported & SUPPORTED_Autoneg)" now.
So assign "phydev->supported" to "phydev->drv->features" for ar8031/8033
to enable autonegotiation.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/phy/atheros.c