ipq40xx: enable FRITZRepeater 3000 ports on switch
authorDavid Bauer <mail@david-bauer.net>
Tue, 15 Sep 2020 09:19:14 +0000 (11:19 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 17 Sep 2020 16:08:46 +0000 (18:08 +0200)
commit056945faa4dd611298979767978f4bb2a52cabc0
tree2f449229812833ade063d0441b52352b48489bf3
parentb7da0d294465d5ab8d923f3b8265ece0a5847ac3
ipq40xx: enable FRITZRepeater 3000 ports on switch

The ethernet ports on the AVM FRITZRepeater 3000 are not separated
between LAN and WAN in the stock firmware. OpenWrt currently abstracts
port 4 as eth0 and port 5 as eth1, bridging them in the kernel.

This patch adjusts the GMAC port bitmasks and default bitmask for ar40xx
to bridge them on the switch, avoiding traffic on both ports to pass
thru the CPU.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ipq40xx/base-files/etc/board.d/02_network
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts