realtek: skip SFP ports in PoE setup realtek-skip
authorPaul Spooren <mail@aparcar.org>
Sat, 30 Jul 2022 18:25:32 +0000 (20:25 +0200)
committerPaul Spooren <mail@aparcar.org>
Sat, 30 Jul 2022 19:24:02 +0000 (21:24 +0200)
commit7e5313d44aa44b1ea9272a2dab1a173069e0cb3c
tree3776c371d2d7b3a0e2991cdfdeec83e457d7234d
parentdbe53352e38d20bb5245158b19d4ff810c209548
realtek: skip SFP ports in PoE setup

The function `ucidef_set_poe` receives a list of ports to add to the PoE array.
Since switches have many ports the varibale `lan_list` is passed instead of
writing every single lan port. However, this list includes partly SFP ports
which are unrelated to PoE.

This commits adds the option to add a third parameter to manually exclide
interfaces, usually the last two.

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/linux/realtek/base-files/etc/board.d/02_network