modules.mk 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. define KernelPackage/linkstation-poweroff
  2. SUBMENU:=$(OTHER_MENU)
  3. DEPENDS:=@TARGET_mvebu
  4. TITLE:=Buffalo LinkStation power off driver
  5. KCONFIG:=CONFIG_POWER_RESET_LINKSTATION
  6. FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
  7. AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
  8. endef
  9. define KernelPackage/linkstation-poweroff/description
  10. This driver supports turning off some Buffalo LinkStations by
  11. setting an output pin at the ethernet PHY to the correct state.
  12. It also makes the device compatible with the WoL function.
  13. Say Y here if you have a Buffalo LinkStation LS421D/E.
  14. endef
  15. $(eval $(call KernelPackage,linkstation-poweroff))
  16. define KernelPackage/leds-turris-omnia
  17. SUBMENU:=$(LEDS_MENU)
  18. TITLE:=LED support for CZ.NIC's Turris Omnia
  19. DEPENDS:=@TARGET_mvebu_cortexa9
  20. KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
  21. FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
  22. AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)
  23. endef
  24. define KernelPackage/leds-turris-omnia/description
  25. This option enables support for the LEDs of the CZ.NIC Turris Omnia.
  26. endef
  27. $(eval $(call KernelPackage,leds-turris-omnia))