kernel: add disabled POWER_RESET_QNAP
[openwrt/staging/nbd.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
9 FILES:=$(LINUX_DIR)/drivers/power/reset/linkstation-poweroff.ko
10 AUTOLOAD:=$(call AutoLoad,31,linkstation-poweroff,1)
11 endef
12
13 define KernelPackage/linkstation-poweroff/description
14 This driver supports turning off some Buffalo LinkStations by
15 setting an output pin at the ethernet PHY to the correct state.
16 It also makes the device compatible with the WoL function.
17 Say Y here if you have a Buffalo LinkStation LS421D/E.
18 endef
19
20 $(eval $(call KernelPackage,linkstation-poweroff))