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:31:39 +0000 (00:31 +0100)
commit27eea249213b04a372491009850926f9282d132e
treeb8715e5e851e928e7d66c195fc64e71c023eed91
parent9bdd3d39ad9af8f8fb55c7b68c7267f990ff2b7c
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