500-net-broadcom-add-BCM6368-enetsw-controller-driver.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 590b60fb08cb1e70fe02d3f407c6b3dbe9ad06ff Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <[email protected]>
  3. Date: Mon, 1 Mar 2021 07:34:39 +0100
  4. Subject: [PATCH] net: broadcom: add BCM6368 enetsw controller driver
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
  9. SoCs.
  10. Signed-off-by: Álvaro Fernández Rojas <[email protected]>
  11. ---
  12. drivers/net/ethernet/broadcom/Kconfig | 8 ++++++++
  13. drivers/net/ethernet/broadcom/Makefile | 1 +
  14. 2 files changed, 9 insertions(+)
  15. --- a/drivers/net/ethernet/broadcom/Kconfig
  16. +++ b/drivers/net/ethernet/broadcom/Kconfig
  17. @@ -68,6 +68,14 @@ config BCM63XX_ENET
  18. This driver supports the ethernet MACs in the Broadcom 63xx
  19. MIPS chipset family (BCM63XX).
  20. +config BCM6368_ENETSW
  21. + tristate "Broadcom BCM6368 internal mac support"
  22. + depends on BMIPS_GENERIC || COMPILE_TEST
  23. + default y
  24. + help
  25. + This driver supports Ethernet controller integrated into Broadcom
  26. + BCM6368 family SoCs.
  27. +
  28. config BCMGENET
  29. tristate "Broadcom GENET internal MAC support"
  30. depends on HAS_IOMEM
  31. --- a/drivers/net/ethernet/broadcom/Makefile
  32. +++ b/drivers/net/ethernet/broadcom/Makefile
  33. @@ -6,6 +6,7 @@
  34. obj-$(CONFIG_B44) += b44.o
  35. obj-$(CONFIG_BCM4908_ENET) += bcm4908_enet.o
  36. obj-$(CONFIG_BCM63XX_ENET) += bcm63xx_enet.o
  37. +obj-$(CONFIG_BCM6368_ENETSW) += bcm6368-enetsw.o
  38. obj-$(CONFIG_BCMGENET) += genet/
  39. obj-$(CONFIG_BNX2) += bnx2.o
  40. obj-$(CONFIG_CNIC) += cnic.o