modules.mk 668 B

1234567891011121314151617
  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))