firmware/src/packages/fff/fff-network/mipsel
Adrian Schmutzler cb4bce7cc2 fff-network: move PORTORDER to function/library
So far, we define PORTORDER individually in each network.* file.
This creates a lot of duplications, and makes the code to parse those
values very ugly (and it's only used outside of configurenetwork
anyway).

Therefore, move the assignment to a library file, and wrap it into
a function for tidyness. This gives us more overview and nicer
implementation of the retrieval.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Christian Dresel <freifunk@dresel.systems>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2021-02-09 22:37:20 +01:00
..
network.r6220 fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
network.tl-wr841n-v13 fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
network.tplink,c50-v3 fff-network: Group network files by arch, not by target 2020-06-18 12:47:05 +02:00
network.tplink,c50-v4 fff-network: move PORTORDER to function/library 2021-02-09 22:37:20 +01:00
network.ubnt-erx fff-network: Group network files by arch, not by target 2020-06-18 12:47:05 +02:00
network.ubnt-erx-sfp fff-network: Group network files by arch, not by target 2020-06-18 12:47:05 +02:00