diff options
author | Shiji Yang <yangshiji66@qq.com> | 2021-02-22 23:44:18 +0800 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-22 17:33:43 +0100 |
commit | 64ca28a881315768e6dc036362865c66dd0d165a (patch) | |
tree | ae6f78a6fb34cc74e41ced591a0834f662310e08 /target/linux/ramips/mt7620/base-files/etc | |
parent | 4b3958da39809bd58e6fa64fc392ae69d0d55b29 (diff) | |
download | upstream-64ca28a881315768e6dc036362865c66dd0d165a.tar.gz upstream-64ca28a881315768e6dc036362865c66dd0d165a.tar.bz2 upstream-64ca28a881315768e6dc036362865c66dd0d165a.zip |
ramips: correct/add Phicomm K2x WAN/label MAC address
Phicomm K2G:
add missing label_mac
Phicomm PSG1218A & PSG1218B:
The previous wan mac was set as factory@0x28 +1 (originally based
on the default case for the ramips target), but the correct wan mac
is factory@0x28 -1, being equal to factory@0x2e.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
[minor commit title/message adjustments]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
(cherry picked from commit 55263ffedbe1d20f005febbc973a7353240d1741)
Diffstat (limited to 'target/linux/ramips/mt7620/base-files/etc')
-rwxr-xr-x | target/linux/ramips/mt7620/base-files/etc/board.d/02_network | 8 |
1 files changed, 4 insertions, 4 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 e884390c31..83ada20eb5 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 @@ -264,8 +264,6 @@ ramips_setup_macs() ;; alfa-network,ac1200rm|\ dlink,dir-810l|\ - phicomm,psg1218a|\ - phicomm,psg1218b|\ trendnet,tew-810dr) wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 0x28)" 1) ;; @@ -328,14 +326,16 @@ ramips_setup_macs() iptime,a104ns) wan_mac=$(macaddr_add "$(mtd_get_mac_binary u-boot 0x1fc20)" 2) ;; - lb-link,bl-w1200) + lb-link,bl-w1200|\ + phicomm,k2g|\ + phicomm,psg1218a|\ + phicomm,psg1218b) wan_mac=$(mtd_get_mac_binary factory 0x2e) label_mac=$wan_mac ;; lenovo,newifi-y1|\ lenovo,newifi-y1s|\ ohyeah,oy-0001|\ - phicomm,k2g|\ wavlink,wl-wn530hg4) wan_mac=$(mtd_get_mac_binary factory 0x2e) ;; |