]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: dsa: make pcs a port attribute
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 3 Mar 2026 18:26:59 +0000 (19:26 +0100)
committerRobert Marko <robimarko@gmail.com>
Thu, 5 Mar 2026 09:39:34 +0000 (10:39 +0100)
commit3f65aca8500393d7b658d2b168f8d2f798060576
tree87f3117c3de5d0258b5b3460a793b7f6844856d9
parentf45235cc7c652aad38f2af7ebfec3a1ff88a2ef3
realtek: dsa: make pcs a port attribute

pcs is currently a standalone array for the pcs of each port.
Convert it to an attribute of the port structure and thus move
it where it belongs.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22255
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/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c