700-swconfig.patch 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/drivers/net/phy/Kconfig
  2. +++ b/drivers/net/phy/Kconfig
  3. @@ -12,6 +12,16 @@ menuconfig PHYLIB
  4. if PHYLIB
  5. +config SWCONFIG
  6. + tristate "Switch configuration API"
  7. + ---help---
  8. + Switch configuration API using netlink. This allows
  9. + you to configure the VLAN features of certain switches.
  10. +
  11. +config SWCONFIG_LEDS
  12. + bool "Switch LED trigger support"
  13. + depends on (SWCONFIG && LEDS_TRIGGERS)
  14. +
  15. comment "MII PHY device drivers"
  16. config AT803X_PHY
  17. --- a/drivers/net/phy/Makefile
  18. +++ b/drivers/net/phy/Makefile
  19. @@ -3,6 +3,7 @@
  20. libphy-objs := phy.o phy_device.o mdio_bus.o
  21. obj-$(CONFIG_PHYLIB) += libphy.o
  22. +obj-$(CONFIG_SWCONFIG) += swconfig.o
  23. obj-$(CONFIG_MARVELL_PHY) += marvell.o
  24. obj-$(CONFIG_DAVICOM_PHY) += davicom.o
  25. obj-$(CONFIG_CICADA_PHY) += cicada.o
  26. --- a/include/uapi/linux/Kbuild
  27. +++ b/include/uapi/linux/Kbuild
  28. @@ -374,6 +374,7 @@ header-y += stddef.h
  29. header-y += string.h
  30. header-y += suspend_ioctls.h
  31. header-y += swab.h
  32. +header-y += switch.h
  33. header-y += synclink.h
  34. header-y += sysctl.h
  35. header-y += sysinfo.h