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