realtek: sort the port list numerically
authorBjørn Mork <bjorn@mork.no>
Mon, 29 Nov 2021 13:18:14 +0000 (14:18 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 5 Dec 2021 17:49:14 +0000 (18:49 +0100)
commitafeda4a3d37cf3f9a2001a67e24d0cdbbdbc4cde
treec88554071984b4db2ffa23905772358f36a73c73
parent4304799b4abc31e37ed91f6270322de79133dd88
realtek: sort the port list numerically

Mac adresses are assigned in the order given by the port list.  The
interfaces are also brought up in this order.  This target supports
devices with up to 52 ports.  Sorting these alphabetically is very
confusing, and assigning mac addresses in alphabetic order does not
match stock firmware behaviour.

Suggested-by: Sander Vanheule <sander@svanheule.net>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
target/linux/realtek/base-files/etc/board.d/02_network