[OpenWrt-Devel] [PATCH 5/5] ar8216: use genphy_config_aneg also for PHY 0

Felix Fietkau nbd at openwrt.org
Wed Nov 19 15:19:37 EST 2014


On 2014-10-31 21:38, Heiner Kallweit wrote:
> 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 at gmail.com>
Applied the series with a few minor modifications.

Thanks!

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list