From: Davide Fioravanti Date: Sat, 10 Aug 2019 22:38:53 +0000 (+0200) Subject: ramips: fix lan and wan mac addresses for Cudy WR1000 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0891358e4b71ff74226d5b8378bfb3c0cb7e666c;p=openwrt%2Fstaging%2Fjow.git 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 --- 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 @@ }; ðernet { - mtd-mac-address = <&factory 0x2e>; + mtd-mac-address = <&factory 0x28>; mediatek,portmap = "llllw"; };