On 2017-02-18 07:54, hackpascal wrote: > From: Weijie Gao <hackpas...@gmail.com> > > This patch fixed the problem that kernel will crash when WAN port is > linked-up in QCA9561. > > When GMAC0 is configured as GMII, it's connected to the internal switch. > In this situation, there's no need to adjust the speed of GMAC0, and the > function ath79_set_speed_dummy should be used. > > Prevoiusly this function was incorrectly set to ath79_set_speed_ge0, > which is used for AR71XX/AR91XX. If WAN port is linked-up, this function > will crash the kernel due to incorrect register access. >From what I can see in the reference source code, QCA956x should be treated in the same way as AR934x, and GMAC0 uses the internal switch only as a PHY. Also, my change was tested and confirmed working by other users. Where did you get your information from?
- Felix _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev