86b02a40f08c3ffcbdee5fdf05a466bdd6a957ce
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006-2009 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 OTHER_MENU:=Other modules
9
10 define KernelPackage/crc-itu-t
11 SUBMENU:=$(OTHER_MENU)
12 TITLE:=CRC ITU-T V.41 support
13 KCONFIG:=CONFIG_CRC_ITU_T
14 FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
15 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
16 endef
17
18 define KernelPackage/crc-itu-t/description
19 Kernel module for CRC ITU-T V.41 support
20 endef
21
22 $(eval $(call KernelPackage,crc-itu-t))
23
24 define KernelPackage/crc-ccitt
25 SUBMENU:=$(OTHER_MENU)
26 TITLE:=CRC-CCITT support
27 KCONFIG:=CONFIG_CRC_CCITT
28 FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
29 AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
30 endef
31
32 define KernelPackage/crc-ccitt/description
33 Kernel module for CRC-CCITT support
34 endef
35
36 $(eval $(call KernelPackage,crc-ccitt))
37
38
39 define KernelPackage/crc7
40 SUBMENU:=$(OTHER_MENU)
41 TITLE:=CRC7 support
42 KCONFIG:=CONFIG_CRC7
43 FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
44 AUTOLOAD:=$(call AutoLoad,20,crc7)
45 endef
46
47 define KernelPackage/crc7/description
48 Kernel module for CRC7 support
49 endef
50
51 $(eval $(call KernelPackage,crc7))
52
53
54 define KernelPackage/crc16
55 SUBMENU:=$(OTHER_MENU)
56 TITLE:=CRC16 support
57 KCONFIG:=CONFIG_CRC16
58 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
59 AUTOLOAD:=$(call AutoLoad,20,crc16)
60 endef
61
62 define KernelPackage/crc16/description
63 Kernel module for CRC16 support
64 endef
65
66 $(eval $(call KernelPackage,crc16))
67
68
69 define KernelPackage/eeprom-93cx6
70 SUBMENU:=$(OTHER_MENU)
71 TITLE:=EEPROM 93CX6 support
72 DEPENDS:=@LINUX_2_6
73 KCONFIG:=CONFIG_EEPROM_93CX6
74 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.29)),1)
75 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
76 else
77 FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
78 endif
79 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
80 endef
81
82 define KernelPackage/eeprom-93cx6/description
83 Kernel module for EEPROM 93CX6 support
84 endef
85
86 $(eval $(call KernelPackage,eeprom-93cx6))
87
88
89 define KernelPackage/lp
90 SUBMENU:=$(OTHER_MENU)
91 TITLE:=Parallel port and line printer support
92 DEPENDS:=@LINUX_2_4
93 KCONFIG:= \
94 CONFIG_PARPORT \
95 CONFIG_PRINTER \
96 CONFIG_PPDEV
97 FILES:= \
98 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
99 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
100 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
101 AUTOLOAD:=$(call AutoLoad,50,parport lp)
102 endef
103
104 $(eval $(call KernelPackage,lp))
105
106 define KernelPackage/pcspkr
107 SUBMENU:=$(OTHER_MENU)
108 TITLE:=PC speaker support
109 DEPENDS:=@LINUX_2_6
110 KCONFIG:=CONFIG_INPUT_PCSPKR
111 FILES:= \
112 $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX)
113 AUTOLOAD:=$(call AutoLoad,50, \
114 pcspkr \
115 )
116 endef
117
118 define KernelPackage/pcspkr/description
119 This enables sounds (tones) through the pc speaker
120 endef
121
122 $(eval $(call KernelPackage,pcspkr))
123
124 define KernelPackage/pcmcia-core
125 SUBMENU:=$(OTHER_MENU)
126 TITLE:=PCMCIA/CardBus support
127 DEPENDS:=@PCMCIA_SUPPORT
128 KCONFIG:= \
129 CONFIG_PCMCIA \
130 CONFIG_CARDBUS \
131 CONFIG_PCCARD \
132 CONFIG_PCCARD_NONSTATIC \
133 PCMCIA_DEBUG=n
134 endef
135
136 define KernelPackage/pcmcia-core/2.4
137 # KCONFIG:= \
138 # CONFIG_PCMCIA \
139 # CONFIG_CARDBUS
140 FILES:= \
141 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
142 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
143 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds)
144 endef
145
146 define KernelPackage/pcmcia-core/2.6
147 # KCONFIG:= \
148 # CONFIG_PCCARD \
149 # CONFIG_PCMCIA \
150 # CONFIG_PCCARD_NONSTATIC \
151 # PCMCIA_DEBUG=n
152 FILES:= \
153 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
154 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)
155 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
156 endef
157
158 define KernelPackage/pcmcia-core/description
159 Kernel support for PCMCIA/CardBus controllers
160 endef
161
162 $(eval $(call KernelPackage,pcmcia-core))
163
164
165 define KernelPackage/pcmcia-yenta
166 SUBMENU:=$(OTHER_MENU)
167 TITLE:=yenta socket driver
168 DEPENDS:=kmod-pcmcia-core
169 KCONFIG:=CONFIG_YENTA
170 FILES:= \
171 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
172 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
173 AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
174 endef
175
176 $(eval $(call KernelPackage,pcmcia-yenta))
177
178 define KernelPackage/pcmcia-au1000
179 SUBMENU:=$(OTHER_MENU)
180 TITLE:=RMI/AMD Au1000 PCMCIA support
181 DEPENDS:=kmod-pcmcia-core @TARGET_au1000
182 FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
183 AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
184 endef
185
186 $(eval $(call KernelPackage,pcmcia-au1000))
187
188 define KernelPackage/pcmcia-bcm63xx
189 SUBMENU:=$(OTHER_MENU)
190 TITLE:=Broadcom BCM63xx PCMCIA support
191 DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
192 KCONFIG:=CONFIG_PCMCIA_BCM63XX
193 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
194 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
195 endef
196
197 define KernelPackage/pcmcia-bcm63xx/description
198 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
199 endef
200
201 $(eval $(call KernelPackage,pcmcia-bcm63xx))
202
203 define KernelPackage/pcmcia-serial
204 SUBMENU:=$(OTHER_MENU)
205 TITLE:=Serial devices support
206 DEPENDS:=kmod-pcmcia-core
207 KCONFIG:= \
208 CONFIG_PCMCIA_SERIAL_CS \
209 CONFIG_SERIAL_8250_CS
210 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
211 endef
212
213 define KernelPackage/pcmcia-serial/2.4
214 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
215 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
216 endef
217
218 define KernelPackage/pcmcia-serial/2.6
219 # KCONFIG:=CONFIG_SERIAL_8250_CS
220 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
221 endef
222
223 define KernelPackage/pcmcia-serial/description
224 Kernel support for PCMCIA/CardBus serial devices
225 endef
226
227 $(eval $(call KernelPackage,pcmcia-serial))
228
229 define KernelPackage/ssb
230 SUBMENU:=$(OTHER_MENU)
231 TITLE:=Silicon Sonics Backplane glue code
232 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
233 KCONFIG:=\
234 CONFIG_SSB \
235 CONFIG_SSB_B43_PCI_BRIDGE=y \
236 CONFIG_SSB_DRIVER_MIPS=n \
237 CONFIG_SSB_DRIVER_PCICORE=y \
238 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
239 CONFIG_SSB_PCIHOST=y \
240 CONFIG_SSB_PCIHOST_POSSIBLE=y \
241 CONFIG_SSB_POSSIBLE=y \
242 CONFIG_SSB_SPROM=y \
243 CONFIG_SSB_SILENT=y
244 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
245 AUTOLOAD:=$(call AutoLoad,29,ssb)
246 endef
247
248 define KernelPackage/ssb/description
249 Silicon Sonics Backplane glue code.
250 endef
251
252 $(eval $(call KernelPackage,ssb))
253
254
255 define KernelPackage/bluetooth
256 SUBMENU:=$(OTHER_MENU)
257 TITLE:=Bluetooth support
258 DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-hid
259 KCONFIG:= \
260 CONFIG_BLUEZ \
261 CONFIG_BLUEZ_L2CAP \
262 CONFIG_BLUEZ_SCO \
263 CONFIG_BLUEZ_RFCOMM \
264 CONFIG_BLUEZ_BNEP \
265 CONFIG_BLUEZ_HCIUART \
266 CONFIG_BLUEZ_HCIUSB \
267 CONFIG_BLUEZ_HIDP \
268 CONFIG_BT \
269 CONFIG_BT_L2CAP \
270 CONFIG_BT_SCO \
271 CONFIG_BT_RFCOMM \
272 CONFIG_BT_BNEP \
273 CONFIG_BT_HCIBTUSB \
274 CONFIG_BT_HCIUSB \
275 CONFIG_BT_HCIUART \
276 CONFIG_BT_HIDP
277 endef
278
279 define KernelPackage/bluetooth/2.4
280 # KCONFIG:= \
281 # CONFIG_BLUEZ \
282 # CONFIG_BLUEZ_L2CAP \
283 # CONFIG_BLUEZ_SCO \
284 # CONFIG_BLUEZ_RFCOMM \
285 # CONFIG_BLUEZ_BNEP \
286 # CONFIG_BLUEZ_HCIUART \
287 # CONFIG_BLUEZ_HCIUSB
288 FILES:= \
289 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
290 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
291 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
292 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
293 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
294 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
295 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
296 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
297 endef
298
299 define KernelPackage/bluetooth/2.6
300 # KCONFIG:= \
301 # CONFIG_BT \
302 # CONFIG_BT_L2CAP \
303 # CONFIG_BT_SCO \
304 # CONFIG_BT_RFCOMM \
305 # CONFIG_BT_BNEP \
306 # CONFIG_BT_HCIUSB \
307 # CONFIG_BT_HCIUART
308 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.27)),1)
309 FILES:= \
310 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
311 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
312 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
313 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
314 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
315 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
316 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
317 $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
318 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
319 else
320 FILES:= \
321 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
322 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
323 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
324 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
325 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
326 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
327 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
328 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
329 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart hci_usb)
330 endif
331 endef
332
333 define KernelPackage/bluetooth/description
334 Kernel support for Bluetooth devices
335 endef
336
337 $(eval $(call KernelPackage,bluetooth))
338
339
340 define KernelPackage/mmc
341 SUBMENU:=$(OTHER_MENU)
342 TITLE:=MMC/SD Card Support
343 DEPENDS:=@LINUX_2_6
344 KCONFIG:= \
345 CONFIG_MMC \
346 CONFIG_MMC_BLOCK \
347 CONFIG_MMC_DEBUG=n \
348 CONFIG_MMC_UNSAFE_RESUME=n \
349 CONFIG_MMC_BLOCK_BOUNCE=y \
350 CONFIG_MMC_SDHCI=n \
351 CONFIG_MMC_TIFM_SD=n \
352 CONFIG_MMC_WBSD=n \
353 CONFIG_SDIO_UART=n
354 FILES:= \
355 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
356 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
357 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block)
358 endef
359
360 define KernelPackage/mmc/description
361 Kernel support for MMC/SD cards
362 endef
363
364 $(eval $(call KernelPackage,mmc))
365
366
367 define KernelPackage/mmc-at91
368 SUBMENU:=$(OTHER_MENU)
369 TITLE:=MMC/SD Card Support on AT91
370 DEPENDS:=@TARGET_at91 +kmod-mmc
371 KCONFIG:=CONFIG_MMC_AT91
372 FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
373 AUTOLOAD:=$(call AutoLoad,90,at91_mci)
374 endef
375
376 define KernelPackage/mmc-at91/description
377 Kernel support for MMC/SD cards on the AT91 target
378 endef
379
380 $(eval $(call KernelPackage,mmc-at91))
381
382
383 # XXX: added a workaround for watchdog path changes
384 ifeq ($(KERNEL),2.4)
385 WATCHDOG_DIR=char
386 endif
387 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
388 WATCHDOG_DIR=watchdog
389 endif
390 WATCHDOG_DIR?=char/watchdog
391
392 define KernelPackage/atmel-wdt
393 SUBMENU:=$(OTHER_MENU)
394 TITLE:=AT32AP700x watchdog
395 DEPENDS:=@TARGET_avr32
396 KCONFIG:=CONFIG_AT32AP700X_WDT
397 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
398 AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
399 endef
400
401 define KernelPackage/atmel-wdt/description
402 AT32AP700x watchdog
403 endef
404
405 $(eval $(call KernelPackage,atmel-wdt))
406
407
408 define KernelPackage/softdog
409 SUBMENU:=$(OTHER_MENU)
410 TITLE:=Software watchdog driver
411 KCONFIG:=CONFIG_SOFT_WATCHDOG
412 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
413 AUTOLOAD:=$(call AutoLoad,50,softdog)
414 endef
415
416 define KernelPackage/softdog/description
417 Software watchdog driver
418 endef
419
420 $(eval $(call KernelPackage,softdog))
421
422 define KernelPackage/rdc321x-wdt
423 SUBMENU:=$(OTHER_MENU)
424 TITLE:=RDC321x watchdog
425 DEPENDS:=@TARGET_rdc
426 KCONFIG:=CONFIG_RDC321X_WDT
427 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.$(LINUX_KMOD_SUFFIX)
428 AUTOLOAD:=$(call AutoLoad,50,rdc321x_wdt)
429 endef
430
431 define KernelPackage/rdc321x-wdt/description
432 RDC-321x watchdog driver
433 endef
434
435 $(eval $(call KernelPackage,rdc321x-wdt))
436
437
438 define KernelPackage/leds-gpio
439 SUBMENU:=$(OTHER_MENU)
440 TITLE:=GPIO LED support
441 DEPENDS:= @GPIO_SUPPORT
442 KCONFIG:=CONFIG_LEDS_GPIO
443 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
444 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
445 endef
446
447 define KernelPackage/leds-gpio/description
448 Kernel module for LEDs on GPIO lines
449 endef
450
451 $(eval $(call KernelPackage,leds-gpio))
452
453
454 define KernelPackage/ledtrig-adm5120-switch
455 SUBMENU:=$(OTHER_MENU)
456 TITLE:=LED ADM5120 Switch Port Status Trigger
457 DEPENDS:=@TARGET_adm5120
458 KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
459 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
460 AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
461 endef
462
463 define KernelPackage/ledtrig-adm5120-switch/description
464 Kernel module to allow LEDs to be controlled by the port states
465 of the ADM5120 built-in ethernet switch.
466 endef
467
468 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
469
470
471 define KernelPackage/leds-net48xx
472 SUBMENU:=$(OTHER_MENU)
473 TITLE:=Soekris Net48xx LED support
474 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
475 KCONFIG:=CONFIG_LEDS_NET48XX
476 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
477 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
478 endef
479
480 define KernelPackage/leds-net48xx/description
481 Kernel module for Soekris Net48xx LEDs
482 endef
483
484 $(eval $(call KernelPackage,leds-net48xx))
485
486
487 define KernelPackage/leds-wrap
488 SUBMENU:=$(OTHER_MENU)
489 TITLE:=PCengines WRAP LED support
490 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
491 KCONFIG:=CONFIG_LEDS_WRAP
492 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
493 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
494 endef
495
496 define KernelPackage/leds-wrap/description
497 Kernel module for PCengines WRAP LEDs
498 endef
499
500 $(eval $(call KernelPackage,leds-wrap))
501
502
503 define KernelPackage/leds-alix
504 SUBMENU:=$(OTHER_MENU)
505 TITLE:=PCengines ALIX LED support
506 DEPENDS:=@TARGET_x86
507 KCONFIG:=CONFIG_LEDS_ALIX2
508 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.$(LINUX_KMOD_SUFFIX)
509 AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
510 endef
511
512 define KernelPackage/leds-alix/description
513 Kernel module for PCengines ALIX LEDs
514 endef
515
516 $(eval $(call KernelPackage,leds-alix))
517
518
519 define KernelPackage/leds-wndr3700-usb
520 SUBMENU:=$(OTHER_MENU)
521 TITLE:=WNDR3700 USB LED support
522 DEPENDS:= @TARGET_ar71xx
523 KCONFIG:=CONFIG_LEDS_WNDR3700_USB
524 FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.$(LINUX_KMOD_SUFFIX)
525 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
526 endef
527
528 define KernelPackage/leds-wndr3700-usb/description
529 Kernel module for the USB LED on the NETGWR WNDR3700 board.
530 endef
531
532 $(eval $(call KernelPackage,leds-wndr3700-usb))
533
534
535 define KernelPackage/ledtrig-netdev
536 SUBMENU:=$(OTHER_MENU)
537 TITLE:=LED NETDEV Trigger
538 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
539 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
540 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
541 endef
542
543 define KernelPackage/ledtrig-netdev/description
544 Kernel module to drive LEDs based on network activity.
545 endef
546
547 $(eval $(call KernelPackage,ledtrig-netdev))
548
549
550 define KernelPackage/ledtrig-morse
551 SUBMENU:=$(OTHER_MENU)
552 TITLE:=LED Morse Trigger
553 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
554 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
555 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
556 endef
557
558 define KernelPackage/ledtrig-morse/description
559 Kernel module to show morse coded messages on LEDs.
560 endef
561
562 $(eval $(call KernelPackage,ledtrig-morse))
563
564
565 define KernelPackage/gpio-dev
566 SUBMENU:=$(OTHER_MENU)
567 TITLE:=Generic GPIO char device support
568 DEPENDS:=@GPIO_SUPPORT
569 KCONFIG:=CONFIG_GPIO_DEVICE
570 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
571 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
572 endef
573
574 define KernelPackage/gpio-dev/description
575 Kernel module to allows control of GPIO pins using a character device.
576 endef
577
578 $(eval $(call KernelPackage,gpio-dev))
579
580
581 define KernelPackage/nsc-gpio
582 SUBMENU:=$(OTHER_MENU)
583 TITLE:=Natsemi GPIO support
584 DEPENDS:=@TARGET_x86
585 KCONFIG:=CONFIG_NSC_GPIO
586 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
587 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
588 endef
589
590 define KernelPackage/nsc-gpio/description
591 Kernel module for Natsemi GPIO
592 endef
593
594 $(eval $(call KernelPackage,nsc-gpio))
595
596
597 define KernelPackage/scx200-gpio
598 SUBMENU:=$(OTHER_MENU)
599 TITLE:=Natsemi SCX200 GPIO support
600 DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
601 KCONFIG:=CONFIG_SCx200_GPIO
602 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
603 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
604 endef
605
606 define KernelPackage/scx200-gpio/description
607 Kernel module for SCX200 GPIO
608 endef
609
610 $(eval $(call KernelPackage,scx200-gpio))
611
612
613 define KernelPackage/scx200-wdt
614 SUBMENU:=$(OTHER_MENU)
615 TITLE:=Natsemi SCX200 Watchdog support
616 DEPENDS:=@TARGET_x86
617 KCONFIG:=CONFIG_SCx200_WDT
618 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
619 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
620 endef
621
622 define KernelPackage/scx200-wdt/description
623 Kernel module for SCX200 Watchdog
624 endef
625
626 $(eval $(call KernelPackage,scx200-wdt))
627
628
629 define KernelPackage/sc520-wdt
630 SUBMENU:=$(OTHER_MENU)
631 TITLE:=Natsemi SC520 Watchdog support
632 DEPENDS:=@TARGET_x86
633 KCONFIG:=CONFIG_SC520_WDT
634 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
635 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
636 endef
637
638 define KernelPackage/sc520-wdt/description
639 Kernel module for SC520 Watchdog
640 endef
641
642 $(eval $(call KernelPackage,sc520-wdt))
643
644
645 define KernelPackage/input-core
646 SUBMENU:=$(OTHER_MENU)
647 TITLE:=Input device core
648 DEPENDS:=@LINUX_2_6
649 KCONFIG:=CONFIG_INPUT
650 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
651 AUTOLOAD:=$(call AutoLoad,19,input-core)
652 endef
653
654 define KernelPackage/input-core/description
655 Kernel modules for support of input device
656 endef
657
658 $(eval $(call KernelPackage,input-core))
659
660
661 define KernelPackage/input-evdev
662 SUBMENU:=$(OTHER_MENU)
663 TITLE:=Input event device
664 DEPENDS:=+kmod-input-core
665 KCONFIG:=CONFIG_INPUT_EVDEV
666 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
667 AUTOLOAD:=$(call AutoLoad,60,evdev)
668 endef
669
670 define KernelPackage/input-evdev/description
671 Kernel modules for support of input device events
672 endef
673
674 $(eval $(call KernelPackage,input-evdev))
675
676
677 define KernelPackage/hid
678 SUBMENU:=$(OTHER_MENU)
679 TITLE:=HID Devices
680 DEPENDS:=+kmod-input-core +kmod-input-evdev
681 KCONFIG:=CONFIG_HID
682 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
683 AUTOLOAD:=$(call AutoLoad,61,hid)
684 endef
685
686 define KernelPackage/hid/description
687 Kernel modules for HID devices
688 endef
689
690 $(eval $(call KernelPackage,hid))
691
692
693 define KernelPackage/input-polldev
694 SUBMENU:=$(OTHER_MENU)
695 TITLE:=Polled Input device support
696 DEPENDS:=+kmod-input-core @LINUX_2_6
697 KCONFIG:=CONFIG_INPUT_POLLDEV
698 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
699 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
700 endef
701
702 define KernelPackage/input-polldev/description
703 Kernel module for support of polled input devices
704 endef
705
706 $(eval $(call KernelPackage,input-polldev))
707
708
709 define KernelPackage/input-gpio-keys
710 SUBMENU:=$(OTHER_MENU)
711 TITLE:=GPIO key support
712 DEPENDS:= @GPIO_SUPPORT +kmod-input-core
713 KCONFIG:=CONFIG_KEYBOARD_GPIO
714 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
715 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
716 endef
717
718 define KernelPackage/input-gpio-keys/description
719 This driver implements support for buttons connected
720 to GPIO pins of various CPUs (and some other chips).
721 endef
722
723 $(eval $(call KernelPackage,input-gpio-keys))
724
725
726 define KernelPackage/input-gpio-buttons
727 SUBMENU:=$(OTHER_MENU)
728 TITLE:=Polled GPIO buttons input device
729 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
730 KCONFIG:= \
731 CONFIG_INPUT_GPIO_BUTTONS \
732 CONFIG_INPUT_MISC=y
733 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
734 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
735 endef
736
737 define KernelPackage/input-gpio-buttons/description
738 Kernel module for support polled GPIO buttons input device
739 endef
740
741 $(eval $(call KernelPackage,input-gpio-buttons))
742
743 define KernelPackage/input-joydev
744 SUBMENU:=$(OTHER_MENU)
745 TITLE:=Joystick device support
746 DEPENDS:=+kmod-input-core
747 KCONFIG:=CONFIG_INPUT_JOYDEV
748 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
749 AUTOLOAD:=$(call AutoLoad,62,joydev)
750 endef
751
752 define KernelPackage/input-joydev/description
753 Kernel module for joystick support
754 endef
755
756 $(eval $(call KernelPackage,input-joydev))
757
758 define KernelPackage/input-rb532
759 SUBMENU:=$(OTHER_MENU)
760 TITLE:=RB532 button device support
761 DEPENDS:=+kmod-input-core @TARGET_rb532
762 KCONFIG:= \
763 CONFIG_INPUT_MISC=y \
764 CONFIG_INPUT_RB532_BUTTON
765 FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.$(LINUX_KMOD_SUFFIX)
766 AUTOLOAD:=$(call AutoLoad,62,rb532_button)
767 endef
768
769 define KernelPackage/input-rb532/description
770 Kernel module for RB532 button
771 endef
772
773 $(eval $(call KernelPackage,input-rb532))
774
775
776 define KernelPackage/mmc-atmelmci
777 SUBMENU:=$(OTHER_MENU)
778 TITLE:=Amtel MMC Support
779 DEPENDS:=@TARGET_avr32 +kmod-mmc
780 KCONFIG:=CONFIG_MMC_ATMELMCI
781 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
782 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
783 endef
784
785 define KernelPackage/mmc-atmelmci/description
786 Kernel support for Atmel Multimedia Card Interface.
787 endef
788
789 $(eval $(call KernelPackage,mmc-atmelmci))
790
791
792 define KernelPackage/cs5535-gpio
793 SUBMENU:=$(OTHER_MENU)
794 TITLE:=AMD CS5535/CS5536 GPIO driver
795 DEPENDS:=@TARGET_x86||@TARGET_olpc
796 KCONFIG:=CONFIG_CS5535_GPIO
797 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
798 AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
799 endef
800
801 define KernelPackage/cs5535-gpio/description
802 This package contains the AMD CS5535/CS5536 GPIO driver
803 endef
804
805 $(eval $(call KernelPackage,cs5535-gpio))
806
807
808 define KernelPackage/textsearch
809 SUBMENU:=$(OTHER_MENU)
810 TITLE:=Textsearch support is selected if needed
811 DEPENDS:=@LINUX_2_6 @!LINUX_2_6_21
812 KCONFIG:= \
813 CONFIG_TEXTSEARCH=y \
814 CONFIG_TEXTSEARCH_KMP \
815 CONFIG_TEXTSEARCH_BM \
816 CONFIG_TEXTSEARCH_FSM
817 FILES:= \
818 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
819 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
820 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
821 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
822 endef
823
824 $(eval $(call KernelPackage,textsearch))
825
826
827 define KernelPackage/rfkill
828 SUBMENU:=$(OTHER_MENU)
829 TITLE:=RF switch subsystem support
830 DEPENDS:=@TARGET_x86||TARGET_olpc||TARGET_s3c24xx||TARGET_brcm47xx
831 KCONFIG:= \
832 CONFIG_RFKILL \
833 CONFIG_RFKILL_INPUT=y \
834 CONFIG_RFKILL_LEDS=y
835 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
836 FILES:= \
837 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
838 AUTOLOAD:=$(call AutoLoad,20,rfkill)
839 else
840 FILES:= \
841 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
842 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
843 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
844 endif
845 endef
846
847 define KernelPackage/rfkill/description
848 Say Y here if you want to have control over RF switches
849 found on many WiFi and Bluetooth cards.
850 endef
851
852 $(eval $(call KernelPackage,rfkill))
This page took 0.08976 seconds and 3 git commands to generate.