Add package for gpio-pwm
[openwrt/openwrt.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.$(LINUX_KMOD_SUFFIX) \
40 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
41 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
42 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
43 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
44 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
45 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
46 $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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.$(LINUX_KMOD_SUFFIX)
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-joydev
314 SUBMENU:=$(OTHER_MENU)
315 TITLE:=Joystick device support
316 KCONFIG:=CONFIG_INPUT_JOYDEV
317 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
318 AUTOLOAD:=$(call AutoLoad,62,joydev)
319 $(call AddDepends/input)
320 endef
321
322 define KernelPackage/input-joydev/description
323 Kernel module for joystick support
324 endef
325
326 $(eval $(call KernelPackage,input-joydev))
327
328
329 define KernelPackage/input-polldev
330 SUBMENU:=$(OTHER_MENU)
331 TITLE:=Polled Input device support
332 KCONFIG:=CONFIG_INPUT_POLLDEV
333 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
334 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
335 $(call AddDepends/input)
336 endef
337
338 define KernelPackage/input-polldev/description
339 Kernel module for support of polled input devices
340 endef
341
342 $(eval $(call KernelPackage,input-polldev))
343
344
345 define KernelPackage/leds-alix
346 SUBMENU:=$(OTHER_MENU)
347 TITLE:=PCengines ALIX LED support
348 DEPENDS:=@TARGET_x86
349 KCONFIG:=CONFIG_LEDS_ALIX2
350 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.$(LINUX_KMOD_SUFFIX)
351 AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
352 endef
353
354 define KernelPackage/leds-alix/description
355 Kernel module for PCengines ALIX LEDs
356 endef
357
358 $(eval $(call KernelPackage,leds-alix))
359
360
361 define KernelPackage/leds-gpio
362 SUBMENU:=$(OTHER_MENU)
363 TITLE:=GPIO LED support
364 DEPENDS:= @GPIO_SUPPORT
365 KCONFIG:=CONFIG_LEDS_GPIO
366 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
367 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
368 endef
369
370 define KernelPackage/leds-gpio/description
371 Kernel module for LEDs on GPIO lines
372 endef
373
374 $(eval $(call KernelPackage,leds-gpio))
375
376
377 define KernelPackage/leds-net48xx
378 SUBMENU:=$(OTHER_MENU)
379 TITLE:=Soekris Net48xx LED support
380 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
381 KCONFIG:=CONFIG_LEDS_NET48XX
382 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
383 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
384 endef
385
386 define KernelPackage/leds-net48xx/description
387 Kernel module for Soekris Net48xx LEDs
388 endef
389
390 $(eval $(call KernelPackage,leds-net48xx))
391
392
393 define KernelPackage/leds-rb750
394 SUBMENU:=$(OTHER_MENU)
395 TITLE:=RouterBOARD 750 LED support
396 DEPENDS:=@TARGET_ar71xx
397 KCONFIG:=CONFIG_LEDS_RB750
398 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.$(LINUX_KMOD_SUFFIX)
399 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
400 endef
401
402 define KernelPackage/leds-rb750/description
403 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
404 endef
405
406 $(eval $(call KernelPackage,leds-rb750))
407
408
409 define KernelPackage/leds-wndr3700-usb
410 SUBMENU:=$(OTHER_MENU)
411 TITLE:=WNDR3700 USB LED support
412 DEPENDS:=@TARGET_ar71xx
413 KCONFIG:=CONFIG_LEDS_WNDR3700_USB
414 FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.$(LINUX_KMOD_SUFFIX)
415 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
416 endef
417
418 define KernelPackage/leds-wndr3700-usb/description
419 Kernel module for the USB LED on the NETGWR WNDR3700 board.
420 endef
421
422 $(eval $(call KernelPackage,leds-wndr3700-usb))
423
424
425 define KernelPackage/leds-wrap
426 SUBMENU:=$(OTHER_MENU)
427 TITLE:=PCengines WRAP LED support
428 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
429 KCONFIG:=CONFIG_LEDS_WRAP
430 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
431 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
432 endef
433
434 define KernelPackage/leds-wrap/description
435 Kernel module for PCengines WRAP LEDs
436 endef
437
438 $(eval $(call KernelPackage,leds-wrap))
439
440
441 define KernelPackage/ledtrig-morse
442 SUBMENU:=$(OTHER_MENU)
443 TITLE:=LED Morse Trigger
444 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
445 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
446 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
447 endef
448
449 define KernelPackage/ledtrig-morse/description
450 Kernel module to show morse coded messages on LEDs.
451 endef
452
453 $(eval $(call KernelPackage,ledtrig-morse))
454
455
456 define KernelPackage/ledtrig-netdev
457 SUBMENU:=$(OTHER_MENU)
458 TITLE:=LED NETDEV Trigger
459 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
460 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
461 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
462 endef
463
464 define KernelPackage/ledtrig-netdev/description
465 Kernel module to drive LEDs based on network activity.
466 endef
467
468 $(eval $(call KernelPackage,ledtrig-netdev))
469
470
471 define KernelPackage/lp
472 SUBMENU:=$(OTHER_MENU)
473 TITLE:=Parallel port and line printer support
474 DEPENDS:=@BROKEN
475 KCONFIG:= \
476 CONFIG_PARPORT \
477 CONFIG_PRINTER \
478 CONFIG_PPDEV
479 FILES:= \
480 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
481 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
482 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
483 AUTOLOAD:=$(call AutoLoad,50,parport lp)
484 endef
485
486 $(eval $(call KernelPackage,lp))
487
488
489 define KernelPackage/mmc
490 SUBMENU:=$(OTHER_MENU)
491 TITLE:=MMC/SD Card Support
492 KCONFIG:= \
493 CONFIG_MMC \
494 CONFIG_MMC_BLOCK \
495 CONFIG_MMC_DEBUG=n \
496 CONFIG_MMC_UNSAFE_RESUME=n \
497 CONFIG_MMC_BLOCK_BOUNCE=y \
498 CONFIG_MMC_SDHCI=n \
499 CONFIG_MMC_TIFM_SD=n \
500 CONFIG_MMC_WBSD=n \
501 CONFIG_SDIO_UART=n
502 FILES:= \
503 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
504 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
505 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
506 endef
507
508 define KernelPackage/mmc/description
509 Kernel support for MMC/SD cards
510 endef
511
512 $(eval $(call KernelPackage,mmc))
513
514
515 define KernelPackage/mmc-atmelmci
516 SUBMENU:=$(OTHER_MENU)
517 TITLE:=Amtel MMC Support
518 DEPENDS:=@TARGET_avr32 +kmod-mmc
519 KCONFIG:=CONFIG_MMC_ATMELMCI
520 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
521 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
522 endef
523
524 define KernelPackage/mmc-atmelmci/description
525 Kernel support for Atmel Multimedia Card Interface.
526 endef
527
528 $(eval $(call KernelPackage,mmc-atmelmci,1))
529
530
531 define KernelPackage/rfkill
532 SUBMENU:=$(OTHER_MENU)
533 TITLE:=RF switch subsystem support
534 KCONFIG:= \
535 CONFIG_RFKILL \
536 CONFIG_RFKILL_INPUT=y \
537 CONFIG_RFKILL_LEDS=y
538 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
539 FILES:= \
540 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
541 AUTOLOAD:=$(call AutoLoad,20,rfkill)
542 else
543 FILES:= \
544 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
545 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
546 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
547 endif
548 $(call SetDepends/rfkill)
549 endef
550
551 define KernelPackage/rfkill/description
552 Say Y here if you want to have control over RF switches
553 found on many WiFi and Bluetooth cards.
554 endef
555
556 $(eval $(call KernelPackage,rfkill))
557
558
559 define KernelPackage/softdog
560 SUBMENU:=$(OTHER_MENU)
561 TITLE:=Software watchdog driver
562 KCONFIG:=CONFIG_SOFT_WATCHDOG
563 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
564 AUTOLOAD:=$(call AutoLoad,50,softdog)
565 endef
566
567 define KernelPackage/softdog/description
568 Software watchdog driver
569 endef
570
571 $(eval $(call KernelPackage,softdog))
572
573
574 define KernelPackage/ssb
575 SUBMENU:=$(OTHER_MENU)
576 TITLE:=Silicon Sonics Backplane glue code
577 DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
578 KCONFIG:=\
579 CONFIG_SSB \
580 CONFIG_SSB_B43_PCI_BRIDGE=y \
581 CONFIG_SSB_DRIVER_MIPS=n \
582 CONFIG_SSB_DRIVER_PCICORE=y \
583 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
584 CONFIG_SSB_PCIHOST=y \
585 CONFIG_SSB_PCIHOST_POSSIBLE=y \
586 CONFIG_SSB_POSSIBLE=y \
587 CONFIG_SSB_SPROM=y \
588 CONFIG_SSB_SILENT=y
589 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
590 AUTOLOAD:=$(call AutoLoad,29,ssb)
591 endef
592
593 define KernelPackage/ssb/description
594 Silicon Sonics Backplane glue code.
595 endef
596
597 $(eval $(call KernelPackage,ssb))
598
599
600 define KernelPackage/textsearch
601 SUBMENU:=$(OTHER_MENU)
602 TITLE:=Textsearch support is selected if needed
603 KCONFIG:= \
604 CONFIG_TEXTSEARCH=y \
605 CONFIG_TEXTSEARCH_KMP \
606 CONFIG_TEXTSEARCH_BM \
607 CONFIG_TEXTSEARCH_FSM
608 FILES:= \
609 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
610 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
611 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
612 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
613 endef
614
615 $(eval $(call KernelPackage,textsearch))
616
617
618 define KernelPackage/wdt-geode
619 SUBMENU:=$(OTHER_MENU)
620 TITLE:=Geode/LX Watchdog timer
621 DEPENDS:=@TARGET_x86
622 KCONFIG:=CONFIG_GEODE_WDT
623 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.$(LINUX_KMOD_SUFFIX)
624 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
625 endef
626
627 define KernelPackage/wdt-geode/description
628 Kernel module for Geode watchdog timer.
629 endef
630
631 $(eval $(call KernelPackage,wdt-geode))
632
633
634 define KernelPackage/wdt-sc520
635 SUBMENU:=$(OTHER_MENU)
636 TITLE:=Natsemi SC520 Watchdog support
637 DEPENDS:=@TARGET_x86
638 KCONFIG:=CONFIG_SC520_WDT
639 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
640 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
641 endef
642
643 define KernelPackage/wdt-sc520/description
644 Kernel module for SC520 Watchdog
645 endef
646
647 $(eval $(call KernelPackage,wdt-sc520))
648
649
650 define KernelPackage/wdt-scx200
651 SUBMENU:=$(OTHER_MENU)
652 TITLE:=Natsemi SCX200 Watchdog support
653 DEPENDS:=@TARGET_x86
654 KCONFIG:=CONFIG_SCx200_WDT
655 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
656 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
657 endef
658
659 define KernelPackage/wdt-scx200/description
660 Kernel module for SCX200 Watchdog
661 endef
662
663 $(eval $(call KernelPackage,wdt-scx200))
664
665
666 define KernelPackage/pwm-gpio
667 SUBMENU:=$(OTHER_MENU)
668 TITLE:=PWM over GPIO
669 KCONFIG:=CONFIG_GENERIC_PWM \
670 CONFIG_GPIO_PWM
671 FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.$(LINUX_KMOD_SUFFIX)
672 AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
673 endef
674
675 define KernelPackage/pwm-gpio/description
676 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
677 endef
678
679 $(eval $(call KernelPackage,pwm-gpio))