openwrtv3/target/linux/generic/files/drivers
Felix Fietkau 43e3e88379 ar8216: use genphy_config_aneg also for PHY 0
Kernel 3.14 introduced a switch reset in phy_init_hw in drivers/net/phy
causing BMCR_ANENABLE to get cleared.

Due to the fact that ar8xxx_phy_config_aneg does nothing for
PHY 0 autonegatiation support remains disabled.
This can cause ports to operate at 10MBit/half-duplex only.

Fix this by calling genphy_config_aneg for PHY 0 too as
genphy_config_aneg sets BMCR_ANENABLE if it's not yet set.
Fixes: ticket 17800

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43332
2014-11-19 20:18:01 +00:00
..
leds coding style cleanups, drop old kernel support 2014-06-21 10:00:07 +00:00
mtd ar71xx: add support for Netgear WNR2000v4 2014-11-03 20:20:56 +00:00
net/phy ar8216: use genphy_config_aneg also for PHY 0 2014-11-19 20:18:01 +00:00