5329dcad5994b3549b7867c36f53ec1015ce7de5
[openwrt/staging/981213.git] / target / linux / rtl838x / patches-5.4 / 702-net-dsa-increase-dsa-max-ports-for-rtl838x.patch
1 Index: linux-5.4.24/include/linux/platform_data/dsa.h
2 ===================================================================
3 --- linux-5.4.24.orig/include/linux/platform_data/dsa.h
4 +++ linux-5.4.24/include/linux/platform_data/dsa.h
5 @@ -6,7 +6,7 @@ struct device;
6 struct net_device;
7
8 #define DSA_MAX_SWITCHES 4
9 -#define DSA_MAX_PORTS 12
10 +#define DSA_MAX_PORTS 54
11 #define DSA_RTABLE_NONE -1
12
13 struct dsa_chip_data {