]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: move port_ignore constant to config 22026/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Sat, 14 Feb 2026 20:33:54 +0000 (21:33 +0100)
committerRobert Marko <robimarko@gmail.com>
Mon, 16 Feb 2026 14:48:22 +0000 (15:48 +0100)
commitbc3b41767ddd7854067ed90341183491d88a5c06
tree925a207e33890a1520a0e485a96ea54df12ebcaf
parent6d82a50575d516c04d1565b2953e9349a8e4eaaa
realtek: dsa: move port_ignore constant to config

Device specific constants belong into the config structure.
No need to initialize them manually during probing within a
family_id switch statement. Although there are lots of constants
that need to be converted start with port_ignore as a simple one.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22026
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c