aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLuo chongjun <luochongjun@gl-inet.com>2019-02-22 19:46:37 +0800
committerChristian Lamparter <chunkeey@gmail.com>2019-02-28 11:32:55 +0100
commit693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e (patch)
treecbbce15818b7b039f3858108b9b05bc85a24fbd5 /target/linux
parent95b0c07a618fe5fd93a26931152ced483bba143b (diff)
downloadupstream-693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e.tar.gz
upstream-693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e.tar.bz2
upstream-693c8fb0e3a3d4d1ae37df3c075f76a5a0426f7e.zip
ath79: Modify glinet x750 and AR300m MAC address offsets
In the production of glinet, the MAC address of ethernet port is only written at the position where the ART area offset address is 0, and the MAC address of eth1 is added 1 on the basis of eth0. Signed-off-by: Luo chongjun <luochongjun@gl-inet.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi3
-rw-r--r--target/linux/ath79/dts/qca9531_glinet_gl-x750.dts3
2 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
index fe986bdde0..55002b44e3 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi
@@ -84,7 +84,8 @@
};
&eth1 {
- mtd-mac-address = <&art 0x6>;
+ mtd-mac-address = <&art 0x0>;
+ mtd-mac-address-increment = <1>;
};
&wmac {
diff --git a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
index f8a511933c..79cd51673a 100644
--- a/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
+++ b/target/linux/ath79/dts/qca9531_glinet_gl-x750.dts
@@ -126,7 +126,8 @@
};
&eth1 {
- mtd-mac-address = <&art 0x6>;
+ mtd-mac-address = <&art 0x0>;
+ mtd-mac-address-increment = <1>;
};
&wmac {