702-net-dsa-increase-dsa-max-ports-for-rtl838x.patch 960 B

1234567891011121314151617181920212223242526272829303132
  1. From 2b88563ee5aafd9571d965b7f2093a0f58d98a31 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <[email protected]>
  3. Date: Thu, 26 Nov 2020 12:02:21 +0100
  4. Subject: net: dsa: Increase max ports for rtl838x
  5. * rename the target to realtek
  6. * add refactored DSA driver
  7. * add latest gpio driver
  8. * lots of arch cleanups
  9. * new irq driver
  10. * additional boards
  11. Submitted-by: Bert Vermeulen <[email protected]>
  12. Submitted-by: Birger Koblitz <[email protected]>
  13. Submitted-by: Sander Vanheule <[email protected]>
  14. Submitted-by: Bjørn Mork <[email protected]>
  15. Submitted-by: John Crispin <[email protected]>
  16. ---
  17. include/linux/platform_data/dsa.h | 2 +-
  18. 1 file changed, 1 insertion(+), 1 deletion(-)
  19. --- a/include/linux/platform_data/dsa.h
  20. +++ b/include/linux/platform_data/dsa.h
  21. @@ -6,7 +6,7 @@ struct device;
  22. struct net_device;
  23. #define DSA_MAX_SWITCHES 4
  24. -#define DSA_MAX_PORTS 12
  25. +#define DSA_MAX_PORTS 54
  26. #define DSA_RTABLE_NONE -1
  27. struct dsa_chip_data {