lantiq: reorganize 02_network board.d files
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 17 Dec 2019 13:37:26 +0000 (14:37 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 14 Jan 2020 21:04:44 +0000 (22:04 +0100)
commit2fe464a712f8da597475d63a0ad28ec678eb404a
tree8dd8bdff4c78a56d63b2c4ea38c519ff49b28aad
parent18e089aaed58cb474c40b63da8562d7805f8b776
lantiq: reorganize 02_network board.d files

This reorganizes 02_network board.d files based on what's done for
ath79 and ramips: Instead of putting all settings into a single big
case, the interface/dsl/MAC address setup is put into separate
functions with a specific switch case for each of them. This makes
grouping of devices much easier and should be easier to read, too.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/lantiq/ase/base-files/etc/board.d/02_network
target/linux/lantiq/falcon/base-files/etc/board.d/02_network
target/linux/lantiq/xrx200/base-files/etc/board.d/02_network
target/linux/lantiq/xway/base-files/etc/board.d/02_network
target/linux/lantiq/xway_legacy/base-files/etc/board.d/02_network