]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: derive dsa port count and irq mask from cpu port 22068/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 17 Feb 2026 18:19:22 +0000 (19:19 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Feb 2026 19:33:28 +0000 (20:33 +0100)
commit75c772899c7a655b658577f63f3777ded2568890
treefd31d7bf6ed99086d920a2bff6fd257ba26fa1b7
parent9a0bd2d1aabebb0845a8761929677561ea9fa44d
realtek: dsa: derive dsa port count and irq mask from cpu port

Avoid a family_id check and derive the values from the cpu port.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22068
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c