ramips: fix switch and MAC address for WHR-G300N
authorINAGAKI Hiroshi <[email protected]>
Fri, 23 Mar 2018 05:59:39 +0000 (14:59 +0900)
committerMathias Kresin <[email protected]>
Fri, 23 Mar 2018 19:31:49 +0000 (20:31 +0100)
commite3bf92edf5564cf72de8234b32364f0d4919524f
treea07c6875e25d2e8abe6e96576e06ee0cc9ea088e
parent7004f681cd55e3ef38f2c705bd842c627ba45ce7
ramips: fix switch and MAC address for WHR-G300N

WHR-G300N has 5 ethernet ports (lan: 4, wan: 1), but there was no
correct configuration in 02_network script and 6 ports was configured
on the switch.
Also, since the MAC address was not acquired from factory partition,
incorrect values was set to LAN and WAN interfaces.

This commit fixes these issues.

Signed-off-by: INAGAKI Hiroshi <[email protected]>
target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/dts/WHR-G300N.dts