[PATCH] for FS#3086 - Netgear D7800 eth0 WAN Port not working with 100Mbit]

peter at cardoe.co.uk peter at cardoe.co.uk
Mon Oct 19 14:22:03 EDT 2020


---------------------------- Original Message ----------------------------
Subject: PATCH for FS#3086 - Netgear D7800 eth0 WAN Port not working with
100Mbit
From:    "Peter Cardoe" <peter at cardoe.co.uk>
Date:    Sun, October 18, 2020 9:51 pm
To:      openwrt-devel-owner at lists.openwrt.org
--------------------------------------------------------------------------

Hello,

I have a patch for this problem but I have never submitted one before so
even though I've read about how to submit patches, I'm not sure how to
do it.

My patch is

diff --git
a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
index 1760b19..c970c31 100644
---
a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
+++
b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts
@@ -303,13 +303,18 @@
                gmac1: ethernet at 37200000 {
                        status = "ok";
                        phy-mode = "rgmii";
-                       phy-handle = <&phy4>;
+                       //cardoe phy-handle = <&phy4>;
                        qcom,id = <1>;

                        pinctrl-0 = <&rgmii2_pins>;
                        pinctrl-names = "default";

                        mtd-mac-address = <&art 6>;
+
+                       fixed-link {         //cardoe
+                               speed = <1000>;  //cardoe
+                               full-duplex;     //cardoe
+                       };                   //cardoe
                };

                gmac2: ethernet at 37400000 {

I have tested it on my Netgear D7800 and it fixes the problem - I get
connected to my ISP.

Any advice on what to do next would be very helpful.

Kind regards,

Peter Cardoe.








More information about the openwrt-devel mailing list