1
0

726-phy_rtl8366.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- a/drivers/net/phy/Kconfig
  2. +++ b/drivers/net/phy/Kconfig
  3. @@ -250,6 +250,30 @@ config MDIO_BCM_UNIMAC
  4. controllers as well as some Broadcom Ethernet switches such as the
  5. Starfighter 2 switches.
  6. +config RTL8366_SMI
  7. + tristate "Driver for the RTL8366 SMI interface"
  8. + depends on GPIOLIB
  9. + ---help---
  10. + This module implements the SMI interface protocol which is used
  11. + by some RTL8366 ethernet switch devices via the generic GPIO API.
  12. +
  13. +if RTL8366_SMI
  14. +
  15. +config RTL8366_SMI_DEBUG_FS
  16. + bool "RTL8366 SMI interface debugfs support"
  17. + depends on DEBUG_FS
  18. + default n
  19. +
  20. +config RTL8366S_PHY
  21. + tristate "Driver for the Realtek RTL8366S switch"
  22. + select SWCONFIG
  23. +
  24. +config RTL8366RB_PHY
  25. + tristate "Driver for the Realtek RTL8366RB switch"
  26. + select SWCONFIG
  27. +
  28. +endif # RTL8366_SMI
  29. +
  30. endif # PHYLIB
  31. config MICREL_KS8995MA
  32. --- a/drivers/net/phy/Makefile
  33. +++ b/drivers/net/phy/Makefile
  34. @@ -24,6 +24,9 @@ obj-$(CONFIG_IP17XX_PHY) += ip17xx.o
  35. obj-$(CONFIG_REALTEK_PHY) += realtek.o
  36. obj-$(CONFIG_AR8216_PHY) += ar8216.o ar8327.o
  37. obj-$(CONFIG_RTL8306_PHY) += rtl8306.o
  38. +obj-$(CONFIG_RTL8366_SMI) += rtl8366_smi.o
  39. +obj-$(CONFIG_RTL8366S_PHY) += rtl8366s.o
  40. +obj-$(CONFIG_RTL8366RB_PHY) += rtl8366rb.o
  41. obj-$(CONFIG_LSI_ET1011C_PHY) += et1011c.o
  42. obj-$(CONFIG_FIXED_PHY) += fixed.o
  43. obj-$(CONFIG_MDIO_BITBANG) += mdio-bitbang.o