705-add-rtl-phy.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From 89f71ebb355c624320c2b0ace8ae9488ff53cbeb Mon Sep 17 00:00:00 2001
  2. From: Birger Koblitz <[email protected]>
  3. Date: Tue, 5 Jan 2021 20:40:52 +0100
  4. Subject: PHY: Add realtek PHY
  5. This fixes the build problems for the REALTEK target by adding a proper
  6. configuration option for the phy module.
  7. Submitted-by: Birger Koblitz <[email protected]>
  8. ---
  9. drivers/net/phy/Kconfig | 6 ++++++
  10. drivers/net/phy/Makefile | 1 +
  11. 2 files changed, 7 insertions(+)
  12. --- a/drivers/net/phy/Kconfig
  13. +++ b/drivers/net/phy/Kconfig
  14. @@ -354,6 +354,12 @@ config REALTEK_PHY
  15. help
  16. Supports the Realtek 821x PHY.
  17. +config REALTEK_SOC_PHY
  18. + tristate "Realtek SoC PHYs"
  19. + depends on RTL83XX
  20. + help
  21. + Supports the PHYs found in combination with Realtek Switch SoCs
  22. +
  23. config RENESAS_PHY
  24. tristate "Renesas PHYs"
  25. help
  26. --- a/drivers/net/phy/Makefile
  27. +++ b/drivers/net/phy/Makefile
  28. @@ -89,6 +89,7 @@ obj-$(CONFIG_NXP_C45_TJA11XX_PHY) += nxp
  29. obj-$(CONFIG_NXP_TJA11XX_PHY) += nxp-tja11xx.o
  30. obj-$(CONFIG_QSEMI_PHY) += qsemi.o
  31. obj-$(CONFIG_REALTEK_PHY) += realtek.o
  32. +obj-$(CONFIG_REALTEK_SOC_PHY) += rtl83xx-phy.o
  33. obj-$(CONFIG_RENESAS_PHY) += uPD60620.o
  34. obj-$(CONFIG_ROCKCHIP_PHY) += rockchip.o
  35. obj-$(CONFIG_SMSC_PHY) += smsc.o