[kernel] add missing autoload shortcut to crypto modules for btrfs
[openwrt.git] / package / kernel / modules / leds.mk
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 LEDS_MENU:=LED modules
9
10
11 define KernelPackage/leds-gpio
12 SUBMENU:=$(LEDS_MENU)
13 TITLE:=GPIO LED support
14 DEPENDS:= @GPIO_SUPPORT
15 KCONFIG:=CONFIG_LEDS_GPIO
16 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
17 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
18 endef
19
20 define KernelPackage/leds-gpio/description
21 Kernel module for LEDs on GPIO lines
22 endef
23
24 $(eval $(call KernelPackage,leds-gpio))
25
26
27 define KernelPackage/leds-net48xx
28 SUBMENU:=$(LEDS_MENU)
29 TITLE:=Soekris Net48xx LED support
30 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
31 KCONFIG:=CONFIG_LEDS_NET48XX
32 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
33 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
34 endef
35
36 define KernelPackage/leds-net48xx/description
37 Kernel module for Soekris Net48xx LEDs
38 endef
39
40 $(eval $(call KernelPackage,leds-net48xx))
41
42
43 define KernelPackage/leds-rb750
44 SUBMENU:=$(LEDS_MENU)
45 TITLE:=RouterBOARD 750 LED support
46 DEPENDS:=@TARGET_ar71xx
47 KCONFIG:=CONFIG_LEDS_RB750
48 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
49 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
50 endef
51
52 define KernelPackage/leds-rb750/description
53 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
54 endef
55
56 $(eval $(call KernelPackage,leds-rb750))
57
58
59 define KernelPackage/leds-wndr3700-usb
60 SUBMENU:=$(LEDS_MENU)
61 TITLE:=WNDR3700 USB LED support
62 DEPENDS:=@TARGET_ar71xx
63 KCONFIG:=CONFIG_LEDS_WNDR3700_USB
64 FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
65 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
66 endef
67
68 define KernelPackage/leds-wndr3700-usb/description
69 Kernel module for the USB LED on the NETGWR WNDR3700 board.
70 endef
71
72 $(eval $(call KernelPackage,leds-wndr3700-usb))
73
74
75 define KernelPackage/leds-wrap
76 SUBMENU:=$(LEDS_MENU)
77 TITLE:=PCengines WRAP LED support
78 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
79 KCONFIG:=CONFIG_LEDS_WRAP
80 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
81 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
82 endef
83
84 define KernelPackage/leds-wrap/description
85 Kernel module for PCengines WRAP LEDs
86 endef
87
88 $(eval $(call KernelPackage,leds-wrap))
89
90
91 define KernelPackage/ledtrig-heartbeat
92 SUBMENU:=$(LEDS_MENU)
93 TITLE:=LED Heartbeat Trigger
94 KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT
95 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-heartbeat.ko
96 AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat)
97 endef
98
99 define KernelPackage/ledtrig-gpio/description
100 Kernel module that allows LEDs to blink like heart beat
101 endef
102
103 $(eval $(call KernelPackage,ledtrig-heartbeat))
104
105
106 define KernelPackage/ledtrig-gpio
107 SUBMENU:=$(LEDS_MENU)
108 TITLE:=LED GPIO Trigger
109 KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
110 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko
111 AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
112 endef
113
114 define KernelPackage/ledtrig-gpio/description
115 Kernel module that allows LEDs to be controlled by gpio events.
116 endef
117
118 $(eval $(call KernelPackage,ledtrig-gpio))
119
120
121 define KernelPackage/ledtrig-morse
122 SUBMENU:=$(LEDS_MENU)
123 TITLE:=LED Morse Trigger
124 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
125 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
126 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
127 endef
128
129 define KernelPackage/ledtrig-morse/description
130 Kernel module to show morse coded messages on LEDs.
131 endef
132
133 $(eval $(call KernelPackage,ledtrig-morse))
134
135
136 define KernelPackage/ledtrig-netdev
137 SUBMENU:=$(LEDS_MENU)
138 TITLE:=LED NETDEV Trigger
139 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
140 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
141 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
142 endef
143
144 define KernelPackage/ledtrig-netdev/description
145 Kernel module to drive LEDs based on network activity.
146 endef
147
148 $(eval $(call KernelPackage,ledtrig-netdev))
149
150
151 define KernelPackage/ledtrig-netfilter
152 SUBMENU:=$(LEDS_MENU)
153 TITLE:=LED NetFilter Trigger
154 DEPENDS:=kmod-ipt-core
155 KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED
156 FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko
157 AUTOLOAD:=$(call AutoLoad,50,xt_LED)
158 endef
159
160 define KernelPackage/ledtrig-netfilter/description
161 Kernel module to flash LED when a particular packets passing through your machine.
162
163 For example to create an LED trigger for incoming SSH traffic:
164 iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
165 Then attach the new trigger to an LED on your system:
166 echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
167 endef
168
169 $(eval $(call KernelPackage,ledtrig-netfilter))
170
171
172 define KernelPackage/ledtrig-usbdev
173 SUBMENU:=$(LEDS_MENU)
174 TITLE:=LED USB device Trigger
175 DEPENDS:=@USB_SUPPORT +kmod-usb-core
176 KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
177 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
178 AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
179 endef
180
181 define KernelPackage/ledtrig-usbdev/description
182 Kernel module to drive LEDs based on USB device presence/activity.
183 endef
184
185 $(eval $(call KernelPackage,ledtrig-usbdev))
This page took 0.046699 seconds and 5 git commands to generate.