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)
committerRISCi_ATOM <bob@bobcall.me>
Sun, 22 Dec 2019 11:48:42 +0000 (06:48 -0500)
commiteda8e6b8efccad268074dad98a640896f01f39f2
tree2dc7af178ee7509c46e8dea0715eaecc33f199a8
parentc812516ac0511ae2f56485ffe1d71d20de2e29ee
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