From 38866f275de6e19811415acc1c46f730108eeba5 Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Sun, 8 Dec 2019 13:23:56 +0100 Subject: [PATCH] ramips: remove wan_mac setup for evaluation boards 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 --- 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 ef241ff801a..900bbc5550f 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 53a8868382f..e7e225a1486 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 87ce447612f..f76af66f27e 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.30.2