diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-19 20:18:01 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-19 20:18:01 +0000 |
commit | 392f273b289a66bb99591c29b56eeec624608adc (patch) | |
tree | 57dc9899eb4bcf9de191017999ec89b837b0daa9 /.gitignore | |
parent | 5b0ed1ce9fa3f7592bfd8a882a5b7f4a90b95128 (diff) | |
download | upstream-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 '.gitignore')
0 files changed, 0 insertions, 0 deletions