3a5e3167883a583b17d44550aa7f43e598b50176
[openwrt/staging/mkresin.git] / target / linux / mvebu / modules.mk
1 define KernelPackage/linkstation-poweroff
2 SUBMENU:=$(OTHER_MENU)
3 DEPENDS:=@TARGET_mvebu
4 TITLE:=Buffalo LinkStation power off driver
5 KCONFIG:= \
6 CONFIG_POWER_RESET=y \
7 CONFIG_POWER_RESET_LINKSTATION \
8 CONFIG_POWER_RESET_QNAP=n
9
10 FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
11 AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
12 endef
13
14 define KernelPackage/linkstation-poweroff/description
15 This driver supports turning off some Buffalo LinkStations by
16 setting an output pin at the ethernet PHY to the correct state.
17 It also makes the device compatible with the WoL function.
18 Say Y here if you have a Buffalo LinkStation LS421D/E.
19 endef
20
21 $(eval $(call KernelPackage,linkstation-poweroff))