[adm5120] fix a copy-paste error
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 OTHER_MENU:=Other modules
10
11 define KernelPackage/crc-itu-t
12 SUBMENU:=$(OTHER_MENU)
13 TITLE:=CRC ITU-T V.41 support
14 KCONFIG:=CONFIG_CRC_ITU_T
15 FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
16 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
17 endef
18
19 define KernelPackage/crc-itu-t/description
20 Kernel module for CRC ITU-T V.41 support
21 endef
22
23 $(eval $(call KernelPackage,crc-itu-t))
24
25
26 define KernelPackage/crypto
27 SUBMENU:=$(OTHER_MENU)
28 TITLE:=CryptoAPI modules
29 KCONFIG:= \
30 CONFIG_CRYPTO_HMAC=m \
31 CONFIG_CRYPTO_NULL=m \
32 CONFIG_CRYPTO_MD4=m \
33 CONFIG_CRYPTO_MD5=m \
34 CONFIG_CRYPTO_SHA1=m \
35 CONFIG_CRYPTO_SHA256=m \
36 CONFIG_CRYPTO_SHA512=m \
37 CONFIG_CRYPTO_WP512=m \
38 CONFIG_CRYPTO_TGR192=m \
39 CONFIG_CRYPTO_DES=m \
40 CONFIG_CRYPTO_BLOWFISH=m \
41 CONFIG_CRYPTO_TWOFISH=m \
42 CONFIG_CRYPTO_SERPENT=m \
43 CONFIG_CRYPTO_AES=m \
44 CONFIG_CRYPTO_CAST5=m \
45 CONFIG_CRYPTO_CAST6=m \
46 CONFIG_CRYPTO_TEA=m \
47 CONFIG_CRYPTO_ARC4=m \
48 CONFIG_CRYPTO_KHAZAD=m \
49 CONFIG_CRYPTO_ANUBIS=m \
50 CONFIG_CRYPTO_DEFLATE=m \
51 CONFIG_CRYPTO_MICHAEL_MIC=m \
52 CONFIG_CRYPTO_CRC32C=m \
53 CONFIG_CRYPTO_ECB=m \
54 CONFIG_CRYPTO_BLKCIPHER=m
55 FILES:=$(LINUX_DIR)/crypto/*.$(LINUX_KMOD_SUFFIX)
56 endef
57
58 $(eval $(call KernelPackage,crypto))
59
60
61 define KernelPackage/eeprom-93cx6
62 SUBMENU:=$(OTHER_MENU)
63 TITLE:=EEPROM 93CX6 support
64 DEPENDS:=@LINUX_2_6
65 KCONFIG:=CONFIG_EEPROM_93CX6
66 FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
67 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
68 endef
69
70 define KernelPackage/eeprom-93cx6/description
71 Kernel module for EEPROM 93CX6 support
72 endef
73
74 $(eval $(call KernelPackage,eeprom-93cx6))
75
76
77 define KernelPackage/lp
78 SUBMENU:=$(OTHER_MENU)
79 TITLE:=Parallel port and line printer support
80 DEPENDS:=@LINUX_2_4
81 KCONFIG:= \
82 CONFIG_PARPORT \
83 CONFIG_PRINTER \
84 CONFIG_PPDEV
85 FILES:= \
86 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
87 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
88 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
89 AUTOLOAD:=$(call AutoLoad,50,parport lp)
90 endef
91
92 $(eval $(call KernelPackage,lp))
93
94
95 define KernelPackage/pcmcia-core
96 SUBMENU:=$(OTHER_MENU)
97 TITLE:=PCMCIA/CardBus support
98 DEPENDS:=@PCMCIA_SUPPORT
99 KCONFIG:= \
100 CONFIG_PCMCIA \
101 CONFIG_CARDBUS
102 CONFIG_PCCARD \
103 CONFIG_YENTA \
104 CONFIG_PCCARD_NONSTATIC \
105 PCMCIA_DEBUG=n
106 endef
107
108 define KernelPackage/pcmcia-core/2.4
109 # KCONFIG:= \
110 # CONFIG_PCMCIA \
111 # CONFIG_CARDBUS
112 FILES:= \
113 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
114 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
115 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
116 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
117 endef
118
119 define KernelPackage/pcmcia-core/2.6
120 # KCONFIG:= \
121 # CONFIG_PCCARD \
122 # CONFIG_PCMCIA \
123 # CONFIG_YENTA \
124 # CONFIG_PCCARD_NONSTATIC \
125 # PCMCIA_DEBUG=n
126 FILES:= \
127 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
128 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
129 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
130 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
131 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
132 endef
133
134 define KernelPackage/pcmcia-core/au1000-2.6
135 FILES:= \
136 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
137 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
138 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
139 $(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
140 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss)
141 endef
142
143 define KernelPackage/pcmcia-core/description
144 Kernel support for PCMCIA/CardBus controllers
145 endef
146
147 $(eval $(call KernelPackage,pcmcia-core))
148
149
150 define KernelPackage/pcmcia-serial
151 SUBMENU:=$(OTHER_MENU)
152 TITLE:=Serial devices support
153 DEPENDS:=kmod-pcmcia-core
154 KCONFIG:= \
155 CONFIG_PCMCIA_SERIAL_CS \
156 CONFIG_SERIAL_8250_CS
157 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
158 endef
159
160 define KernelPackage/pcmcia-serial/2.4
161 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
162 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
163 endef
164
165 define KernelPackage/pcmcia-serial/2.6
166 # KCONFIG:=CONFIG_SERIAL_8250_CS
167 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
168 endef
169
170 define KernelPackage/pcmcia-serial/description
171 Kernel support for PCMCIA/CardBus serial devices
172 endef
173
174 $(eval $(call KernelPackage,pcmcia-serial))
175
176
177 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
178 define KernelPackage/bluetooth
179 SUBMENU:=$(OTHER_MENU)
180 TITLE:=Bluetooth support
181 DEPENDS:=@USB_SUPPORT @!TARGET_atheros @!TARGET_uml
182 KCONFIG:= \
183 CONFIG_BLUEZ \
184 CONFIG_BLUEZ_L2CAP \
185 CONFIG_BLUEZ_SCO \
186 CONFIG_BLUEZ_RFCOMM \
187 CONFIG_BLUEZ_BNEP \
188 CONFIG_BLUEZ_HCIUART \
189 CONFIG_BLUEZ_HCIUSB \
190 CONFIG_BT \
191 CONFIG_BT_L2CAP \
192 CONFIG_BT_SCO \
193 CONFIG_BT_RFCOMM \
194 CONFIG_BT_BNEP \
195 CONFIG_BT_HCIUSB \
196 CONFIG_BT_HCIUART
197 endef
198
199 define KernelPackage/bluetooth/2.4
200 # KCONFIG:= \
201 # CONFIG_BLUEZ \
202 # CONFIG_BLUEZ_L2CAP \
203 # CONFIG_BLUEZ_SCO \
204 # CONFIG_BLUEZ_RFCOMM \
205 # CONFIG_BLUEZ_BNEP \
206 # CONFIG_BLUEZ_HCIUART \
207 # CONFIG_BLUEZ_HCIUSB
208 FILES:= \
209 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
210 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
211 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
212 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
213 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
214 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
215 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
216 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
217 endef
218
219 define KernelPackage/bluetooth/2.6
220 # KCONFIG:= \
221 # CONFIG_BT \
222 # CONFIG_BT_L2CAP \
223 # CONFIG_BT_SCO \
224 # CONFIG_BT_RFCOMM \
225 # CONFIG_BT_BNEP \
226 # CONFIG_BT_HCIUSB \
227 # CONFIG_BT_HCIUART
228 FILES:= \
229 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
230 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
231 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
232 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
233 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
234 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
235 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
236 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
237 endef
238
239 define KernelPackage/bluetooth/description
240 Kernel support for Bluetooth devices
241 endef
242
243 $(eval $(call KernelPackage,bluetooth))
244
245
246 define KernelPackage/mmc
247 SUBMENU:=$(OTHER_MENU)
248 TITLE:=MMC/SD Card Support
249 DEPENDS:=@TARGET_at91
250 KCONFIG:= \
251 CONFIG_MMC \
252 CONFIG_MMC_BLOCK \
253 CONFIG_MMC_AT91
254 FILES:= \
255 $(LINUX_DIR)/drivers/mmc/mmc_core.$(LINUX_KMOD_SUFFIX) \
256 $(LINUX_DIR)/drivers/mmc/mmc_block.$(LINUX_KMOD_SUFFIX) \
257 $(LINUX_DIR)/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX)
258 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block at91_mci)
259 endef
260
261 define KernelPackage/mmc/description
262 Kernel support for MMC/SD cards
263 endef
264
265 $(eval $(call KernelPackage,mmc))
266
267
268 define KernelPackage/softdog
269 SUBMENU:=$(OTHER_MENU)
270 TITLE:=Software watchdog driver
271 KCONFIG:=CONFIG_SOFT_WATCHDOG
272 AUTOLOAD:=$(call AutoLoad,50,softdog)
273 endef
274
275 define KernelPackage/softdog/2.4
276 FILES:=$(LINUX_DIR)/drivers/char/softdog.o
277 endef
278
279 define KernelPackage/softdog/2.6
280 FILES:=$(LINUX_DIR)/drivers/char/watchdog/softdog.ko
281 endef
282
283 define KernelPackage/softdog/description
284 Software watchdog driver
285 endef
286
287 $(eval $(call KernelPackage,softdog))
288
289
290 define KernelPackage/leds-net48xx
291 SUBMENU:=$(OTHER_MENU)
292 TITLE:=Soekris Net48xx LED support
293 DEPENDS:=@TARGET_x86
294 KCONFIG:=CONFIG_LEDS_NET48XX
295 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
296 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
297 endef
298
299 define KernelPackage/leds-net48xx/description
300 Kernel module for Soekris Net48xx LEDs
301 endef
302
303 $(eval $(call KernelPackage,leds-net48xx))
304
305
306 define KernelPackage/leds-wrap
307 SUBMENU:=$(OTHER_MENU)
308 TITLE:=PCengines WRAP LED support
309 DEPENDS:=@TARGET_x86
310 KCONFIG:=CONFIG_LEDS_WRAP
311 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
312 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
313 endef
314
315 define KernelPackage/leds-wrap/description
316 Kernel module for PCengines WRAP LEDs
317 endef
318
319 $(eval $(call KernelPackage,leds-wrap))
320
321
322 define KernelPackage/nsc-gpio
323 SUBMENU:=$(OTHER_MENU)
324 TITLE:=Natsemi GPIO support
325 DEPENDS:=@TARGET_x86
326 KCONFIG:=CONFIG_NSC_GPIO
327 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
328 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
329 endef
330
331 define KernelPackage/nsc-gpio/description
332 Kernel module for Natsemi GPIO
333 endef
334
335 $(eval $(call KernelPackage,nsc-gpio))
336
337
338 define KernelPackage/scx200-gpio
339 SUBMENU:=$(OTHER_MENU)
340 TITLE:=Natsemi SCX200 GPIO support
341 DEPENDS:=@TARGET_x86 kmod-nsc-gpio
342 KCONFIG:=CONFIG_SCx200_GPIO
343 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
344 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
345 endef
346
347 define KernelPackage/scx200-gpio/description
348 Kernel module for SCX200 GPIO
349 endef
350
351 $(eval $(call KernelPackage,scx200-gpio))
352
353
354 define KernelPackage/scx200-wdt
355 SUBMENU:=$(OTHER_MENU)
356 TITLE:=Natsemi SCX200 Watchdog support
357 DEPENDS:=@TARGET_x86
358 KCONFIG:=CONFIG_SC1200_WDT
359 FILES:=$(LINUX_DIR)/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX)
360 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
361 endef
362
363 define KernelPackage/scx200-wdt/description
364 Kernel module for SCX200 Watchdog
365 endef
366
367 $(eval $(call KernelPackage,scx200-wdt))
368
369
370 define KernelPackage/hwmon
371 SUBMENU:=$(OTHER_MENU)
372 TITLE:=Hardware monitoring support
373 DEPENDS:=@LINUX_2_6
374 KCONFIG:= \
375 CONFIG_HWMON \
376 CONFIG_HWMON_VID \
377 CONFIG_HWMON_DEBUG_CHIP=n
378 FILES:= \
379 $(LINUX_DIR)/drivers/hwmon/hwmon.$(LINUX_KMOD_SUFFIX) \
380 $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX)
381 AUTOLOAD:=$(call AutoLoad,40,hwmon hwmon-vid)
382 endef
383
384 define KernelPackage/hwmon/description
385 Kernel modules for hardware monitoring
386 endef
387
388 $(eval $(call KernelPackage,hwmon))
389
390
391 define KernelPackage/hwmon-pc87360
392 SUBMENU:=$(OTHER_MENU)
393 TITLE:=PC87360 monitoring support
394 DEPENDS:=kmod-hwmon
395 KCONFIG:=CONFIG_SENSORS_PC87360
396 FILES:=$(LINUX_DIR)/drivers/hwmon/pc87360.$(LINUX_KMOD_SUFFIX)
397 AUTOLOAD:=$(call AutoLoad,50,pc87360)
398 endef
399
400 define KernelPackage/hwmon-pc87360/description
401 Kernel modules for PC87360 chips
402 endef
403
404 $(eval $(call KernelPackage,hwmon-pc87360))
405
406
407 define KernelPackage/input-core
408 SUBMENU:=$(OTHER_MENU)
409 TITLE:=Input device core
410 DEPENDS:=@LINUX_2_6
411 KCONFIG:=CONFIG_INPUT
412 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
413 AUTOLOAD:=$(call AutoLoad,50,input-core)
414 endef
415
416 define KernelPackage/input-core/description
417 Kernel modules for support of input device
418 endef
419
420 $(eval $(call KernelPackage,input-core))
421
422
423 define KernelPackage/input-evdev
424 SUBMENU:=$(OTHER_MENU)
425 TITLE:=Input even device
426 DEPENDS:=+kmod-input-core
427 KCONFIG:=CONFIG_INPUT_EVDEV
428 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
429 AUTOLOAD:=$(call AutoLoad,60,evdev)
430 endef
431
432 define KernelPackage/input-evdev/description
433 Kernel modules for support of input device events
434 endef
435
436 $(eval $(call KernelPackage,input-evdev))
This page took 0.062081 seconds and 5 git commands to generate.