omap24xx: Add config option for n810 bluetooth driver
[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/bluetooth-hci-h4p
59   SUBMENU:=$(OTHER_MENU)
60   TITLE:=HCI driver with H4 Nokia extensions
61   DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
62   KCONFIG:=CONFIG_BT_HCIH4P
63   FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
64   AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
65 endef
66
67 define KernelPackage/bluetooth-hci-h4p/description
68   HCI driver with H4 Nokia extensions
69 endef
70
71 $(eval $(call KernelPackage,bluetooth-hci-h4p))
72
73
74 define KernelPackage/cpu-msr
75   SUBMENU:=$(OTHER_MENU)
76   TITLE:=x86 CPU MSR support
77   DEPENDS:=@TARGET_x86
78   KCONFIG:=CONFIG_X86_MSR
79   FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX)
80   AUTOLOAD:=$(call AutoLoad,20,msr)
81 endef
82
83 define KernelPackage/cpu-msr/description
84  Kernel module for Model Specific Registers support in x86 CPUs
85 endef
86
87 $(eval $(call KernelPackage,cpu-msr))
88
89
90 define KernelPackage/crc-ccitt
91   SUBMENU:=$(OTHER_MENU)
92   TITLE:=CRC-CCITT support
93   KCONFIG:=CONFIG_CRC_CCITT
94   FILES:=$(LINUX_DIR)/lib/crc-ccitt.ko
95   AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
96 endef
97
98 define KernelPackage/crc-ccitt/description
99  Kernel module for CRC-CCITT support
100 endef
101
102 $(eval $(call KernelPackage,crc-ccitt))
103
104
105 define KernelPackage/crc-itu-t
106   SUBMENU:=$(OTHER_MENU)
107   TITLE:=CRC ITU-T V.41 support
108   KCONFIG:=CONFIG_CRC_ITU_T
109   FILES:=$(LINUX_DIR)/lib/crc-itu-t.ko
110   AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
111 endef
112
113 define KernelPackage/crc-itu-t/description
114  Kernel module for CRC ITU-T V.41 support
115 endef
116
117 $(eval $(call KernelPackage,crc-itu-t))
118
119
120 define KernelPackage/crc7
121   SUBMENU:=$(OTHER_MENU)
122   TITLE:=CRC7 support
123   KCONFIG:=CONFIG_CRC7
124   FILES:=$(LINUX_DIR)/lib/crc7.ko
125   AUTOLOAD:=$(call AutoLoad,20,crc7)
126 endef
127
128 define KernelPackage/crc7/description
129  Kernel module for CRC7 support
130 endef
131
132 $(eval $(call KernelPackage,crc7))
133
134
135 define KernelPackage/crc16
136   SUBMENU:=$(OTHER_MENU)
137   TITLE:=CRC16 support
138   KCONFIG:=CONFIG_CRC16
139   FILES:=$(LINUX_DIR)/lib/crc16.ko
140   AUTOLOAD:=$(call AutoLoad,20,crc16,1)
141   $(call SetDepends/crc16)
142 endef
143
144 define KernelPackage/crc16/description
145  Kernel module for CRC16 support
146 endef
147
148 $(eval $(call KernelPackage,crc16))
149
150
151 define KernelPackage/libcrc32c
152   SUBMENU:=$(OTHER_MENU)
153   TITLE:=CRC32 library support
154   KCONFIG:=CONFIG_LIBCRC32C
155   DEPENDS:=+kmod-crypto-core +kmod-crypto-misc
156   FILES:=$(LINUX_DIR)/lib/libcrc32c.ko
157   AUTOLOAD:=$(call AutoLoad,20,crc32c libcrc32c,1)
158 endef
159
160 define KernelPackage/libcrc32c/description
161  Kernel module for CRC32 support
162 endef
163
164 $(eval $(call KernelPackage,libcrc32c))
165
166
167 define KernelPackage/eeprom-93cx6
168   SUBMENU:=$(OTHER_MENU)
169   TITLE:=EEPROM 93CX6 support
170   KCONFIG:=CONFIG_EEPROM_93CX6
171   FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
172   AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
173 endef
174
175 define KernelPackage/eeprom-93cx6/description
176  Kernel module for EEPROM 93CX6 support
177 endef
178
179 $(eval $(call KernelPackage,eeprom-93cx6))
180
181
182 define KernelPackage/gpio-cs5535
183   SUBMENU:=$(OTHER_MENU)
184   TITLE:=AMD CS5535/CS5536 GPIO driver
185   DEPENDS:=@TARGET_x86
186   KCONFIG:=CONFIG_CS5535_GPIO
187   FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
188   AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
189 endef
190
191 define KernelPackage/gpio-cs5535/description
192  This package contains the AMD CS5535/CS5536 GPIO driver
193 endef
194
195 $(eval $(call KernelPackage,gpio-cs5535))
196
197
198 define KernelPackage/gpio-cs5535-new
199   SUBMENU:=$(OTHER_MENU)
200   TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
201   DEPENDS:=@TARGET_x86
202 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1) 
203   KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_PCI CONFIG_GPIOLIB
204   FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
205   AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
206 endif
207 endef
208
209 define KernelPackage/gpio-cs5535-new/description
210  This package contains the new AMD CS5535/CS5536 GPIO driver
211 endef
212
213 $(eval $(call KernelPackage,gpio-cs5535-new))
214
215
216 define KernelPackage/gpio-dev
217   SUBMENU:=$(OTHER_MENU)
218   TITLE:=Generic GPIO char device support
219   DEPENDS:=@GPIO_SUPPORT
220   KCONFIG:=CONFIG_GPIO_DEVICE
221   FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
222   AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
223 endef
224
225 define KernelPackage/gpio-dev/description
226   Kernel module to allows control of GPIO pins using a character device.
227 endef
228
229 $(eval $(call KernelPackage,gpio-dev))
230
231
232 define KernelPackage/gpio-nsc
233   SUBMENU:=$(OTHER_MENU)
234   TITLE:=Natsemi GPIO support
235   DEPENDS:=@TARGET_x86
236   KCONFIG:=CONFIG_NSC_GPIO
237   FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
238   AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
239 endef
240
241 define KernelPackage/gpio-nsc/description
242  Kernel module for Natsemi GPIO
243 endef
244
245 $(eval $(call KernelPackage,gpio-nsc))
246
247
248 define KernelPackage/gpio-pc8736x
249   SUBMENU:=$(OTHER_MENU)
250   TITLE:=PC8736x GPIO support
251   DEPENDS:=@TARGET_x86
252   KCONFIG:=CONFIG_PC8736x_GPIO
253   FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
254   AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
255 endef
256
257 define KernelPackage/gpio-pc8736x/description
258  Kernel module for PC8736x GPIO
259 endef
260
261 $(eval $(call KernelPackage,gpio-pc8736x))
262
263
264 define KernelPackage/gpio-scx200
265   SUBMENU:=$(OTHER_MENU)
266   TITLE:=Natsemi SCX200 GPIO support
267   DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
268   KCONFIG:=CONFIG_SCx200_GPIO
269   FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
270   AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
271 endef
272
273 define KernelPackage/gpio-scx200/description
274  Kernel module for SCX200 GPIO
275 endef
276
277 $(eval $(call KernelPackage,gpio-scx200))
278
279 define KernelPackage/gpio-nxp-74hc164
280   SUBMENU:=$(OTHER_MENU)
281   TITLE:=NXP 74HC164 GPIO expander support
282   DEPENDS:=@TARGET_brcm63xx
283   KCONFIG:=CONFIG_GPIO_NXP_74HC164
284   FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
285   AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
286 endef
287
288 define KernelPackage/gpio-nxp-74hc164/description
289   Kernel module for NXP 74HC164 GPIO expander
290 endef
291
292 $(eval $(call KernelPackage,gpio-nxp-74hc164))
293
294 define KernelPackage/hid
295   SUBMENU:=$(OTHER_MENU)
296   TITLE:=HID Devices
297   DEPENDS:=+kmod-input-evdev
298   KCONFIG:=CONFIG_HID
299   FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
300   AUTOLOAD:=$(call AutoLoad,61,hid)
301   $(call SetDepends/hid)
302   $(call AddDepends/input)
303 endef
304
305 define KernelPackage/hid/description
306  Kernel modules for HID devices
307 endef
308
309 $(eval $(call KernelPackage,hid))
310
311
312 define KernelPackage/input-core
313   SUBMENU:=$(OTHER_MENU)
314   TITLE:=Input device core
315   KCONFIG:=CONFIG_INPUT
316   $(call SetDepends/input)
317   FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
318   AUTOLOAD:=$(call AutoLoad,19,input-core)
319 endef
320
321 define KernelPackage/input-core/description
322  Kernel modules for support of input device
323 endef
324
325 $(eval $(call KernelPackage,input-core))
326
327
328 define KernelPackage/input-evdev
329   SUBMENU:=$(OTHER_MENU)
330   TITLE:=Input event device
331   KCONFIG:=CONFIG_INPUT_EVDEV
332   FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
333   AUTOLOAD:=$(call AutoLoad,60,evdev)
334   $(call AddDepends/input)
335 endef
336
337 define KernelPackage/input-evdev/description
338  Kernel modules for support of input device events
339 endef
340
341 $(eval $(call KernelPackage,input-evdev))
342
343
344 define KernelPackage/input-gpio-buttons
345   SUBMENU:=$(OTHER_MENU)
346   TITLE:=Polled GPIO buttons input device
347   DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
348   KCONFIG:= \
349         CONFIG_INPUT_GPIO_BUTTONS \
350         CONFIG_INPUT_MISC=y
351   FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
352   AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
353 endef
354
355 define KernelPackage/input-gpio-buttons/description
356  Kernel module for support polled GPIO buttons input device
357 endef
358
359 $(eval $(call KernelPackage,input-gpio-buttons))
360
361
362 define KernelPackage/input-gpio-keys
363   SUBMENU:=$(OTHER_MENU)
364   TITLE:=GPIO key support
365   DEPENDS:= @GPIO_SUPPORT
366   KCONFIG:= \
367         CONFIG_KEYBOARD_GPIO \
368         CONFIG_INPUT_KEYBOARD=y
369   FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
370   AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
371   $(call AddDepends/input)
372 endef
373
374 define KernelPackage/input-gpio-keys/description
375  This driver implements support for buttons connected
376  to GPIO pins of various CPUs (and some other chips).
377 endef
378
379 $(eval $(call KernelPackage,input-gpio-keys))
380
381
382 define KernelPackage/input-gpio-encoder
383   SUBMENU:=$(OTHER_MENU)
384   TITLE:=GPIO rotay encoder
385   KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
386   FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
387   AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
388   $(call AddDepends/input,@GPIO_SUPPORT)
389 endef
390
391 define KernelPackage/gpio-encoder/description
392  Kernel module to use rotary encoders connected to GPIO pins
393 endef
394
395 $(eval $(call KernelPackage,input-gpio-encoder))
396
397
398 define KernelPackage/input-joydev
399   SUBMENU:=$(OTHER_MENU)
400   TITLE:=Joystick device support
401   KCONFIG:=CONFIG_INPUT_JOYDEV
402   FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
403   AUTOLOAD:=$(call AutoLoad,62,joydev)
404   $(call AddDepends/input)
405 endef
406
407 define KernelPackage/input-joydev/description
408   Kernel module for joystick support
409 endef
410
411 $(eval $(call KernelPackage,input-joydev))
412
413
414 define KernelPackage/input-polldev
415   SUBMENU:=$(OTHER_MENU)
416   TITLE:=Polled Input device support
417   KCONFIG:=CONFIG_INPUT_POLLDEV
418   FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
419   AUTOLOAD:=$(call AutoLoad,20,input-polldev)
420   $(call AddDepends/input)
421 endef
422
423 define KernelPackage/input-polldev/description
424  Kernel module for support of polled input devices
425 endef
426
427 $(eval $(call KernelPackage,input-polldev))
428
429
430 define KernelPackage/leds-alix
431   SUBMENU:=$(OTHER_MENU)
432   TITLE:=PCengines ALIX LED support
433   DEPENDS:=@TARGET_x86
434   KCONFIG:=CONFIG_LEDS_ALIX2
435   FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko
436   AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
437 endef
438
439 define KernelPackage/leds-alix/description
440  Kernel module for PCengines ALIX LEDs
441 endef
442
443 $(eval $(call KernelPackage,leds-alix))
444
445
446 define KernelPackage/leds-gpio
447   SUBMENU:=$(OTHER_MENU)
448   TITLE:=GPIO LED support
449   DEPENDS:= @GPIO_SUPPORT
450   KCONFIG:=CONFIG_LEDS_GPIO
451   FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
452   AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
453 endef
454
455 define KernelPackage/leds-gpio/description
456  Kernel module for LEDs on GPIO lines
457 endef
458
459 $(eval $(call KernelPackage,leds-gpio))
460
461
462 define KernelPackage/leds-net48xx
463   SUBMENU:=$(OTHER_MENU)
464   TITLE:=Soekris Net48xx LED support
465   DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
466   KCONFIG:=CONFIG_LEDS_NET48XX
467   FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
468   AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
469 endef
470
471 define KernelPackage/leds-net48xx/description
472  Kernel module for Soekris Net48xx LEDs
473 endef
474
475 $(eval $(call KernelPackage,leds-net48xx))
476
477 define KernelPackage/leds-net5501
478   SUBMENU:=$(OTHER_MENU)
479   TITLE:=Soekris Net5501 LED support
480   DEPENDS:=@TARGET_x86 +kmod-gpio-cs5535 +kmod-leds-gpio
481   KCONFIG:=CONFIG_LEDS_NET5501
482   FILES:=$(LINUX_DIR)/drivers/leds/leds-net5501.ko
483   AUTOLOAD:=$(call AutoLoad,50,leds-net5501)
484 endef
485
486 define KernelPackage/leds-net5501/description
487  Kernel module for Soekris Net5501 LEDs
488 endef
489
490 $(eval $(call KernelPackage,leds-net5501))
491
492
493 define KernelPackage/leds-rb750
494   SUBMENU:=$(OTHER_MENU)
495   TITLE:=RouterBOARD 750 LED support
496   DEPENDS:=@TARGET_ar71xx
497   KCONFIG:=CONFIG_LEDS_RB750
498   FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
499   AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
500 endef
501
502 define KernelPackage/leds-rb750/description
503  Kernel module for the LEDs on the MikroTik RouterBOARD 750.
504 endef
505
506 $(eval $(call KernelPackage,leds-rb750))
507
508
509 define KernelPackage/leds-wndr3700-usb
510   SUBMENU:=$(OTHER_MENU)
511   TITLE:=WNDR3700 USB LED support
512   DEPENDS:=@TARGET_ar71xx
513   KCONFIG:=CONFIG_LEDS_WNDR3700_USB
514   FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
515   AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
516 endef
517
518 define KernelPackage/leds-wndr3700-usb/description
519  Kernel module for the USB LED on the NETGWR WNDR3700 board.
520 endef
521
522 $(eval $(call KernelPackage,leds-wndr3700-usb))
523
524
525 define KernelPackage/leds-wrap
526   SUBMENU:=$(OTHER_MENU)
527   TITLE:=PCengines WRAP LED support
528   DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
529   KCONFIG:=CONFIG_LEDS_WRAP
530   FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
531   AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
532 endef
533
534 define KernelPackage/leds-wrap/description
535  Kernel module for PCengines WRAP LEDs
536 endef
537
538 $(eval $(call KernelPackage,leds-wrap))
539
540
541 define KernelPackage/ledtrig-gpio
542   SUBMENU:=$(OTHER_MENU)
543   TITLE:=LED GPIO Trigger
544   KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO
545   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko
546   AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio)
547 endef
548
549 define KernelPackage/ledtrig-gpio/description
550  Kernel module that allows LEDs to be controlled by gpio events.
551 endef
552
553 $(eval $(call KernelPackage,ledtrig-gpio))
554
555
556 define KernelPackage/ledtrig-morse
557   SUBMENU:=$(OTHER_MENU)
558   TITLE:=LED Morse Trigger
559   KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
560   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
561   AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
562 endef
563
564 define KernelPackage/ledtrig-morse/description
565  Kernel module to show morse coded messages on LEDs.
566 endef
567
568 $(eval $(call KernelPackage,ledtrig-morse))
569
570
571 define KernelPackage/ledtrig-netdev
572   SUBMENU:=$(OTHER_MENU)
573   TITLE:=LED NETDEV Trigger
574   KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
575   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko
576   AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
577 endef
578
579 define KernelPackage/ledtrig-netdev/description
580  Kernel module to drive LEDs based on network activity.
581 endef
582
583 $(eval $(call KernelPackage,ledtrig-netdev))
584
585
586 define KernelPackage/ledtrig-netfilter
587   SUBMENU:=$(OTHER_MENU)
588   TITLE:=LED NetFilter Trigger
589   DEPENDS:=kmod-ipt-core
590   KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED
591   FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko
592   AUTOLOAD:=$(call AutoLoad,50,xt_LED)
593 endef
594
595 define KernelPackage/ledtrig-netfilter/description
596  Kernel module to flash LED when a particular packets passing through your machine.
597
598  For example to create an LED trigger for incoming SSH traffic:
599     iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000
600  Then attach the new trigger to an LED on your system:
601     echo netfilter-ssh > /sys/class/leds/<ledname>/trigger
602 endef
603
604 $(eval $(call KernelPackage,ledtrig-netfilter))
605
606 define KernelPackage/ledtrig-usbdev
607   SUBMENU:=$(OTHER_MENU)
608   TITLE:=LED USB device Trigger
609   DEPENDS:=@USB_SUPPORT +kmod-usb-core
610   KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV
611   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko
612   AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev)
613 endef
614
615 define KernelPackage/ledtrig-usbdev/description
616  Kernel module to drive LEDs based on USB device presence/activity.
617 endef
618
619 $(eval $(call KernelPackage,ledtrig-usbdev))
620
621
622 define KernelPackage/lp
623   SUBMENU:=$(OTHER_MENU)
624   TITLE:=Parallel port and line printer support
625   DEPENDS:=@BROKEN
626   KCONFIG:= \
627         CONFIG_PARPORT \
628         CONFIG_PRINTER \
629         CONFIG_PPDEV
630   FILES:= \
631         $(LINUX_DIR)/drivers/parport/parport.ko \
632         $(LINUX_DIR)/drivers/char/lp.ko \
633         $(LINUX_DIR)/drivers/char/ppdev.ko
634   AUTOLOAD:=$(call AutoLoad,50,parport lp)
635 endef
636
637 $(eval $(call KernelPackage,lp))
638
639
640 define KernelPackage/mmc
641   SUBMENU:=$(OTHER_MENU)
642   TITLE:=MMC/SD Card Support
643   KCONFIG:= \
644         CONFIG_MMC \
645         CONFIG_MMC_BLOCK \
646         CONFIG_MMC_DEBUG=n \
647         CONFIG_MMC_UNSAFE_RESUME=n \
648         CONFIG_MMC_BLOCK_BOUNCE=y \
649         CONFIG_MMC_SDHCI=n \
650         CONFIG_MMC_TIFM_SD=n \
651         CONFIG_MMC_WBSD=n \
652         CONFIG_SDIO_UART=n
653   FILES:= \
654         $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
655         $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
656   AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
657 endef
658
659 define KernelPackage/mmc/description
660  Kernel support for MMC/SD cards
661 endef
662
663 $(eval $(call KernelPackage,mmc))
664
665
666 define KernelPackage/mmc-atmelmci
667   SUBMENU:=$(OTHER_MENU)
668   TITLE:=Amtel MMC Support
669   DEPENDS:=@TARGET_avr32 +kmod-mmc
670   KCONFIG:=CONFIG_MMC_ATMELMCI
671   FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
672   AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
673 endef
674
675 define KernelPackage/mmc-atmelmci/description
676  Kernel support for  Atmel Multimedia Card Interface.
677 endef
678
679 $(eval $(call KernelPackage,mmc-atmelmci,1))
680
681
682 define KernelPackage/oprofile
683   SUBMENU:=$(OTHER_MENU)
684   TITLE:=OProfile profiling support
685   KCONFIG:=CONFIG_OPROFILE
686   FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX)
687   DEPENDS:=@KERNEL_PROFILING
688 endef
689
690 define KernelPackage/oprofile/description
691   Kernel module for support for oprofile system profiling.
692 endef
693
694 $(eval $(call KernelPackage,oprofile))
695
696
697 define KernelPackage/rfkill
698   SUBMENU:=$(OTHER_MENU)
699   TITLE:=RF switch subsystem support
700   KCONFIG:= \
701     CONFIG_RFKILL \
702     CONFIG_RFKILL_INPUT=y \
703     CONFIG_RFKILL_LEDS=y
704 ifeq ($(CONFIG_LINUX_2_6_30),)
705   FILES:= \
706     $(LINUX_DIR)/net/rfkill/rfkill.ko
707   AUTOLOAD:=$(call AutoLoad,20,rfkill)
708 else
709   FILES:= \
710     $(LINUX_DIR)/net/rfkill/rfkill.ko \
711     $(LINUX_DIR)/net/rfkill/rfkill-input.ko
712   AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
713 endif
714   $(call SetDepends/rfkill)
715 endef
716
717 define KernelPackage/rfkill/description
718   Say Y here if you want to have control over RF switches
719   found on many WiFi and Bluetooth cards.
720 endef
721
722 $(eval $(call KernelPackage,rfkill))
723
724
725 define KernelPackage/softdog
726   SUBMENU:=$(OTHER_MENU)
727   TITLE:=Software watchdog driver
728   KCONFIG:=CONFIG_SOFT_WATCHDOG
729   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
730   AUTOLOAD:=$(call AutoLoad,50,softdog)
731 endef
732
733 define KernelPackage/softdog/description
734  Software watchdog driver
735 endef
736
737 $(eval $(call KernelPackage,softdog))
738
739
740 define KernelPackage/ssb
741   SUBMENU:=$(OTHER_MENU)
742   TITLE:=Silicon Sonics Backplane glue code
743   DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
744   KCONFIG:=\
745         CONFIG_SSB \
746         CONFIG_SSB_B43_PCI_BRIDGE=y \
747         CONFIG_SSB_DRIVER_MIPS=n \
748         CONFIG_SSB_DRIVER_PCICORE=y \
749         CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
750         CONFIG_SSB_PCIHOST=y \
751         CONFIG_SSB_PCIHOST_POSSIBLE=y \
752         CONFIG_SSB_POSSIBLE=y \
753         CONFIG_SSB_SPROM=y \
754         CONFIG_SSB_SILENT=y
755   FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
756   AUTOLOAD:=$(call AutoLoad,29,ssb)
757 endef
758
759 define KernelPackage/ssb/description
760   Silicon Sonics Backplane glue code.
761 endef
762
763 $(eval $(call KernelPackage,ssb))
764
765
766 define KernelPackage/textsearch
767 SUBMENU:=$(OTHER_MENU)
768   TITLE:=Textsearch support is selected if needed
769   KCONFIG:= \
770     CONFIG_TEXTSEARCH=y \
771     CONFIG_TEXTSEARCH_KMP \
772     CONFIG_TEXTSEARCH_BM \
773     CONFIG_TEXTSEARCH_FSM
774   FILES:= \
775     $(LINUX_DIR)/lib/ts_kmp.ko \
776     $(LINUX_DIR)/lib/ts_bm.ko \
777     $(LINUX_DIR)/lib/ts_fsm.ko
778   AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
779 endef
780
781 $(eval $(call KernelPackage,textsearch))
782
783
784 define KernelPackage/wdt-geode
785   SUBMENU:=$(OTHER_MENU)
786   TITLE:=Geode/LX Watchdog timer
787   DEPENDS:=@TARGET_x86
788   KCONFIG:=CONFIG_GEODE_WDT
789   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
790   AUTOLOAD:=$(call AutoLoad,50,geodewdt)
791 endef
792
793 define KernelPackage/wdt-geode/description
794   Kernel module for Geode watchdog timer.
795 endef
796
797 $(eval $(call KernelPackage,wdt-geode))
798
799
800 define KernelPackage/wdt-omap
801   SUBMENU:=$(OTHER_MENU)
802   TITLE:=OMAP Watchdog timer
803   DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
804   KCONFIG:=CONFIG_OMAP_WATCHDOG
805   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
806   AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
807 endef
808
809 define KernelPackage/wdt-omap/description
810   Kernel module for TI omap watchdog timer.
811 endef
812
813 $(eval $(call KernelPackage,wdt-omap))
814
815
816 define KernelPackage/wdt-orion
817   SUBMENU:=$(OTHER_MENU)
818   TITLE:=Marvell Orion Watchdog timer
819   DEPENDS:=@TARGET_orion
820   KCONFIG:=CONFIG_ORION_WATCHDOG
821   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
822   AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
823 endef
824
825 define KernelPackage/wdt-orion/description
826   Kernel module for Marvell orion watchdog timer.
827 endef
828
829 $(eval $(call KernelPackage,wdt-orion))
830
831
832 define KernelPackage/wdt-sc520
833   SUBMENU:=$(OTHER_MENU)
834   TITLE:=Natsemi SC520 Watchdog support
835   DEPENDS:=@TARGET_x86
836   KCONFIG:=CONFIG_SC520_WDT
837   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
838   AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
839 endef
840
841 define KernelPackage/wdt-sc520/description
842   Kernel module for SC520 Watchdog
843 endef
844
845 $(eval $(call KernelPackage,wdt-sc520))
846
847
848 define KernelPackage/wdt-scx200
849   SUBMENU:=$(OTHER_MENU)
850   TITLE:=Natsemi SCX200 Watchdog support
851   DEPENDS:=@TARGET_x86
852   KCONFIG:=CONFIG_SCx200_WDT
853   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
854   AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
855 endef
856
857 define KernelPackage/wdt-scx200/description
858  Kernel module for SCX200 Watchdog
859 endef
860
861 $(eval $(call KernelPackage,wdt-scx200))
862
863 define KernelPackage/pwm
864   SUBMENU:=$(OTHER_MENU)
865   TITLE:=PWM generic API
866   KCONFIG:=CONFIG_GENERIC_PWM
867   FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
868   AUTOLOAD:=$(call AutoLoad,50,pwm)
869 endef
870
871 define KernelPackage/pwm/description
872  Kernel module that implement a generic PWM API
873 endef
874
875 $(eval $(call KernelPackage,pwm))
876
877
878 define KernelPackage/pwm-gpio
879   SUBMENU:=$(OTHER_MENU)
880   TITLE:=PWM over GPIO
881   DEPENDS:=+kmod-pwm
882   KCONFIG:=CONFIG_GPIO_PWM
883   FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
884   AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
885 endef
886
887 define KernelPackage/pwm-gpio/description
888  Kernel module to models a single-channel PWM device using a timer and a GPIO pin
889 endef
890
891 $(eval $(call KernelPackage,pwm-gpio))
892
893 define KernelPackage/rtc-core
894   SUBMENU:=$(OTHER_MENU)
895   TITLE:=Real Time Clock class support
896   KCONFIG:=CONFIG_RTC_CLASS
897   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX)
898   AUTOLOAD:=$(call AutoLoad,29,rtc-core)
899 endef
900
901 define KernelPackage/rtc-core/description
902  Generic RTC class support.
903 endef
904
905 $(eval $(call KernelPackage,rtc-core))
906
907 define KernelPackage/rtc-pcf8563
908   SUBMENU:=$(OTHER_MENU)
909   TITLE:=Philips PCF8563/Epson RTC8564 RTC support
910   DEPENDS:=+kmod-rtc-core
911   KCONFIG:=CONFIG_RTC_DRV_PCF8563
912   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX)
913   AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563)
914 endef
915
916 define KernelPackage/rtc-pcf8563/description
917  Kernel module for Philips PCF8563 RTC chip.
918  The Epson RTC8564 should work as well.
919 endef
920
921 $(eval $(call KernelPackage,rtc-pcf8563))
922
923
924 define KernelPackage/n810bm
925   SUBMENU:=$(OTHER_MENU)
926   TITLE:=Nokia N810 battery management driver
927   DEPENDS:=@TARGET_omap24xx
928   KCONFIG:=CONFIG_N810BM
929   FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX)
930   AUTOLOAD:=$(call AutoLoad,01,n810bm)
931 endef
932
933 define KernelPackage/n810bm/description
934   Nokia N810 battery management driver.
935   Controls battery power management and battery charging.
936 endef
937
938 $(eval $(call KernelPackage,n810bm))