realtek: 6.6: change to current dsa structures
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 22 Aug 2024 05:55:36 +0000 (01:55 -0400)
committerSander Vanheule <sander@svanheule.net>
Sat, 14 Sep 2024 18:08:24 +0000 (20:08 +0200)
commit86deef6158befc7c47deb9ea1f7d521faf764ec5
treee7de073dedaf5c361cdbf84fbfbde53c8a0d474f
parent94f8eedfd94596a0e8f2d147bfa365d218e48471
realtek: 6.6: change to current dsa structures

The DSA framework has changed a bit since 6.1, lets adapt to match.
Currently there is no one-patch-fits-all solution to directly fix
all errors up to 6.6. So cover the final differences with this
second patch.

Most notable upstream changes are:
  - a88dd7538461 ("net: dsa: remove legacy_pre_march2020 detection")
  - 53d04b981110 ("net: dsa: remove phylink_validate() method")

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
[Minor checkpatch.pl cleanups]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.6/drivers/net/dsa/rtl83xx/rtl838x.h