700-net-dsa-add-support-for-rtl838x-switch.patch 801 B

12345678910111213141516171819202122
  1. Index: linux-5.4.77/drivers/net/dsa/Kconfig
  2. ===================================================================
  3. --- linux-5.4.77.orig/drivers/net/dsa/Kconfig
  4. +++ linux-5.4.77/drivers/net/dsa/Kconfig
  5. @@ -63,6 +63,8 @@ config NET_DSA_QCA8K
  6. This enables support for the Qualcomm Atheros QCA8K Ethernet
  7. switch chips.
  8. +source "drivers/net/dsa/rtl83xx/Kconfig"
  9. +
  10. config NET_DSA_REALTEK_SMI
  11. tristate "Realtek SMI Ethernet switch family support"
  12. depends on NET_DSA
  13. Index: linux-5.4.77/drivers/net/dsa/Makefile
  14. ===================================================================
  15. --- linux-5.4.77.orig/drivers/net/dsa/Makefile
  16. +++ linux-5.4.77/drivers/net/dsa/Makefile
  17. @@ -21,3 +21,4 @@ obj-y += b53/
  18. obj-y += microchip/
  19. obj-y += mv88e6xxx/
  20. obj-y += sja1105/
  21. +obj-y += rtl83xx/