[openwrt/openwrt] ramips: fix random LAN MAC for sercomm dxx devices

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 14 05:46:05 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/61dce63c0495ed90976bb513c2816782d9d515ff

commit 61dce63c0495ed90976bb513c2816782d9d515ff
Author: Mikhail Zhilkin <csharper2005 at gmail.com>
AuthorDate: Thu Jun 13 15:34:31 2024 +0000

    ramips: fix random LAN MAC for sercomm dxx devices
    
    This commit fixes random lan mac for sercomm dxx devices.
    
    Fixes: 339518482578 ("ramips: mt7621: nix mac-address-increment")
    Signed-off-by: Mikhail Zhilkin <csharper2005 at gmail.com>
---
 target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi b/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi
index 4e22e45191..75bc207dd8 100644
--- a/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi
+++ b/target/linux/ramips/dts/mt7621_sercomm_dxx_nand_256m.dtsi
@@ -196,7 +196,7 @@
 };
 
 &gmac0 {
-	nvmem-cells = <&macaddr_factory_21000>;
+	nvmem-cells = <&macaddr_factory_21000 0>;
 	nvmem-cell-names = "mac-address";
 };
 




More information about the lede-commits mailing list