ar71xx: fix MAC address setup for TL-WDR4300 board
authorSungbo Eo <mans0n@gorani.run>
Sun, 15 Dec 2019 09:10:18 +0000 (18:10 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 20 Dec 2019 23:32:32 +0000 (00:32 +0100)
commitc3337e8f48701fa5070d6224cf7669da054c7098
tree53c54dd5ba039cae475217aec52339da7e202402
parentd08a63770c69a6e4a3014246c74245ab41795e3e
ar71xx: fix MAC address setup for TL-WDR4300 board

The current ethernet MAC address setup of TL-WDR4300 board is different
from the setup of stock firmware:

OpenWrt: lan = label_mac -2, wan = label_mac -2
  stock: lan = label_mac,    wan = label_mac +1

This patch applies to all devices using TL-WDR4300 board:
TL-WDR3600 v1
TL-WDR4300 v1
TL-WDR4300 v1 (IL)
TL-WDR4310 v1
Mercury MW4530R v1

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
(cherry picked from commit 9b02d32e34df2bb8821ec6f08f525bee22d0d1ba)
target/linux/ar71xx/base-files/etc/board.d/02_network
target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c