Some devices had to be disabled starting with OpenWrt 21.02 due to their new DSA switch drivers. As support for DSA configuration has since been added to fff-network, this makes use of this configuration for devices with DSA drivers. Signed-off-by: Fabian Bläse <fabian@blaese.de> Tested-by: Fabian Bläse <fabian@blaese.de>
11 lines
203 B
Plaintext
11 lines
203 B
Plaintext
. /lib/functions/fff/network
|
|
|
|
WANDEV=switch0
|
|
SWITCHDEV=switch0
|
|
CLIENT_PORTS="lan1 lan2"
|
|
WAN_PORTS="wan"
|
|
BATMAN_PORTS="lan3 lan4"
|
|
DSA=1
|
|
|
|
ETHMESHMAC=$(macFlipLocalBit "$(cat /sys/class/net/eth0/address)")
|