On 9/27/19 6:39 PM, Chuanhong Guo wrote:
Hi!

On Sat, Sep 28, 2019 at 12:33 AM Jeff Kletsky <l...@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.

&eth1 {
        status = "disabled";
};

To disable GMAC1, you should use the following:
&eth1 {
        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



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to