Message ID | 20190927163322.10386-1-lede@allycomm.com |
---|---|
Headers | show |
Series | ath79: Restore GL.iNet GL-AR300M-Lite first-boot connectivity | expand |
Hi! On Sat, Sep 28, 2019 at 12:33 AM Jeff Kletsky <lede@allycomm.com> wrote: > [...] > As suggested by Alberto Bursi in the linked thread, one approach to > resolution would be to disable the "unused" interface, GMAC1. This > would have the additional advantage of removing the unconnected > interface from the kernel and end-user visibility. By disabling GMAC1, > it was expected that GMAC0 would be identified by the kernel as "eth0" > as the sole Ethernet interface visible. > > ð1 { > status = "disabled"; > }; > To disable GMAC1, you should use the following: ð1 { compatible = "syscon", "simple-mfd"; } Regards, Chuanhong Guo
On 9/27/19 6:39 PM, Chuanhong Guo wrote: > Hi! > > On Sat, Sep 28, 2019 at 12:33 AM Jeff Kletsky <lede@allycomm.com> wrote: >> [...] >> As suggested by Alberto Bursi in the linked thread, one approach to >> resolution would be to disable the "unused" interface, GMAC1. This >> would have the additional advantage of removing the unconnected >> interface from the kernel and end-user visibility. By disabling GMAC1, >> it was expected that GMAC0 would be identified by the kernel as "eth0" >> as the sole Ethernet interface visible. >> >> ð1 { >> status = "disabled"; >> }; >> > To disable GMAC1, you should use the following: > ð1 { > compatible = "syscon", "simple-mfd"; > } > Thanks, yes, setting it as a MFD results in GMAC0 being able to connect to the phy. Initial version of patch withdrawn. Will submit a v2 later on. Jeff