[OpenWrt-Devel] [PATCH 1/6] ramips: remove wan_mac setup for evaluation boards

Adrian Schmutzler freifunk at adrianschmutzler.de
Sun Dec 8 10:32:50 EST 2019


The evaluation boards do not set up a MAC address for eth0
in the first place, so it does not make sense to calculate a WAN
address from the random MAC used there.

Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 4 ----
 target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 1 -
 target/linux/ramips/mt76x8/base-files/etc/board.d/02_network | 1 -
 3 files changed, 6 deletions(-)

diff --git a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
index ef241ff801..900bbc5550 100755
--- a/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7620/base-files/etc/board.d/02_network
@@ -238,10 +238,6 @@ ramips_setup_macs()
 	phicomm,psg1218b|\
 	planex,db-wrt01|\
 	planex,mzk-750dhp|\
-	ralink,mt7620a-evb|\
-	ralink,mt7620a-mt7530-evb|\
-	ralink,mt7620a-mt7610e-evb|\
-	ralink,mt7620a-v22sg-evb|\
 	sanlinking,d240|\
 	tplink,archer-c2-v1|\
 	tplink,archer-c20-v1|\
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
index bb6e41e06f..a39dfb40f3 100755
--- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network
@@ -154,7 +154,6 @@ ramips_setup_macs()
 	firefly,firewrt|\
 	gehua,ghl-r-001|\
 	mediatek,ap-mt7621a-v60|\
-	mediatek,mt7621-eval-board|\
 	mikrotik,rb750gr3|\
 	mikrotik,rbm33g|\
 	mqmaker,witi|\
diff --git a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
index 87ce447612..f76af66f27 100755
--- a/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/mt76x8/base-files/etc/board.d/02_network
@@ -137,7 +137,6 @@ ramips_setup_macs()
 		label_mac=$(mtd_get_mac_binary factory 0x8)
 		;;
 	duzun,dm06|\
-	mediatek,mt7628an-eval-board|\
 	netgear,r6120|\
 	rakwireless,rak633|\
 	tplink,archer-c20-v4|\
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list