aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/cleanfile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-11-19 20:18:01 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-11-19 20:18:01 +0000
commit392f273b289a66bb99591c29b56eeec624608adc (patch)
tree57dc9899eb4bcf9de191017999ec89b837b0daa9 /scripts/cleanfile
parent5b0ed1ce9fa3f7592bfd8a882a5b7f4a90b95128 (diff)
downloadupstream-392f273b289a66bb99591c29b56eeec624608adc.tar.gz
upstream-392f273b289a66bb99591c29b56eeec624608adc.tar.bz2
upstream-392f273b289a66bb99591c29b56eeec624608adc.zip
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43332 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/cleanfile')
0 files changed, 0 insertions, 0 deletions