ath25: switch default kernel to 5.15
[openwrt/openwrt.git] / target / linux / realtek / patches-5.10 / 702-net-dsa-increase-dsa-max-ports-for-rtl838x.patch
1 From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
2 From: John Crispin <john@phrozen.org>
3 Date: Thu, 26 Nov 2020 12:02:21 +0100
4 Subject: net: dsa: Increase max ports for rtl838x
5
6 * rename the target to realtek
7 * add refactored DSA driver
8 * add latest gpio driver
9 * lots of arch cleanups
10 * new irq driver
11 * additional boards
12
13 Submitted-by: Bert Vermeulen <bert@biot.com>
14 Submitted-by: Birger Koblitz <mail@birger-koblitz.de>
15 Submitted-by: Sander Vanheule <sander@svanheule.net>
16 Submitted-by: Bjørn Mork <bjorn@mork.no>
17 Submitted-by: John Crispin <john@phrozen.org>
18 ---
19 include/linux/platform_data/dsa.h | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 --- a/include/linux/platform_data/dsa.h
23 +++ b/include/linux/platform_data/dsa.h
24 @@ -6,7 +6,7 @@ struct device;
25 struct net_device;
26
27 #define DSA_MAX_SWITCHES 4
28 -#define DSA_MAX_PORTS 12
29 +#define DSA_MAX_PORTS 54
30 #define DSA_RTABLE_NONE -1
31
32 struct dsa_chip_data {