aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/modules.mk
blob: 3a5e3167883a583b17d44550aa7f43e598b50176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
define KernelPackage/linkstation-poweroff
  SUBMENU:=$(OTHER_MENU)
  DEPENDS:=@TARGET_mvebu
  TITLE:=Buffalo LinkStation power off driver
  KCONFIG:= \
	CONFIG_POWER_RESET=y \
	CONFIG_POWER_RESET_LINKSTATION \
	CONFIG_POWER_RESET_QNAP=n

  FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
  AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
endef

define KernelPackage/linkstation-poweroff/description
  This driver supports turning off some Buffalo LinkStations by
  setting an output pin at the ethernet PHY to the correct state.
  It also makes the device compatible with the WoL function.
  Say Y here if you have a Buffalo LinkStation LS421D/E.
endef

$(eval $(call KernelPackage,linkstation-poweroff))