[kernel] pwm: export the generic pwm api as module
[openwrt/svn-archive/archive.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006-2010 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 WATCHDOG_DIR:=watchdog
11
12
13 define KernelPackage/bluetooth
14 SUBMENU:=$(OTHER_MENU)
15 TITLE:=Bluetooth support
16 DEPENDS:=@USB_SUPPORT +kmod-usb-core
17 KCONFIG:= \
18 CONFIG_BLUEZ \
19 CONFIG_BLUEZ_L2CAP \
20 CONFIG_BLUEZ_SCO \
21 CONFIG_BLUEZ_RFCOMM \
22 CONFIG_BLUEZ_BNEP \
23 CONFIG_BLUEZ_HCIUART \
24 CONFIG_BLUEZ_HCIUSB \
25 CONFIG_BLUEZ_HIDP \
26 CONFIG_BT \
27 CONFIG_BT_L2CAP \
28 CONFIG_BT_SCO \
29 CONFIG_BT_RFCOMM \
30 CONFIG_BT_BNEP \
31 CONFIG_BT_HCIBTUSB \
32 CONFIG_BT_HCIUSB \
33 CONFIG_BT_HCIUART \
34 CONFIG_BT_HIDP
35 $(call AddDepends/crc16)
36 $(call AddDepends/hid)
37 $(call AddDepends/rfkill)
38 FILES:= \
39 $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
40 $(LINUX_DIR)/net/bluetooth/l2cap.ko \
41 $(LINUX_DIR)/net/bluetooth/sco.ko \
42 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
43 $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
44 $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
45 $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
46 $(LINUX_DIR)/drivers/bluetooth/btusb.ko
47 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
48 endef
49
50 define KernelPackage/bluetooth/description
51 Kernel support for Bluetooth devices
52 endef
53
54 $(eval $(call KernelPackage,bluetooth))
55
56
57 define KernelPackage/crc-ccitt
58 SUBMENU:=$(OTHER_MENU)
59 TITLE:=CRC-CCITT support
60 KCONFIG:=CONFIG_CRC_CCITT
61 FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
62 AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
63 endef
64
65 define KernelPackage/crc-ccitt/description
66 Kernel module for CRC-CCITT support
67 endef
68
69 $(eval $(call KernelPackage,crc-ccitt))
70
71
72 define KernelPackage/crc-itu-t
73 SUBMENU:=$(OTHER_MENU)
74 TITLE:=CRC ITU-T V.41 support
75 KCONFIG:=CONFIG_CRC_ITU_T
76 FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
77 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
78 endef
79
80 define KernelPackage/crc-itu-t/description
81 Kernel module for CRC ITU-T V.41 support
82 endef
83
84 $(eval $(call KernelPackage,crc-itu-t))
85
86
87 define KernelPackage/crc7
88 SUBMENU:=$(OTHER_MENU)
89 TITLE:=CRC7 support
90 KCONFIG:=CONFIG_CRC7
91 FILES:=$(LINUX_DIR)/lib/crc7.ko
92 AUTOLOAD:=$(call AutoLoad,20,crc7)
93 endef
94
95 define KernelPackage/crc7/description
96 Kernel module for CRC7 support
97 endef
98
99 $(eval $(call KernelPackage,crc7))
100
101
102 define KernelPackage/crc16
103 SUBMENU:=$(OTHER_MENU)
104 TITLE:=CRC16 support
105 KCONFIG:=CONFIG_CRC16
106 FILES:=$(LINUX_DIR)/lib/crc16.ko
107 AUTOLOAD:=$(call AutoLoad,20,crc16,1)
108 $(call SetDepends/crc16)
109 endef
110
111 define KernelPackage/crc16/description
112 Kernel module for CRC16 support
113 endef
114
115 $(eval $(call KernelPackage,crc16))
116
117
118 define KernelPackage/eeprom-93cx6
119 SUBMENU:=$(OTHER_MENU)
120 TITLE:=EEPROM 93CX6 support
121 KCONFIG:=CONFIG_EEPROM_93CX6
122 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
123 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
124 endef
125
126 define KernelPackage/eeprom-93cx6/description
127 Kernel module for EEPROM 93CX6 support
128 endef
129
130 $(eval $(call KernelPackage,eeprom-93cx6))
131
132
133 define KernelPackage/gpio-cs5535
134 SUBMENU:=$(OTHER_MENU)
135 TITLE:=AMD CS5535/CS5536 GPIO driver
136 DEPENDS:=@TARGET_x86
137 KCONFIG:=CONFIG_CS5535_GPIO
138 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
139 AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
140 endef
141
142 define KernelPackage/gpio-cs5535/description
143 This package contains the AMD CS5535/CS5536 GPIO driver
144 endef
145
146 $(eval $(call KernelPackage,gpio-cs5535))
147
148
149 define KernelPackage/gpio-dev
150 SUBMENU:=$(OTHER_MENU)
151 TITLE:=Generic GPIO char device support
152 DEPENDS:=@GPIO_SUPPORT
153 KCONFIG:=CONFIG_GPIO_DEVICE
154 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
155 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
156 endef
157
158 define KernelPackage/gpio-dev/description
159 Kernel module to allows control of GPIO pins using a character device.
160 endef
161
162 $(eval $(call KernelPackage,gpio-dev))
163
164
165 define KernelPackage/gpio-nsc
166 SUBMENU:=$(OTHER_MENU)
167 TITLE:=Natsemi GPIO support
168 DEPENDS:=@TARGET_x86
169 KCONFIG:=CONFIG_NSC_GPIO
170 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
171 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
172 endef
173
174 define KernelPackage/gpio-nsc/description
175 Kernel module for Natsemi GPIO
176 endef
177
178 $(eval $(call KernelPackage,gpio-nsc))
179
180
181 define KernelPackage/gpio-pc8736x
182 SUBMENU:=$(OTHER_MENU)
183 TITLE:=PC8736x GPIO support
184 DEPENDS:=@TARGET_x86
185 KCONFIG:=CONFIG_PC8736x_GPIO
186 FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
187 AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
188 endef
189
190 define KernelPackage/gpio-pc8736x/description
191 Kernel module for PC8736x GPIO
192 endef
193
194 $(eval $(call KernelPackage,gpio-pc8736x))
195
196
197 define KernelPackage/gpio-scx200
198 SUBMENU:=$(OTHER_MENU)
199 TITLE:=Natsemi SCX200 GPIO support
200 DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
201 KCONFIG:=CONFIG_SCx200_GPIO
202 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
203 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
204 endef
205
206 define KernelPackage/gpio-scx200/description
207 Kernel module for SCX200 GPIO
208 endef
209
210 $(eval $(call KernelPackage,gpio-scx200))
211
212 define KernelPackage/gpio-nxp-74hc164
213 SUBMENU:=$(OTHER_MENU)
214 TITLE:=NXP 74HC164 GPIO expander support
215 DEPENDS:=@TARGET_brcm63xx
216 KCONFIG:=CONFIG_GPIO_NXP_74HC164
217 FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
218 AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
219 endef
220
221 define KernelPackage/gpio-nxp-74hc164/description
222 Kernel module for NXP 74HC164 GPIO expander
223 endef
224
225 $(eval $(call KernelPackage,gpio-nxp-74hc164))
226
227 define KernelPackage/hid
228 SUBMENU:=$(OTHER_MENU)
229 TITLE:=HID Devices
230 DEPENDS:=+kmod-input-evdev
231 KCONFIG:=CONFIG_HID
232 FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
233 AUTOLOAD:=$(call AutoLoad,61,hid)
234 $(call SetDepends/hid)
235 $(call AddDepends/input)
236 endef
237
238 define KernelPackage/hid/description
239 Kernel modules for HID devices
240 endef
241
242 $(eval $(call KernelPackage,hid))
243
244
245 define KernelPackage/input-core
246 SUBMENU:=$(OTHER_MENU)
247 TITLE:=Input device core
248 KCONFIG:=CONFIG_INPUT
249 $(call SetDepends/input)
250 FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
251 AUTOLOAD:=$(call AutoLoad,19,input-core)
252 endef
253
254 define KernelPackage/input-core/description
255 Kernel modules for support of input device
256 endef
257
258 $(eval $(call KernelPackage,input-core))
259
260
261 define KernelPackage/input-evdev
262 SUBMENU:=$(OTHER_MENU)
263 TITLE:=Input event device
264 KCONFIG:=CONFIG_INPUT_EVDEV
265 FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
266 AUTOLOAD:=$(call AutoLoad,60,evdev)
267 $(call AddDepends/input)
268 endef
269
270 define KernelPackage/input-evdev/description
271 Kernel modules for support of input device events
272 endef
273
274 $(eval $(call KernelPackage,input-evdev))
275
276
277 define KernelPackage/input-gpio-buttons
278 SUBMENU:=$(OTHER_MENU)
279 TITLE:=Polled GPIO buttons input device
280 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
281 KCONFIG:= \
282 CONFIG_INPUT_GPIO_BUTTONS \
283 CONFIG_INPUT_MISC=y
284 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
285 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
286 endef
287
288 define KernelPackage/input-gpio-buttons/description
289 Kernel module for support polled GPIO buttons input device
290 endef
291
292 $(eval $(call KernelPackage,input-gpio-buttons))
293
294
295 define KernelPackage/input-gpio-keys
296 SUBMENU:=$(OTHER_MENU)
297 TITLE:=GPIO key support
298 DEPENDS:= @GPIO_SUPPORT
299 KCONFIG:=CONFIG_KEYBOARD_GPIO
300 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
301 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
302 $(call AddDepends/input)
303 endef
304
305 define KernelPackage/input-gpio-keys/description
306 This driver implements support for buttons connected
307 to GPIO pins of various CPUs (and some other chips).
308 endef
309
310 $(eval $(call KernelPackage,input-gpio-keys))
311
312
313 define KernelPackage/input-gpio-encoder
314 SUBMENU:=$(OTHER_MENU)
315 TITLE:=GPIO rotay encoder
316 KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
317 FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
318 AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
319 $(call AddDepends/input,@GPIO_SUPPORT)
320 endef
321
322 define KernelPackage/gpio-encoder/description
323 Kernel module to use rotary encoders connected to GPIO pins
324 endef
325
326 $(eval $(call KernelPackage,input-gpio-encoder))
327
328
329 define KernelPackage/input-joydev
330 SUBMENU:=$(OTHER_MENU)
331 TITLE:=Joystick device support
332 KCONFIG:=CONFIG_INPUT_JOYDEV
333 FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
334 AUTOLOAD:=$(call AutoLoad,62,joydev)
335 $(call AddDepends/input)
336 endef
337
338 define KernelPackage/input-joydev/description
339 Kernel module for joystick support
340 endef
341
342 $(eval $(call KernelPackage,input-joydev))
343
344
345 define KernelPackage/input-polldev
346 SUBMENU:=$(OTHER_MENU)
347 TITLE:=Polled Input device support
348 KCONFIG:=CONFIG_INPUT_POLLDEV
349 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
350 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
351 $(call AddDepends/input)
352 endef
353
354 define KernelPackage/input-polldev/description
355 Kernel module for support of polled input devices
356 endef
357
358 $(eval $(call KernelPackage,input-polldev))
359
360
361 define KernelPackage/leds-alix
362 SUBMENU:=$(OTHER_MENU)
363 TITLE:=PCengines ALIX LED support
364 DEPENDS:=@TARGET_x86
365 KCONFIG:=CONFIG_LEDS_ALIX2
366 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko
367 AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
368 endef
369
370 define KernelPackage/leds-alix/description
371 Kernel module for PCengines ALIX LEDs
372 endef
373
374 $(eval $(call KernelPackage,leds-alix))
375
376
377 define KernelPackage/leds-gpio
378 SUBMENU:=$(OTHER_MENU)
379 TITLE:=GPIO LED support
380 DEPENDS:= @GPIO_SUPPORT
381 KCONFIG:=CONFIG_LEDS_GPIO
382 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
383 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
384 endef
385
386 define KernelPackage/leds-gpio/description
387 Kernel module for LEDs on GPIO lines
388 endef
389
390 $(eval $(call KernelPackage,leds-gpio))
391
392
393 define KernelPackage/leds-net48xx
394 SUBMENU:=$(OTHER_MENU)
395 TITLE:=Soekris Net48xx LED support
396 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
397 KCONFIG:=CONFIG_LEDS_NET48XX
398 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
399 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
400 endef
401
402 define KernelPackage/leds-net48xx/description
403 Kernel module for Soekris Net48xx LEDs
404 endef
405
406 $(eval $(call KernelPackage,leds-net48xx))
407
408
409 define KernelPackage/leds-rb750
410 SUBMENU:=$(OTHER_MENU)
411 TITLE:=RouterBOARD 750 LED support
412 DEPENDS:=@TARGET_ar71xx
413 KCONFIG:=CONFIG_LEDS_RB750
414 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
415 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
416 endef
417
418 define KernelPackage/leds-rb750/description
419 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
420 endef
421
422 $(eval $(call KernelPackage,leds-rb750))
423
424
425 define KernelPackage/leds-wndr3700-usb
426 SUBMENU:=$(OTHER_MENU)
427 TITLE:=WNDR3700 USB LED support
428 DEPENDS:=@TARGET_ar71xx
429 KCONFIG:=CONFIG_LEDS_WNDR3700_USB
430 FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
431 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
432 endef
433
434 define KernelPackage/leds-wndr3700-usb/description
435 Kernel module for the USB LED on the NETGWR WNDR3700 board.
436 endef
437
438 $(eval $(call KernelPackage,leds-wndr3700-usb))
439
440
441 define KernelPackage/leds-wrap
442 SUBMENU:=$(OTHER_MENU)
443 TITLE:=PCengines WRAP LED support
444 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
445 KCONFIG:=CONFIG_LEDS_WRAP
446 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
447 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
448 endef
449
450 define KernelPackage/leds-wrap/description
451 Kernel module for PCengines WRAP LEDs
452 endef
453
454 $(eval $(call KernelPackage,leds-wrap))
455
456
457 define KernelPackage/ledtrig-morse
458 SUBMENU:=$(OTHER_MENU)
459 TITLE:=LED Morse Trigger
460 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
461 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
462 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
463 endef
464
465 define KernelPackage/ledtrig-morse/description
466 Kernel module to show morse coded messages on LEDs.
467 endef
468
469 $(eval $(call KernelPackage,ledtrig-morse))
470
471
472 define KernelPackage/ledtrig-netdev
473 SUBMENU:=$(OTHER_MENU)
474 TITLE:=LED NETDEV Trigger
475 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
476 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
477 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
478 endef
479
480 define KernelPackage/ledtrig-netdev/description
481 Kernel module to drive LEDs based on network activity.
482 endef
483
484 $(eval $(call KernelPackage,ledtrig-netdev))
485
486
487 define KernelPackage/lp
488 SUBMENU:=$(OTHER_MENU)
489 TITLE:=Parallel port and line printer support
490 DEPENDS:=@BROKEN
491 KCONFIG:= \
492 CONFIG_PARPORT \
493 CONFIG_PRINTER \
494 CONFIG_PPDEV
495 FILES:= \
496 $(LINUX_DIR)/drivers/parport/parport.ko \
497 $(LINUX_DIR)/drivers/char/lp.ko \
498 $(LINUX_DIR)/drivers/char/ppdev.ko
499 AUTOLOAD:=$(call AutoLoad,50,parport lp)
500 endef
501
502 $(eval $(call KernelPackage,lp))
503
504
505 define KernelPackage/mmc
506 SUBMENU:=$(OTHER_MENU)
507 TITLE:=MMC/SD Card Support
508 KCONFIG:= \
509 CONFIG_MMC \
510 CONFIG_MMC_BLOCK \
511 CONFIG_MMC_DEBUG=n \
512 CONFIG_MMC_UNSAFE_RESUME=n \
513 CONFIG_MMC_BLOCK_BOUNCE=y \
514 CONFIG_MMC_SDHCI=n \
515 CONFIG_MMC_TIFM_SD=n \
516 CONFIG_MMC_WBSD=n \
517 CONFIG_SDIO_UART=n
518 FILES:= \
519 $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
520 $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
521 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
522 endef
523
524 define KernelPackage/mmc/description
525 Kernel support for MMC/SD cards
526 endef
527
528 $(eval $(call KernelPackage,mmc))
529
530
531 define KernelPackage/mmc-atmelmci
532 SUBMENU:=$(OTHER_MENU)
533 TITLE:=Amtel MMC Support
534 DEPENDS:=@TARGET_avr32 +kmod-mmc
535 KCONFIG:=CONFIG_MMC_ATMELMCI
536 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
537 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
538 endef
539
540 define KernelPackage/mmc-atmelmci/description
541 Kernel support for Atmel Multimedia Card Interface.
542 endef
543
544 $(eval $(call KernelPackage,mmc-atmelmci,1))
545
546
547 define KernelPackage/rfkill
548 SUBMENU:=$(OTHER_MENU)
549 TITLE:=RF switch subsystem support
550 KCONFIG:= \
551 CONFIG_RFKILL \
552 CONFIG_RFKILL_INPUT=y \
553 CONFIG_RFKILL_LEDS=y
554 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
555 FILES:= \
556 $(LINUX_DIR)/net/rfkill/rfkill.ko
557 AUTOLOAD:=$(call AutoLoad,20,rfkill)
558 else
559 FILES:= \
560 $(LINUX_DIR)/net/rfkill/rfkill.ko \
561 $(LINUX_DIR)/net/rfkill/rfkill-input.ko
562 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
563 endif
564 $(call SetDepends/rfkill)
565 endef
566
567 define KernelPackage/rfkill/description
568 Say Y here if you want to have control over RF switches
569 found on many WiFi and Bluetooth cards.
570 endef
571
572 $(eval $(call KernelPackage,rfkill))
573
574
575 define KernelPackage/softdog
576 SUBMENU:=$(OTHER_MENU)
577 TITLE:=Software watchdog driver
578 KCONFIG:=CONFIG_SOFT_WATCHDOG
579 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
580 AUTOLOAD:=$(call AutoLoad,50,softdog)
581 endef
582
583 define KernelPackage/softdog/description
584 Software watchdog driver
585 endef
586
587 $(eval $(call KernelPackage,softdog))
588
589
590 define KernelPackage/ssb
591 SUBMENU:=$(OTHER_MENU)
592 TITLE:=Silicon Sonics Backplane glue code
593 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
594 KCONFIG:=\
595 CONFIG_SSB \
596 CONFIG_SSB_B43_PCI_BRIDGE=y \
597 CONFIG_SSB_DRIVER_MIPS=n \
598 CONFIG_SSB_DRIVER_PCICORE=y \
599 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
600 CONFIG_SSB_PCIHOST=y \
601 CONFIG_SSB_PCIHOST_POSSIBLE=y \
602 CONFIG_SSB_POSSIBLE=y \
603 CONFIG_SSB_SPROM=y \
604 CONFIG_SSB_SILENT=y
605 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
606 AUTOLOAD:=$(call AutoLoad,29,ssb)
607 endef
608
609 define KernelPackage/ssb/description
610 Silicon Sonics Backplane glue code.
611 endef
612
613 $(eval $(call KernelPackage,ssb))
614
615
616 define KernelPackage/textsearch
617 SUBMENU:=$(OTHER_MENU)
618 TITLE:=Textsearch support is selected if needed
619 KCONFIG:= \
620 CONFIG_TEXTSEARCH=y \
621 CONFIG_TEXTSEARCH_KMP \
622 CONFIG_TEXTSEARCH_BM \
623 CONFIG_TEXTSEARCH_FSM
624 FILES:= \
625 $(LINUX_DIR)/lib/ts_kmp.ko \
626 $(LINUX_DIR)/lib/ts_bm.ko \
627 $(LINUX_DIR)/lib/ts_fsm.ko
628 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
629 endef
630
631 $(eval $(call KernelPackage,textsearch))
632
633
634 define KernelPackage/wdt-geode
635 SUBMENU:=$(OTHER_MENU)
636 TITLE:=Geode/LX Watchdog timer
637 DEPENDS:=@TARGET_x86
638 KCONFIG:=CONFIG_GEODE_WDT
639 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
640 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
641 endef
642
643 define KernelPackage/wdt-geode/description
644 Kernel module for Geode watchdog timer.
645 endef
646
647 $(eval $(call KernelPackage,wdt-geode))
648
649
650 define KernelPackage/wdt-sc520
651 SUBMENU:=$(OTHER_MENU)
652 TITLE:=Natsemi SC520 Watchdog support
653 DEPENDS:=@TARGET_x86
654 KCONFIG:=CONFIG_SC520_WDT
655 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
656 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
657 endef
658
659 define KernelPackage/wdt-sc520/description
660 Kernel module for SC520 Watchdog
661 endef
662
663 $(eval $(call KernelPackage,wdt-sc520))
664
665
666 define KernelPackage/wdt-scx200
667 SUBMENU:=$(OTHER_MENU)
668 TITLE:=Natsemi SCX200 Watchdog support
669 DEPENDS:=@TARGET_x86
670 KCONFIG:=CONFIG_SCx200_WDT
671 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
672 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
673 endef
674
675 define KernelPackage/wdt-scx200/description
676 Kernel module for SCX200 Watchdog
677 endef
678
679 $(eval $(call KernelPackage,wdt-scx200))
680
681
682 define KernelPackage/pwm
683 SUBMENU:=$(OTHER_MENU)
684 TITLE:=PWM generic API
685 KCONFIG:=CONFIG_GENERIC_PWM
686 FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
687 AUTOLOAD:=$(call AutoLoad,50,pwm)
688 endef
689
690 define KernelPackage/pwm/description
691 Kernel module that implement a generic PWM API
692 endef
693
694 $(eval $(call KernelPackage,pwm))
695
696
697 define KernelPackage/pwm-gpio
698 SUBMENU:=$(OTHER_MENU)
699 TITLE:=PWM over GPIO
700 DEPENDS:=+kmod-pwm
701 KCONFIG:=CONFIG_GPIO_PWM
702 FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
703 AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
704 endef
705
706 define KernelPackage/pwm-gpio/description
707 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
708 endef
709
710 $(eval $(call KernelPackage,pwm-gpio))