openwrt/target/linux/realtek/base-files
Paul Spooren ead7e5b4c3 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>
[Replace glob by regex to be more specific about matching characters]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2022-08-13 19:15:46 +02:00
..
etc realtek: skip SFP ports in PoE setup 2022-08-13 19:15:46 +02:00
lib/upgrade Revert "realtek: Fix failsafe mode" 2021-07-25 13:52:38 +02:00