pse-pd.mk 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. PSE_MENU:=PSE-PD / PoE support
  8. define KernelPackage/pse-pd
  9. SUBMENU:=$(PSE_MENU)
  10. TITLE:=PSE-PD Support
  11. DEPENDS:=@REGULATOR_SUPPORT @!SMALL_FLASH
  12. KCONFIG:=CONFIG_PSE_CONTROLLER=y
  13. endef
  14. define KernelPackage/pse-pd/description
  15. Kernel module for PSE-PD support.
  16. endef
  17. $(eval $(call KernelPackage,pse-pd))
  18. define AddDepends/pse-pd
  19. SUBMENU:=$(PSE_MENU)
  20. DEPENDS+=kmod-pse-pd $(1)
  21. endef
  22. define KernelPackage/pse-regulator
  23. SUBMENU:=$(PSE_MENU)
  24. TITLE:=Regulator based PSE controller support
  25. KCONFIG:=CONFIG_PSE_REGULATOR
  26. FILES:=$(LINUX_DIR)/drivers/net/pse-pd/pse_regulator.ko
  27. AUTOLOAD:=$(call AutoProbe,pse_regulator)
  28. $(call AddDepends/pse-pd)
  29. endef
  30. define KernelPackage/pse-regulator/description
  31. This module provides support for simple regulator based Ethernet Power \
  32. Sourcing Equipment without automatic classification support. For \
  33. example for basic implementation of PoDL (802.3bu) specification.
  34. endef
  35. $(eval $(call KernelPackage,pse-regulator))
  36. define KernelPackage/pse-pd692x0
  37. SUBMENU:=$(PSE_MENU)
  38. TITLE:=PD692X0 PSE controller support
  39. KCONFIG:=CONFIG_PSE_PD692X0
  40. DEPENDS:=+kmod-i2c-core
  41. FILES:=$(LINUX_DIR)/drivers/net/pse-pd/pd692x0.ko
  42. AUTOLOAD:=$(call AutoProbe,pd692x0)
  43. $(call AddDepends/pse-pd)
  44. endef
  45. define KernelPackage/pse-pd692x0/description
  46. Kernel module for PD692X0 PSE controller chips
  47. endef
  48. $(eval $(call KernelPackage,pse-pd692x0))
  49. define KernelPackage/pse-si3474
  50. SUBMENU:=$(PSE_MENU)
  51. TITLE:=Si3474 PSE controller support
  52. KCONFIG:=CONFIG_PSE_SI3474
  53. DEPENDS:=+kmod-i2c-core
  54. FILES:=$(LINUX_DIR)/drivers/net/pse-pd/si3474.ko
  55. AUTOLOAD:=$(call AutoProbe,si3474)
  56. $(call AddDepends/pse-pd)
  57. endef
  58. define KernelPackage/pse-si3474/description
  59. Kernel module for Si3474 PSE controller chips
  60. endef
  61. $(eval $(call KernelPackage,pse-si3474))
  62. define KernelPackage/pse-tps23881
  63. SUBMENU:=$(PSE_MENU)
  64. TITLE:=TPS23881 PSE controller support
  65. KCONFIG:=CONFIG_PSE_TPS23881
  66. DEPENDS:=+kmod-i2c-core
  67. FILES:=$(LINUX_DIR)/drivers/net/pse-pd/tps23881.ko
  68. AUTOLOAD:=$(call AutoProbe,tps23881)
  69. $(call AddDepends/pse-pd)
  70. endef
  71. define KernelPackage/pse-tps23881/description
  72. Kernel module for TPS23881 PSE controller chips
  73. endef
  74. $(eval $(call KernelPackage,pse-tps23881))