ramips: explicitly disable built-in switch for lan-only devices
authorSungbo Eo <mans0n@gorani.run>
Sat, 25 Apr 2020 09:11:12 +0000 (18:11 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Mon, 27 Apr 2020 20:54:51 +0000 (22:54 +0200)
commita1693bf626f8cd00363b0b98642b682522dfcf75
treedfa89293ac102217697c31de32733fb1374ea65b
parent1553f58a988a6bdac5549cb8652d002c945c5181
ramips: explicitly disable built-in switch for lan-only devices

Commit 8f6334eb947a ("ramips: explicitly disable built-in switch when needed")
did not fix rt288x and rt3883 devices. This patch deals with them.

While at it, consolidate duplicate cases in interface setup.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ramips/rt288x/base-files/etc/board.d/02_network
target/linux/ramips/rt305x/base-files/etc/board.d/02_network
target/linux/ramips/rt3883/base-files/etc/board.d/02_network