kernel: add kmod-leds-turris-omnia
[openwrt/openwrt.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:=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
10 define KernelPackage/linkstation-poweroff/description
11 This driver supports turning off some Buffalo LinkStations by
12 setting an output pin at the ethernet PHY to the correct state.
13 It also makes the device compatible with the WoL function.
14 Say Y here if you have a Buffalo LinkStation LS421D/E.
15 endef
16
17 $(eval $(call KernelPackage,linkstation-poweroff))
18
19
20 define KernelPackage/leds-turris-omnia
21 SUBMENU:=$(LEDS_MENU)
22 TITLE:=LED support for CZ.NIC's Turris Omnia
23 DEPENDS:=@TARGET_mvebu_cortexa9
24 KCONFIG:=CONFIG_LEDS_TURRIS_OMNIA
25 FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-omnia.ko
26 AUTOLOAD:=$(call AutoLoad,60,leds-turris-omnia,1)
27 endef
28
29 define KernelPackage/leds-turris-omnia/description
30 This option enables support for the LEDs of the CZ.NIC Turris Omnia.
31 endef
32
33 $(eval $(call KernelPackage,leds-turris-omnia))