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