1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 22:48:10 +02:00
openwrt/target/linux/generic/files
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
..
arch/mips/fw/myloader
crypto/ocf kernel: ocf: add missing dependency for hifn driver 2014-01-21 12:11:18 +00:00
Documentation/networking
drivers ar8216: use genphy_config_aneg also for PHY 0 2014-11-19 20:18:01 +00:00
fs/yaffs2 kernel: update yaffs code 2013-12-16 07:51:19 +00:00
include mac80211: update to wireless-testing 2014-05-19 2014-05-20 09:35:17 +00:00