modules.mk 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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/turris-omnia-mcu
  17. SUBMENU:=$(OTHER_MENU)
  18. TITLE:=CZ.NIC's Turris Omnia MCU driver
  19. DEPENDS:=@TARGET_mvebu_cortexa9
  20. KCONFIG:= \
  21. CONFIG_CZNIC_PLATFORMS=y \
  22. CONFIG_TURRIS_OMNIA_MCU
  23. FILES:=$(LINUX_DIR)/drivers/platform/cznic/turris-omnia-mcu.ko
  24. AUTOLOAD:=$(call AutoProbe,turris-omnia-mcu,1)
  25. endef
  26. define KernelPackage/turris-omnia-mcu/description
  27. This adds support for the features implemented by the microcontroller
  28. on the CZ.NIC's Turris Omnia SOHO router, including true board
  29. poweroff, the ability to configure wake up from powered off state at
  30. a specific time, MCU watchdog and MCU connected GPIO pins.
  31. endef
  32. $(eval $(call KernelPackage,turris-omnia-mcu))
  33. define KernelPackage/leds-turris-omnia
  34. SUBMENU:=$(LEDS_MENU)
  35. TITLE:=LED support for CZ.NIC's Turris Omnia
  36. DEPENDS:=@TARGET_mvebu_cortexa9
  37. KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
  38. FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
  39. AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)
  40. endef
  41. define KernelPackage/leds-turris-omnia/description
  42. This option enables support for the LEDs of the CZ.NIC Turris Omnia.
  43. endef
  44. $(eval $(call KernelPackage,leds-turris-omnia))