realtek: 6.6 copy patch net-dsa-increase-dsa-max-ports-for-rtl838x
authorMarkus Stockhausen <[email protected]>
Mon, 9 Sep 2024 06:09:01 +0000 (02:09 -0400)
committerSander Vanheule <[email protected]>
Sat, 14 Sep 2024 17:58:55 +0000 (19:58 +0200)
No content changes. As the order of the 7xx patch files seems very
strange reorder all of them according to the realtek 6.6 kernel upgrade
effort.

Signed-off-by: Markus Stockhausen <[email protected]>
target/linux/realtek/patches-6.6/700-net-dsa-increase-dsa-max-ports-for-rtl838x.patch [new file with mode: 0644]

diff --git a/target/linux/realtek/patches-6.6/700-net-dsa-increase-dsa-max-ports-for-rtl838x.patch b/target/linux/realtek/patches-6.6/700-net-dsa-increase-dsa-max-ports-for-rtl838x.patch
new file mode 100644 (file)
index 0000000..63991d3
--- /dev/null
@@ -0,0 +1,32 @@
+From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
+From: John Crispin <[email protected]>
+Date: Thu, 26 Nov 2020 12:02:21 +0100
+Subject: net: dsa: Increase max ports for rtl838x
+
+* rename the target to realtek
+* add refactored DSA driver
+* add latest gpio driver
+* lots of arch cleanups
+* new irq driver
+* additional boards
+
+Submitted-by: Bert Vermeulen <[email protected]>
+Submitted-by: Birger Koblitz <[email protected]>
+Submitted-by: Sander Vanheule <[email protected]>
+Submitted-by: Bjørn Mork <[email protected]>
+Submitted-by: John Crispin <[email protected]>
+---
+ include/linux/platform_data/dsa.h             | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/include/linux/platform_data/dsa.h
++++ b/include/linux/platform_data/dsa.h
+@@ -6,7 +6,7 @@ struct device;
+ struct net_device;
+ #define DSA_MAX_SWITCHES      4
+-#define DSA_MAX_PORTS         12
++#define DSA_MAX_PORTS         54
+ #define DSA_RTABLE_NONE               -1
+ struct dsa_chip_data {