2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 OTHER_MENU:=Other modules
10 define KernelPackage/block2mtd
11 SUBMENU:=$(OTHER_MENU)
12 TITLE:=Block device MTD emulation
13 KCONFIG:=CONFIG_MTD_BLOCK2MTD
14 FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.$(LINUX_KMOD_SUFFIX)
16 $(eval $(call KernelPackage,block2mtd))
18 define KernelPackage/crc-itu-t
19 SUBMENU:=$(OTHER_MENU)
20 TITLE:=CRC ITU-T V.41 support
21 KCONFIG:=CONFIG_CRC_ITU_T
22 FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
26 define KernelPackage/crc-itu-t/description
27 Kernel module for CRC ITU-T V.41 support
30 $(eval $(call KernelPackage,crc-itu-t))
32 define KernelPackage/crc-ccitt
33 SUBMENU:=$(OTHER_MENU)
34 TITLE:=CRC-CCITT support
35 KCONFIG:=CONFIG_CRC_CCITT
36 FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
37 AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
40 define KernelPackage/crc-ccitt/description
41 Kernel module for CRC-CCITT support
44 $(eval $(call KernelPackage,crc-ccitt))
47 define KernelPackage/crc7
48 SUBMENU:=$(OTHER_MENU)
51 FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
52 AUTOLOAD:=$(call AutoLoad,20,crc7)
55 define KernelPackage/crc7/description
56 Kernel module for CRC7 support
59 $(eval $(call KernelPackage,crc7))
62 define KernelPackage/crc16
63 SUBMENU:=$(OTHER_MENU)
66 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
67 AUTOLOAD:=$(call AutoLoad,20,crc16,1)
70 define KernelPackage/crc16/description
71 Kernel module for CRC16 support
74 $(eval $(call KernelPackage,crc16))
77 define KernelPackage/eeprom-93cx6
78 SUBMENU:=$(OTHER_MENU)
79 TITLE:=EEPROM 93CX6 support
81 KCONFIG:=CONFIG_EEPROM_93CX6
82 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
83 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
86 define KernelPackage/eeprom-93cx6/description
87 Kernel module for EEPROM 93CX6 support
90 $(eval $(call KernelPackage,eeprom-93cx6))
93 define KernelPackage/lp
94 SUBMENU:=$(OTHER_MENU)
95 TITLE:=Parallel port and line printer support
102 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
103 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
104 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
105 AUTOLOAD:=$(call AutoLoad,50,parport lp)
108 $(eval $(call KernelPackage,lp))
110 define KernelPackage/pcspkr
111 SUBMENU:=$(OTHER_MENU)
112 TITLE:=PC speaker support
114 KCONFIG:=CONFIG_INPUT_PCSPKR
116 $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX)
117 AUTOLOAD:=$(call AutoLoad,50, \
122 define KernelPackage/pcspkr/description
123 This enables sounds (tones) through the pc speaker
126 $(eval $(call KernelPackage,pcspkr))
128 define KernelPackage/pcmcia-core
129 SUBMENU:=$(OTHER_MENU)
130 TITLE:=PCMCIA/CardBus support
131 DEPENDS:=@PCMCIA_SUPPORT
139 define KernelPackage/pcmcia-core/2.4
144 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
145 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
146 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
147 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds yenta_socket)
150 define KernelPackage/pcmcia-core/2.6
156 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
157 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)
158 AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
161 define KernelPackage/pcmcia-core/description
162 Kernel support for PCMCIA/CardBus controllers
165 $(eval $(call KernelPackage,pcmcia-core))
168 define KernelPackage/pcmcia-yenta
169 SUBMENU:=$(OTHER_MENU)
170 TITLE:=yenta socket driver
171 DEPENDS:=@LINUX_2_6 kmod-pcmcia-core
173 CONFIG_PCCARD_NONSTATIC \
176 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
177 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
178 AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
181 $(eval $(call KernelPackage,pcmcia-yenta))
184 define KernelPackage/pcmcia-au1000
185 SUBMENU:=$(OTHER_MENU)
186 TITLE:=RMI/AMD Au1000 PCMCIA support
187 DEPENDS:=kmod-pcmcia-core @TARGET_au1000
188 FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
189 AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
192 $(eval $(call KernelPackage,pcmcia-au1000))
194 define KernelPackage/pcmcia-bcm63xx
195 SUBMENU:=$(OTHER_MENU)
196 TITLE:=Broadcom BCM63xx PCMCIA support
197 DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
198 KCONFIG:=CONFIG_PCMCIA_BCM63XX
199 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
200 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
203 define KernelPackage/pcmcia-bcm63xx/description
204 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
207 $(eval $(call KernelPackage,pcmcia-bcm63xx))
209 define KernelPackage/pcmcia-serial
210 SUBMENU:=$(OTHER_MENU)
211 TITLE:=Serial devices support
212 DEPENDS:=kmod-pcmcia-core
214 CONFIG_PCMCIA_SERIAL_CS \
215 CONFIG_SERIAL_8250_CS
216 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
219 define KernelPackage/pcmcia-serial/2.4
220 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
221 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
224 define KernelPackage/pcmcia-serial/2.6
225 # KCONFIG:=CONFIG_SERIAL_8250_CS
226 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
229 define KernelPackage/pcmcia-serial/description
230 Kernel support for PCMCIA/CardBus serial devices
233 $(eval $(call KernelPackage,pcmcia-serial))
235 define KernelPackage/ssb
236 SUBMENU:=$(OTHER_MENU)
237 TITLE:=Silicon Sonics Backplane glue code
238 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
241 CONFIG_SSB_B43_PCI_BRIDGE=y \
242 CONFIG_SSB_DRIVER_MIPS=n \
243 CONFIG_SSB_DRIVER_PCICORE=y \
244 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
245 CONFIG_SSB_PCIHOST=y \
246 CONFIG_SSB_PCIHOST_POSSIBLE=y \
247 CONFIG_SSB_POSSIBLE=y \
250 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
251 AUTOLOAD:=$(call AutoLoad,29,ssb)
254 define KernelPackage/ssb/description
255 Silicon Sonics Backplane glue code.
258 $(eval $(call KernelPackage,ssb))
261 define KernelPackage/bluetooth
262 SUBMENU:=$(OTHER_MENU)
263 TITLE:=Bluetooth support
264 DEPENDS:=@USB_SUPPORT +kmod-usb-core +!TARGET_x86:kmod-hid
269 CONFIG_BLUEZ_RFCOMM \
271 CONFIG_BLUEZ_HCIUART \
272 CONFIG_BLUEZ_HCIUSB \
285 define KernelPackage/bluetooth/2.4
288 # CONFIG_BLUEZ_L2CAP \
290 # CONFIG_BLUEZ_RFCOMM \
291 # CONFIG_BLUEZ_BNEP \
292 # CONFIG_BLUEZ_HCIUART \
293 # CONFIG_BLUEZ_HCIUSB
295 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
296 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
297 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
298 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
299 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
300 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
301 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
302 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
305 define KernelPackage/bluetooth/2.6
315 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
316 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
317 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
318 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
319 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
320 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
321 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
322 $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
323 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
326 define KernelPackage/bluetooth/description
327 Kernel support for Bluetooth devices
330 $(eval $(call KernelPackage,bluetooth))
333 define KernelPackage/mmc
334 SUBMENU:=$(OTHER_MENU)
335 TITLE:=MMC/SD Card Support
341 CONFIG_MMC_UNSAFE_RESUME=n \
342 CONFIG_MMC_BLOCK_BOUNCE=y \
344 CONFIG_MMC_TIFM_SD=n \
348 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
349 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
350 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
353 define KernelPackage/mmc/description
354 Kernel support for MMC/SD cards
357 $(eval $(call KernelPackage,mmc))
360 define KernelPackage/mmc-at91
361 SUBMENU:=$(OTHER_MENU)
362 TITLE:=MMC/SD Card Support on AT91
363 DEPENDS:=@TARGET_at91 +kmod-mmc
364 KCONFIG:=CONFIG_MMC_AT91
365 FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
366 AUTOLOAD:=$(call AutoLoad,90,at91_mci,1)
369 define KernelPackage/mmc-at91/description
370 Kernel support for MMC/SD cards on the AT91 target
373 $(eval $(call KernelPackage,mmc-at91))
376 # XXX: added a workaround for watchdog path changes
380 WATCHDOG_DIR?=watchdog
382 define KernelPackage/atmel-wdt
383 SUBMENU:=$(OTHER_MENU)
384 TITLE:=AT32AP700x watchdog
385 DEPENDS:=@TARGET_avr32
386 KCONFIG:=CONFIG_AT32AP700X_WDT
387 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
388 AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
391 define KernelPackage/atmel-wdt/description
395 $(eval $(call KernelPackage,atmel-wdt))
398 define KernelPackage/softdog
399 SUBMENU:=$(OTHER_MENU)
400 TITLE:=Software watchdog driver
401 KCONFIG:=CONFIG_SOFT_WATCHDOG
402 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
403 AUTOLOAD:=$(call AutoLoad,50,softdog)
406 define KernelPackage/softdog/description
407 Software watchdog driver
410 $(eval $(call KernelPackage,softdog))
412 define KernelPackage/rdc321x-wdt
413 SUBMENU:=$(OTHER_MENU)
414 TITLE:=RDC321x watchdog
416 KCONFIG:=CONFIG_RDC321X_WDT
417 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.$(LINUX_KMOD_SUFFIX)
418 AUTOLOAD:=$(call AutoLoad,50,rdc321x_wdt)
421 define KernelPackage/rdc321x-wdt/description
422 RDC-321x watchdog driver
425 $(eval $(call KernelPackage,rdc321x-wdt))
428 define KernelPackage/leds-gpio
429 SUBMENU:=$(OTHER_MENU)
430 TITLE:=GPIO LED support
431 DEPENDS:= @GPIO_SUPPORT
432 KCONFIG:=CONFIG_LEDS_GPIO
433 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
434 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
437 define KernelPackage/leds-gpio/description
438 Kernel module for LEDs on GPIO lines
441 $(eval $(call KernelPackage,leds-gpio))
444 define KernelPackage/ledtrig-adm5120-switch
445 SUBMENU:=$(OTHER_MENU)
446 TITLE:=LED ADM5120 Switch Port Status Trigger
447 DEPENDS:=@TARGET_adm5120
448 KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
449 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
450 AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
453 define KernelPackage/ledtrig-adm5120-switch/description
454 Kernel module to allow LEDs to be controlled by the port states
455 of the ADM5120 built-in ethernet switch.
458 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
461 define KernelPackage/leds-net48xx
462 SUBMENU:=$(OTHER_MENU)
463 TITLE:=Soekris Net48xx LED support
464 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
465 KCONFIG:=CONFIG_LEDS_NET48XX
466 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
467 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
470 define KernelPackage/leds-net48xx/description
471 Kernel module for Soekris Net48xx LEDs
474 $(eval $(call KernelPackage,leds-net48xx))
477 define KernelPackage/leds-wrap
478 SUBMENU:=$(OTHER_MENU)
479 TITLE:=PCengines WRAP LED support
480 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
481 KCONFIG:=CONFIG_LEDS_WRAP
482 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
483 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
486 define KernelPackage/leds-wrap/description
487 Kernel module for PCengines WRAP LEDs
490 $(eval $(call KernelPackage,leds-wrap))
493 define KernelPackage/leds-alix
494 SUBMENU:=$(OTHER_MENU)
495 TITLE:=PCengines ALIX LED support
497 KCONFIG:=CONFIG_LEDS_ALIX2
498 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.$(LINUX_KMOD_SUFFIX)
499 AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
502 define KernelPackage/leds-alix/description
503 Kernel module for PCengines ALIX LEDs
506 $(eval $(call KernelPackage,leds-alix))
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.$(LINUX_KMOD_SUFFIX)
515 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
518 define KernelPackage/leds-wndr3700-usb/description
519 Kernel module for the USB LED on the NETGWR WNDR3700 board.
522 $(eval $(call KernelPackage,leds-wndr3700-usb))
525 define KernelPackage/leds-rb750
526 SUBMENU:=$(OTHER_MENU)
527 TITLE:=RouterBOARD 750 LED support
528 DEPENDS:=@TARGET_ar71xx
529 KCONFIG:=CONFIG_LEDS_RB750
530 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.$(LINUX_KMOD_SUFFIX)
531 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
534 define KernelPackage/leds-rb750/description
535 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
538 $(eval $(call KernelPackage,leds-rb750))
541 define KernelPackage/ledtrig-netdev
542 SUBMENU:=$(OTHER_MENU)
543 TITLE:=LED NETDEV Trigger
544 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
545 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
546 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
549 define KernelPackage/ledtrig-netdev/description
550 Kernel module to drive LEDs based on network activity.
553 $(eval $(call KernelPackage,ledtrig-netdev))
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.$(LINUX_KMOD_SUFFIX)
561 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
564 define KernelPackage/ledtrig-morse/description
565 Kernel module to show morse coded messages on LEDs.
568 $(eval $(call KernelPackage,ledtrig-morse))
571 define KernelPackage/gpio-dev
572 SUBMENU:=$(OTHER_MENU)
573 TITLE:=Generic GPIO char device support
574 DEPENDS:=@GPIO_SUPPORT
575 KCONFIG:=CONFIG_GPIO_DEVICE
576 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
577 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
580 define KernelPackage/gpio-dev/description
581 Kernel module to allows control of GPIO pins using a character device.
584 $(eval $(call KernelPackage,gpio-dev))
587 define KernelPackage/nsc-gpio
588 SUBMENU:=$(OTHER_MENU)
589 TITLE:=Natsemi GPIO support
591 KCONFIG:=CONFIG_NSC_GPIO
592 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
593 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
596 define KernelPackage/nsc-gpio/description
597 Kernel module for Natsemi GPIO
600 $(eval $(call KernelPackage,nsc-gpio))
603 define KernelPackage/scx200-gpio
604 SUBMENU:=$(OTHER_MENU)
605 TITLE:=Natsemi SCX200 GPIO support
606 DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
607 KCONFIG:=CONFIG_SCx200_GPIO
608 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
609 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
612 define KernelPackage/scx200-gpio/description
613 Kernel module for SCX200 GPIO
616 $(eval $(call KernelPackage,scx200-gpio))
619 define KernelPackage/scx200-wdt
620 SUBMENU:=$(OTHER_MENU)
621 TITLE:=Natsemi SCX200 Watchdog support
623 KCONFIG:=CONFIG_SCx200_WDT
624 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
625 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
628 define KernelPackage/scx200-wdt/description
629 Kernel module for SCX200 Watchdog
632 $(eval $(call KernelPackage,scx200-wdt))
635 define KernelPackage/sc520-wdt
636 SUBMENU:=$(OTHER_MENU)
637 TITLE:=Natsemi SC520 Watchdog support
639 KCONFIG:=CONFIG_SC520_WDT
640 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
641 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
644 define KernelPackage/sc520-wdt/description
645 Kernel module for SC520 Watchdog
648 $(eval $(call KernelPackage,sc520-wdt))
651 define KernelPackage/input-core
652 SUBMENU:=$(OTHER_MENU)
653 TITLE:=Input device core
654 DEPENDS:=@LINUX_2_6 @!TARGET_x86
655 KCONFIG:=CONFIG_INPUT
656 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
657 AUTOLOAD:=$(call AutoLoad,19,input-core)
660 define KernelPackage/input-core/description
661 Kernel modules for support of input device
664 $(eval $(call KernelPackage,input-core))
667 define KernelPackage/input-evdev
668 SUBMENU:=$(OTHER_MENU)
669 TITLE:=Input event device
670 DEPENDS:=+!TARGET_x86:kmod-input-core
671 KCONFIG:=CONFIG_INPUT_EVDEV
672 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
673 AUTOLOAD:=$(call AutoLoad,60,evdev)
676 define KernelPackage/input-evdev/description
677 Kernel modules for support of input device events
680 $(eval $(call KernelPackage,input-evdev))
683 define KernelPackage/hid
684 SUBMENU:=$(OTHER_MENU)
686 DEPENDS:=+kmod-input-core +kmod-input-evdev @!TARGET_x86
688 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
689 AUTOLOAD:=$(call AutoLoad,61,hid)
692 define KernelPackage/hid/description
693 Kernel modules for HID devices
696 $(eval $(call KernelPackage,hid))
699 define KernelPackage/input-polldev
700 SUBMENU:=$(OTHER_MENU)
701 TITLE:=Polled Input device support
702 DEPENDS:=+!TARGET_x86:kmod-input-core @LINUX_2_6
703 KCONFIG:=CONFIG_INPUT_POLLDEV
704 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
705 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
708 define KernelPackage/input-polldev/description
709 Kernel module for support of polled input devices
712 $(eval $(call KernelPackage,input-polldev))
715 define KernelPackage/input-gpio-keys
716 SUBMENU:=$(OTHER_MENU)
717 TITLE:=GPIO key support
718 DEPENDS:= @GPIO_SUPPORT +!TARGET_x86:kmod-input-core
719 KCONFIG:=CONFIG_KEYBOARD_GPIO
720 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
721 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
724 define KernelPackage/input-gpio-keys/description
725 This driver implements support for buttons connected
726 to GPIO pins of various CPUs (and some other chips).
729 $(eval $(call KernelPackage,input-gpio-keys))
732 define KernelPackage/input-gpio-buttons
733 SUBMENU:=$(OTHER_MENU)
734 TITLE:=Polled GPIO buttons input device
735 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
737 CONFIG_INPUT_GPIO_BUTTONS \
739 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
740 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
743 define KernelPackage/input-gpio-buttons/description
744 Kernel module for support polled GPIO buttons input device
747 $(eval $(call KernelPackage,input-gpio-buttons))
749 define KernelPackage/input-joydev
750 SUBMENU:=$(OTHER_MENU)
751 TITLE:=Joystick device support
752 DEPENDS:=+!TARGET_x86:kmod-input-core
753 KCONFIG:=CONFIG_INPUT_JOYDEV
754 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
755 AUTOLOAD:=$(call AutoLoad,62,joydev)
758 define KernelPackage/input-joydev/description
759 Kernel module for joystick support
762 $(eval $(call KernelPackage,input-joydev))
764 define KernelPackage/input-rb532
765 SUBMENU:=$(OTHER_MENU)
766 TITLE:=RB532 button device support
767 DEPENDS:=+kmod-input-core @TARGET_rb532
769 CONFIG_INPUT_MISC=y \
770 CONFIG_INPUT_RB532_BUTTON
771 FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.$(LINUX_KMOD_SUFFIX)
772 AUTOLOAD:=$(call AutoLoad,62,rb532_button)
775 define KernelPackage/input-rb532/description
776 Kernel module for RB532 button
779 $(eval $(call KernelPackage,input-rb532))
782 define KernelPackage/mmc-atmelmci
783 SUBMENU:=$(OTHER_MENU)
784 TITLE:=Amtel MMC Support
785 DEPENDS:=@TARGET_avr32 +kmod-mmc
786 KCONFIG:=CONFIG_MMC_ATMELMCI
787 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
788 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
791 define KernelPackage/mmc-atmelmci/description
792 Kernel support for Atmel Multimedia Card Interface.
795 $(eval $(call KernelPackage,mmc-atmelmci,1))
798 define KernelPackage/cs5535-gpio
799 SUBMENU:=$(OTHER_MENU)
800 TITLE:=AMD CS5535/CS5536 GPIO driver
802 KCONFIG:=CONFIG_CS5535_GPIO
803 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
804 AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
807 define KernelPackage/cs5535-gpio/description
808 This package contains the AMD CS5535/CS5536 GPIO driver
811 $(eval $(call KernelPackage,cs5535-gpio))
814 define KernelPackage/ixp4xx-beeper
815 SUBMENU:=$(OTHER_MENU)
816 TITLE:=IXP4XX Beeper support
817 DEPENDS:=@TARGET_ixp4xx +kmod-input-core
819 CONFIG_INPUT_MISC=y \
820 CONFIG_INPUT_IXP4XX_BEEPER
821 FILES:=$(LINUX_DIR)/drivers/input/misc/ixp4xx-beeper.$(LINUX_KMOD_SUFFIX)
822 AUTOLOAD:=$(call AutoLoad,50,ixp4xx-beeper)
825 define KernelPackage/ixp4xx-beeper/description
826 IXP4XX Beeper support
829 $(eval $(call KernelPackage,ixp4xx-beeper))
832 define KernelPackage/textsearch
833 SUBMENU:=$(OTHER_MENU)
834 TITLE:=Textsearch support is selected if needed
837 CONFIG_TEXTSEARCH=y \
838 CONFIG_TEXTSEARCH_KMP \
839 CONFIG_TEXTSEARCH_BM \
840 CONFIG_TEXTSEARCH_FSM
842 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
843 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
844 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
845 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
848 $(eval $(call KernelPackage,textsearch))
851 define KernelPackage/rfkill
852 SUBMENU:=$(OTHER_MENU)
853 TITLE:=RF switch subsystem support
854 DEPENDS:=@TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx
857 CONFIG_RFKILL_INPUT=y \
859 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
861 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
862 AUTOLOAD:=$(call AutoLoad,20,rfkill)
865 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
866 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
867 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
871 define KernelPackage/rfkill/description
872 Say Y here if you want to have control over RF switches
873 found on many WiFi and Bluetooth cards.
876 $(eval $(call KernelPackage,rfkill))
878 define KernelPackage/geodewdt
879 SUBMENU:=$(OTHER_MENU)
880 TITLE:=Geode/LX Watchdog timer
881 DEPENDS:=@TARGET_x86 @LINUX_2_6
882 KCONFIG:=CONFIG_GEODE_WDT
883 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.$(LINUX_KMOD_SUFFIX)
884 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
887 define KernelPackage/geodewdt/description
888 Kernel module for Geode watchdog timer.
891 $(eval $(call KernelPackage,geodewdt))
893 define KernelPackage/pc8736x-gpio
894 SUBMENU:=$(OTHER_MENU)
895 TITLE:=PC8736x GPIO support
897 KCONFIG:=CONFIG_PC8736x_GPIO
898 FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.$(LINUX_KMOD_SUFFIX)
899 AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
902 define KernelPackage/pc8736x-gpio/description
903 Kernel module for PC8736x GPIO
906 $(eval $(call KernelPackage,pc8736x-gpio))