ath79: fix default config for devices with eth0/eth1 swapped
authorChuanhong Guo <gch981213@gmail.com>
Thu, 16 May 2019 04:50:10 +0000 (12:50 +0800)
committerPetr Štetiar <ynezz@true.cz>
Wed, 5 Jun 2019 08:12:31 +0000 (10:12 +0200)
commitc3a85189181827c8d5c2ab736428be30e4c13128
tree69026780b73cfda3f55af4109ca1e6888c593386
parent8dde11d521d0b02dd417877f5d9aefe7a35afa0e
ath79: fix default config for devices with eth0/eth1 swapped

also fix the following problems in this commit:
glinet,gl-ar150: This router uses an uncommon order of setting up gmacs
                 in ar71xx. gmac0 is preferred to be wan port because of
                 the additional link status info available. So this
                 router will have eth0/eth1 swapped comparing to ar71xx.
tplink,tl-wr710n-v1: same as gl-ar150
embeddedwireless,dorin: eth0 is used as switch port, which was incorrect.
                        It's correct now, so keep this one untouched.
tplink,tl-wr842n-v1: we don't swap PHYs on ar7241 so the original port order
                     is incorrect.
reorder archer-a7-v5 entry.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/base-files/etc/board.d/01_leds
target/linux/ath79/base-files/etc/board.d/02_network