ср, 22 авг. 2018 г. в 12:05, John Crispin <j...@phrozen.org>: > > > > On 21/08/18 13:39, Chuanhong Guo wrote: > > We currently don't have any code configuring interface mode in ath79, > > meaning that we relies on bootloader to set the correct interface mode. > > > > This patch added code to set interface correctly so that everything works > > even if bootloader configures it wrong.(e.g. on WNDR3800 u-boot set > > the second GMAC mode to RMII but it should be RGMII.) > > > > Introduced "qca,mac-idx" for the difference in MII_CTRL register value. > > > > Signed-off-by: Chuanhong Guo <gch981...@gmail.com> > > Hi, > I have applied a slightly modified version of the patch to my staging > tree, could you kindly verify that it still fixes the issue please > before i push it to master > --> > https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=shortlog;h=refs/heads/staging > John
If you have WNDR3800, you can test it much better than we can. I have ar7100 DIR-825 and ar9132 TL-1043ndv1. Both of them have correct phy mode in u-boot and work without this patch. WNDR3x00 are the ones that really require it. _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel