aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorDavide Fioravanti <pantanastyle@gmail.com>2019-08-11 00:38:53 +0200
committerDavide Fioravanti <pantanastyle@gmail.com>2019-08-11 23:16:03 +0200
commit0891358e4b71ff74226d5b8378bfb3c0cb7e666c (patch)
tree6b974954bece2372f48dd8d642b775f779770084 /target/linux/ramips
parent920abb9b5865fe0994a5c8115cde616dac63d5ae (diff)
downloadupstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.tar.gz
upstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.tar.bz2
upstream-0891358e4b71ff74226d5b8378bfb3c0cb7e666c.zip
ramips: fix lan and wan mac addresses for Cudy WR1000
Lan and Wan addresses are swapped compared to the original firmware. This patch fixes this problem Signed-off-by: Davide Fioravanti <pantanastyle@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/dts/mt7628an_cudy_wr1000.dts2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index 5fe61c31de..ca111c9d4c 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -505,6 +505,7 @@ ramips_setup_macs()
8devices,carambola|\
alfa-network,w502u|\
arcwireless,freestation5|\
+ cudy,wr1000|\
netgear,wnce2001)
wan_mac=$(mtd_get_mac_binary factory 46)
;;
diff --git a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
index ff0b9badd1..ad81e8303d 100644
--- a/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
+++ b/target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
@@ -139,6 +139,6 @@
};
&ethernet {
- mtd-mac-address = <&factory 0x2e>;
+ mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};