ramips: fix network setup for various NETGEAR boards
authorDavid Bauer <mail@david-bauer.net>
Fri, 30 Aug 2019 20:41:18 +0000 (22:41 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 6 Sep 2019 22:59:41 +0000 (00:59 +0200)
commit15d84131fe3e98de546f95e0f96f00d3c11fba38
tree673bba97d38dea676f191aeb03cb36d429327c45
parentf057133349847929080af18ac7687e19d125b7dd
ramips: fix network setup for various NETGEAR boards

There are currently the following issues present for the Netgear R6220,
R6350 and WNDR3700 v5:

 - LAN and WAN MAC-addresses are inverted
 - WAN MAC-address is off. It are +2 compared to the LAN MAC-address
   (R6350 only)
 - Switchport order is inverted in LuCi

This commit fixes both these issues by assigning correct MAC-addresses
to LAN and WAN interfaces and defining the switchports with the correct
labels.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 13937a16d40693df67d3d39faa3a80644bdb7abf)
target/linux/ramips/base-files/etc/board.d/02_network