source: branches/backfire/package/kernel/modules/other.mk @ 21377

Last change on this file since 21377 was 21377, checked in by nico, 7 years ago

[backfire] adjust kmod-crc16 dependencies and dependencies on kmod-crc16 (closes: #7063)

  • Property svn:eol-style set to native
File size: 23.1 KB
Line 
1#
2# Copyright (C) 2006-2009 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8OTHER_MENU:=Other modules
9
10define 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)
15endef
16$(eval $(call KernelPackage,block2mtd))
17
18define 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)
24endef
25
26define KernelPackage/crc-itu-t/description
27 Kernel module for CRC ITU-T V.41 support
28endef
29
30$(eval $(call KernelPackage,crc-itu-t))
31
32define 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)
38endef
39
40define KernelPackage/crc-ccitt/description
41 Kernel module for CRC-CCITT support
42endef
43
44$(eval $(call KernelPackage,crc-ccitt))
45
46
47define KernelPackage/crc7
48  SUBMENU:=$(OTHER_MENU)
49  TITLE:=CRC7 support
50  KCONFIG:=CONFIG_CRC7
51  FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
52  AUTOLOAD:=$(call AutoLoad,20,crc7)
53endef
54
55define KernelPackage/crc7/description
56 Kernel module for CRC7 support
57endef
58
59$(eval $(call KernelPackage,crc7))
60
61
62define KernelPackage/crc16
63  SUBMENU:=$(OTHER_MENU)
64  TITLE:=CRC16 support
65  DEPENDS:=@!(LINUX_2_4||TARGET_xburst)
66  KCONFIG:=CONFIG_CRC16
67  FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
68  AUTOLOAD:=$(call AutoLoad,20,crc16,1)
69endef
70
71define KernelPackage/crc16/description
72 Kernel module for CRC16 support
73endef
74
75$(eval $(call KernelPackage,crc16))
76
77
78define KernelPackage/eeprom-93cx6
79  SUBMENU:=$(OTHER_MENU)
80  TITLE:=EEPROM 93CX6 support
81  DEPENDS:=@LINUX_2_6
82  KCONFIG:=CONFIG_EEPROM_93CX6
83  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
84  AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
85endef
86
87define KernelPackage/eeprom-93cx6/description
88 Kernel module for EEPROM 93CX6 support
89endef
90
91$(eval $(call KernelPackage,eeprom-93cx6))
92
93
94define KernelPackage/lp
95  SUBMENU:=$(OTHER_MENU)
96  TITLE:=Parallel port and line printer support
97  DEPENDS:=@LINUX_2_4
98  KCONFIG:= \
99        CONFIG_PARPORT \
100        CONFIG_PRINTER \
101        CONFIG_PPDEV
102  FILES:= \
103        $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
104        $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
105        $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
106  AUTOLOAD:=$(call AutoLoad,50,parport lp)
107endef
108
109define KernelPackage/lp/2.4
110  FILES:= \
111        $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
112        $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
113        $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
114        $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
115  AUTOLOAD:=$(call AutoLoad,50, \
116        parport \
117        parport_splink \
118        lp \
119  )
120endef
121
122$(eval $(call KernelPackage,lp))
123
124
125define KernelPackage/pcspkr
126  SUBMENU:=$(OTHER_MENU)
127  TITLE:=PC speaker support
128  DEPENDS:=@LINUX_2_6
129  KCONFIG:=CONFIG_INPUT_PCSPKR
130  FILES:= \
131        $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX)
132  AUTOLOAD:=$(call AutoLoad,50, \
133        pcspkr \
134  )
135endef
136
137define KernelPackage/pcspkr/description
138 This enables sounds (tones) through the pc speaker
139endef
140
141$(eval $(call KernelPackage,pcspkr))
142
143define KernelPackage/pcmcia-core
144  SUBMENU:=$(OTHER_MENU)
145  TITLE:=PCMCIA/CardBus support
146  DEPENDS:=@PCMCIA_SUPPORT
147  KCONFIG:= \
148        CONFIG_PCMCIA \
149        CONFIG_CARDBUS \
150        CONFIG_PCCARD \
151        PCMCIA_DEBUG=n
152endef
153
154define KernelPackage/pcmcia-core/2.4
155#  KCONFIG:= \
156#       CONFIG_PCMCIA \
157#       CONFIG_CARDBUS
158  FILES:= \
159        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
160        $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
161        $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
162  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds yenta_socket)
163endef
164
165define KernelPackage/pcmcia-core/2.6
166#  KCONFIG:= \
167#       CONFIG_PCCARD \
168#       CONFIG_PCMCIA \
169#       PCMCIA_DEBUG=n
170  FILES:= \
171        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
172        $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX)
173  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
174endef
175
176define KernelPackage/pcmcia-core/description
177 Kernel support for PCMCIA/CardBus controllers
178endef
179
180$(eval $(call KernelPackage,pcmcia-core))
181
182
183define KernelPackage/pcmcia-yenta
184  SUBMENU:=$(OTHER_MENU)
185  TITLE:=yenta socket driver
186  DEPENDS:=@LINUX_2_6 kmod-pcmcia-core
187  KCONFIG:= \
188        CONFIG_PCCARD_NONSTATIC \
189        CONFIG_YENTA
190  FILES:= \
191        $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
192        $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
193  AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
194endef
195
196$(eval $(call KernelPackage,pcmcia-yenta))
197
198
199define KernelPackage/pcmcia-au1000
200  SUBMENU:=$(OTHER_MENU)
201  TITLE:=RMI/AMD Au1000 PCMCIA support
202  DEPENDS:=kmod-pcmcia-core @TARGET_au1000
203  FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
204  AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
205endef
206
207$(eval $(call KernelPackage,pcmcia-au1000))
208
209define KernelPackage/pcmcia-bcm63xx
210  SUBMENU:=$(OTHER_MENU)
211  TITLE:=Broadcom BCM63xx PCMCIA support
212  DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
213  KCONFIG:=CONFIG_PCMCIA_BCM63XX
214  FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
215  AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
216endef
217
218define KernelPackage/pcmcia-bcm63xx/description
219  Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
220endef
221
222$(eval $(call KernelPackage,pcmcia-bcm63xx))
223
224define KernelPackage/pcmcia-serial
225  SUBMENU:=$(OTHER_MENU)
226  TITLE:=Serial devices support
227  DEPENDS:=kmod-pcmcia-core
228  KCONFIG:= \
229        CONFIG_PCMCIA_SERIAL_CS \
230        CONFIG_SERIAL_8250_CS
231  AUTOLOAD:=$(call AutoLoad,45,serial_cs)
232endef
233
234define KernelPackage/pcmcia-serial/2.4
235#  KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
236  FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
237endef
238
239define KernelPackage/pcmcia-serial/2.6
240#  KCONFIG:=CONFIG_SERIAL_8250_CS
241  FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
242endef
243
244define KernelPackage/pcmcia-serial/description
245 Kernel support for PCMCIA/CardBus serial devices
246endef
247
248$(eval $(call KernelPackage,pcmcia-serial))
249
250define KernelPackage/ssb
251  SUBMENU:=$(OTHER_MENU)
252  TITLE:=Silicon Sonics Backplane glue code
253  DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
254  KCONFIG:=\
255        CONFIG_SSB \
256        CONFIG_SSB_B43_PCI_BRIDGE=y \
257        CONFIG_SSB_DRIVER_MIPS=n \
258        CONFIG_SSB_DRIVER_PCICORE=y \
259        CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
260        CONFIG_SSB_PCIHOST=y \
261        CONFIG_SSB_PCIHOST_POSSIBLE=y \
262        CONFIG_SSB_POSSIBLE=y \
263        CONFIG_SSB_SPROM=y \
264        CONFIG_SSB_SILENT=y
265  FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
266  AUTOLOAD:=$(call AutoLoad,29,ssb)
267endef
268
269define KernelPackage/ssb/description
270  Silicon Sonics Backplane glue code.
271endef
272
273$(eval $(call KernelPackage,ssb))
274
275
276define KernelPackage/bluetooth
277  SUBMENU:=$(OTHER_MENU)
278  TITLE:=Bluetooth support
279  DEPENDS:=@USB_SUPPORT +!(LINUX_2_4||TARGET_xburst):kmod-crc16 +kmod-usb-core +!TARGET_x86:kmod-hid \
280        +(TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx):kmod-rfkill
281  KCONFIG:= \
282        CONFIG_BLUEZ \
283        CONFIG_BLUEZ_L2CAP \
284        CONFIG_BLUEZ_SCO \
285        CONFIG_BLUEZ_RFCOMM \
286        CONFIG_BLUEZ_BNEP \
287        CONFIG_BLUEZ_HCIUART \
288        CONFIG_BLUEZ_HCIUSB \
289        CONFIG_BLUEZ_HIDP \
290        CONFIG_BT \
291        CONFIG_BT_L2CAP \
292        CONFIG_BT_SCO \
293        CONFIG_BT_RFCOMM \
294        CONFIG_BT_BNEP \
295        CONFIG_BT_HCIBTUSB \
296        CONFIG_BT_HCIUSB \
297        CONFIG_BT_HCIUART \
298        CONFIG_BT_HIDP
299endef
300
301define KernelPackage/bluetooth/2.4
302#  KCONFIG:= \
303#       CONFIG_BLUEZ \
304#       CONFIG_BLUEZ_L2CAP \
305#       CONFIG_BLUEZ_SCO \
306#       CONFIG_BLUEZ_RFCOMM \
307#       CONFIG_BLUEZ_BNEP \
308#       CONFIG_BLUEZ_HCIUART \
309#       CONFIG_BLUEZ_HCIUSB
310  FILES:= \
311        $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
312        $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
313        $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
314        $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
315        $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
316        $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
317        $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
318  AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
319endef
320
321define KernelPackage/bluetooth/2.6
322#  KCONFIG:= \
323#       CONFIG_BT \
324#       CONFIG_BT_L2CAP \
325#       CONFIG_BT_SCO \
326#       CONFIG_BT_RFCOMM \
327#       CONFIG_BT_BNEP \
328#       CONFIG_BT_HCIUSB \
329#       CONFIG_BT_HCIUART
330  FILES:= \
331        $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
332        $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
333        $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
334        $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
335        $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
336        $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
337        $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
338        $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
339  AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
340endef
341
342define KernelPackage/bluetooth/description
343 Kernel support for Bluetooth devices
344endef
345
346$(eval $(call KernelPackage,bluetooth))
347
348
349define KernelPackage/mmc
350  SUBMENU:=$(OTHER_MENU)
351  TITLE:=MMC/SD Card Support
352  DEPENDS:=@LINUX_2_6
353  KCONFIG:= \
354        CONFIG_MMC \
355        CONFIG_MMC_BLOCK \
356        CONFIG_MMC_DEBUG=n \
357        CONFIG_MMC_UNSAFE_RESUME=n \
358        CONFIG_MMC_BLOCK_BOUNCE=y \
359        CONFIG_MMC_SDHCI=n \
360        CONFIG_MMC_TIFM_SD=n \
361        CONFIG_MMC_WBSD=n \
362        CONFIG_SDIO_UART=n
363  FILES:= \
364        $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
365        $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
366  AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
367endef
368
369define KernelPackage/mmc/description
370 Kernel support for MMC/SD cards
371endef
372
373$(eval $(call KernelPackage,mmc))
374
375
376define KernelPackage/mmc-at91
377  SUBMENU:=$(OTHER_MENU)
378  TITLE:=MMC/SD Card Support on AT91
379  DEPENDS:=@TARGET_at91 +kmod-mmc
380  KCONFIG:=CONFIG_MMC_AT91
381  FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
382  AUTOLOAD:=$(call AutoLoad,90,at91_mci,1)
383endef
384
385define KernelPackage/mmc-at91/description
386 Kernel support for MMC/SD cards on the AT91 target
387endef
388
389$(eval $(call KernelPackage,mmc-at91))
390
391
392# XXX: added a workaround for watchdog path changes
393ifeq ($(KERNEL),2.4)
394  WATCHDOG_DIR=char
395endif
396WATCHDOG_DIR?=watchdog
397
398define KernelPackage/atmel-wdt
399  SUBMENU:=$(OTHER_MENU)
400  TITLE:=AT32AP700x watchdog
401  DEPENDS:=@TARGET_avr32
402  KCONFIG:=CONFIG_AT32AP700X_WDT
403  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
404  AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
405endef
406
407define KernelPackage/atmel-wdt/description
408 AT32AP700x watchdog
409endef
410
411$(eval $(call KernelPackage,atmel-wdt))
412
413
414define KernelPackage/softdog
415  SUBMENU:=$(OTHER_MENU)
416  TITLE:=Software watchdog driver
417  KCONFIG:=CONFIG_SOFT_WATCHDOG
418  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
419  AUTOLOAD:=$(call AutoLoad,50,softdog)
420endef
421
422define KernelPackage/softdog/description
423 Software watchdog driver
424endef
425
426$(eval $(call KernelPackage,softdog))
427
428define KernelPackage/rdc321x-wdt
429  SUBMENU:=$(OTHER_MENU)
430  TITLE:=RDC321x watchdog
431  DEPENDS:=@TARGET_rdc
432  KCONFIG:=CONFIG_RDC321X_WDT
433  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.$(LINUX_KMOD_SUFFIX)
434  AUTOLOAD:=$(call AutoLoad,50,rdc321x_wdt)
435endef
436
437define KernelPackage/rdc321x-wdt/description
438  RDC-321x watchdog driver
439endef
440
441$(eval $(call KernelPackage,rdc321x-wdt))
442
443
444define KernelPackage/leds-gpio
445  SUBMENU:=$(OTHER_MENU)
446  TITLE:=GPIO LED support
447  DEPENDS:= @GPIO_SUPPORT
448  KCONFIG:=CONFIG_LEDS_GPIO
449  FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
450  AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
451endef
452
453define KernelPackage/leds-gpio/description
454 Kernel module for LEDs on GPIO lines
455endef
456
457$(eval $(call KernelPackage,leds-gpio))
458
459
460define KernelPackage/ledtrig-adm5120-switch
461  SUBMENU:=$(OTHER_MENU)
462  TITLE:=LED ADM5120 Switch Port Status Trigger
463  DEPENDS:=@TARGET_adm5120
464  KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
465  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
466  AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
467endef
468
469define KernelPackage/ledtrig-adm5120-switch/description
470 Kernel module to allow LEDs to be controlled by the port states
471 of the ADM5120 built-in ethernet switch.
472endef
473
474$(eval $(call KernelPackage,ledtrig-adm5120-switch))
475
476
477define KernelPackage/leds-net48xx
478  SUBMENU:=$(OTHER_MENU)
479  TITLE:=Soekris Net48xx LED support
480  DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
481  KCONFIG:=CONFIG_LEDS_NET48XX
482  FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
483  AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
484endef
485
486define KernelPackage/leds-net48xx/description
487 Kernel module for Soekris Net48xx LEDs
488endef
489
490$(eval $(call KernelPackage,leds-net48xx))
491
492
493define KernelPackage/leds-wrap
494  SUBMENU:=$(OTHER_MENU)
495  TITLE:=PCengines WRAP LED support
496  DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
497  KCONFIG:=CONFIG_LEDS_WRAP
498  FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
499  AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
500endef
501
502define KernelPackage/leds-wrap/description
503 Kernel module for PCengines WRAP LEDs
504endef
505
506$(eval $(call KernelPackage,leds-wrap))
507
508
509define KernelPackage/leds-alix
510  SUBMENU:=$(OTHER_MENU)
511  TITLE:=PCengines ALIX LED support
512  DEPENDS:=@TARGET_x86
513  KCONFIG:=CONFIG_LEDS_ALIX2
514  FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.$(LINUX_KMOD_SUFFIX)
515  AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
516endef
517
518define KernelPackage/leds-alix/description
519 Kernel module for PCengines ALIX LEDs
520endef
521
522$(eval $(call KernelPackage,leds-alix))
523
524
525define KernelPackage/leds-wndr3700-usb
526  SUBMENU:=$(OTHER_MENU)
527  TITLE:=WNDR3700 USB LED support
528  DEPENDS:= @TARGET_ar71xx
529  KCONFIG:=CONFIG_LEDS_WNDR3700_USB
530  FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.$(LINUX_KMOD_SUFFIX)
531  AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
532endef
533
534define KernelPackage/leds-wndr3700-usb/description
535 Kernel module for the USB LED on the NETGWR WNDR3700 board.
536endef
537
538$(eval $(call KernelPackage,leds-wndr3700-usb))
539
540
541define KernelPackage/leds-rb750
542  SUBMENU:=$(OTHER_MENU)
543  TITLE:=RouterBOARD 750 LED support
544  DEPENDS:=@TARGET_ar71xx
545  KCONFIG:=CONFIG_LEDS_RB750
546  FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.$(LINUX_KMOD_SUFFIX)
547  AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
548endef
549
550define KernelPackage/leds-rb750/description
551 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
552endef
553
554$(eval $(call KernelPackage,leds-rb750))
555
556
557define KernelPackage/ledtrig-netdev
558  SUBMENU:=$(OTHER_MENU)
559  TITLE:=LED NETDEV Trigger
560  KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
561  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
562  AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
563endef
564
565define KernelPackage/ledtrig-netdev/description
566 Kernel module to drive LEDs based on network activity.
567endef
568
569$(eval $(call KernelPackage,ledtrig-netdev))
570
571
572define KernelPackage/ledtrig-morse
573  SUBMENU:=$(OTHER_MENU)
574  TITLE:=LED Morse Trigger
575  KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
576  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
577  AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
578endef
579
580define KernelPackage/ledtrig-morse/description
581 Kernel module to show morse coded messages on LEDs.
582endef
583
584$(eval $(call KernelPackage,ledtrig-morse))
585
586
587define KernelPackage/gpio-dev
588  SUBMENU:=$(OTHER_MENU)
589  TITLE:=Generic GPIO char device support
590  DEPENDS:=@GPIO_SUPPORT
591  KCONFIG:=CONFIG_GPIO_DEVICE
592  FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
593  AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
594endef
595
596define KernelPackage/gpio-dev/description
597  Kernel module to allows control of GPIO pins using a character device.
598endef
599
600$(eval $(call KernelPackage,gpio-dev))
601
602
603define KernelPackage/nsc-gpio
604  SUBMENU:=$(OTHER_MENU)
605  TITLE:=Natsemi GPIO support
606  DEPENDS:=@TARGET_x86
607  KCONFIG:=CONFIG_NSC_GPIO
608  FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
609  AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
610endef
611
612define KernelPackage/nsc-gpio/description
613 Kernel module for Natsemi GPIO
614endef
615
616$(eval $(call KernelPackage,nsc-gpio))
617
618
619define KernelPackage/scx200-gpio
620  SUBMENU:=$(OTHER_MENU)
621  TITLE:=Natsemi SCX200 GPIO support
622  DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
623  KCONFIG:=CONFIG_SCx200_GPIO
624  FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
625  AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
626endef
627
628define KernelPackage/scx200-gpio/description
629 Kernel module for SCX200 GPIO
630endef
631
632$(eval $(call KernelPackage,scx200-gpio))
633
634
635define KernelPackage/scx200-wdt
636  SUBMENU:=$(OTHER_MENU)
637  TITLE:=Natsemi SCX200 Watchdog support
638  DEPENDS:=@TARGET_x86
639  KCONFIG:=CONFIG_SCx200_WDT
640  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
641  AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
642endef
643
644define KernelPackage/scx200-wdt/description
645 Kernel module for SCX200 Watchdog
646endef
647
648$(eval $(call KernelPackage,scx200-wdt))
649
650
651define KernelPackage/sc520-wdt
652  SUBMENU:=$(OTHER_MENU)
653  TITLE:=Natsemi SC520 Watchdog support
654  DEPENDS:=@TARGET_x86
655  KCONFIG:=CONFIG_SC520_WDT
656  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
657  AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
658endef
659
660define KernelPackage/sc520-wdt/description
661  Kernel module for SC520 Watchdog
662endef
663
664$(eval $(call KernelPackage,sc520-wdt))
665
666
667define KernelPackage/input-core
668  SUBMENU:=$(OTHER_MENU)
669  TITLE:=Input device core
670  DEPENDS:=@!TARGET_x86
671  KCONFIG:=CONFIG_INPUT
672endef
673
674define KernelPackage/input-core/2.4
675  FILES:=$(LINUX_DIR)/drivers/input/input.$(LINUX_KMOD_SUFFIX)
676  AUTOLOAD:=$(call AutoLoad,19,input)
677endef
678
679define KernelPackage/input-core/2.6
680  FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
681  AUTOLOAD:=$(call AutoLoad,19,input-core)
682endef
683
684define KernelPackage/input-core/description
685 Kernel modules for support of input device
686endef
687
688$(eval $(call KernelPackage,input-core))
689
690
691define KernelPackage/input-evdev
692  SUBMENU:=$(OTHER_MENU)
693  TITLE:=Input event device
694  DEPENDS:=+!TARGET_x86:kmod-input-core
695  KCONFIG:=CONFIG_INPUT_EVDEV
696  FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
697  AUTOLOAD:=$(call AutoLoad,60,evdev)
698endef
699
700define KernelPackage/input-evdev/description
701 Kernel modules for support of input device events
702endef
703
704$(eval $(call KernelPackage,input-evdev))
705
706
707define KernelPackage/hid
708  SUBMENU:=$(OTHER_MENU)
709  TITLE:=HID Devices
710  DEPENDS:=+kmod-input-core +kmod-input-evdev @!TARGET_x86
711  KCONFIG:=CONFIG_HID
712  FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
713  AUTOLOAD:=$(call AutoLoad,61,hid)
714endef
715
716define KernelPackage/hid/description
717 Kernel modules for HID devices
718endef
719
720$(eval $(call KernelPackage,hid))
721
722
723define KernelPackage/input-polldev
724  SUBMENU:=$(OTHER_MENU)
725  TITLE:=Polled Input device support
726  DEPENDS:=+!TARGET_x86:kmod-input-core @LINUX_2_6
727  KCONFIG:=CONFIG_INPUT_POLLDEV
728  FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
729  AUTOLOAD:=$(call AutoLoad,20,input-polldev)
730endef
731
732define KernelPackage/input-polldev/description
733 Kernel module for support of polled input devices
734endef
735
736$(eval $(call KernelPackage,input-polldev))
737
738
739define KernelPackage/input-gpio-keys
740  SUBMENU:=$(OTHER_MENU)
741  TITLE:=GPIO key support
742  DEPENDS:= @GPIO_SUPPORT +!TARGET_x86:kmod-input-core
743  KCONFIG:=CONFIG_KEYBOARD_GPIO
744  FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
745  AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
746endef
747
748define KernelPackage/input-gpio-keys/description
749 This driver implements support for buttons connected
750 to GPIO pins of various CPUs (and some other chips).
751endef
752
753$(eval $(call KernelPackage,input-gpio-keys))
754
755
756define KernelPackage/input-gpio-buttons
757  SUBMENU:=$(OTHER_MENU)
758  TITLE:=Polled GPIO buttons input device
759  DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
760  KCONFIG:= \
761        CONFIG_INPUT_GPIO_BUTTONS \
762        CONFIG_INPUT_MISC=y
763  FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
764  AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
765endef
766
767define KernelPackage/input-gpio-buttons/description
768 Kernel module for support polled GPIO buttons input device
769endef
770
771$(eval $(call KernelPackage,input-gpio-buttons))
772
773define KernelPackage/input-joydev
774  SUBMENU:=$(OTHER_MENU)
775  TITLE:=Joystick device support
776  DEPENDS:=+!TARGET_x86:kmod-input-core
777  KCONFIG:=CONFIG_INPUT_JOYDEV
778  FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
779  AUTOLOAD:=$(call AutoLoad,62,joydev)
780endef
781
782define KernelPackage/input-joydev/description
783  Kernel module for joystick support
784endef
785
786$(eval $(call KernelPackage,input-joydev))
787
788define KernelPackage/input-rb532
789  SUBMENU:=$(OTHER_MENU)
790  TITLE:=RB532 button device support
791  DEPENDS:=+kmod-input-core @TARGET_rb532
792  KCONFIG:= \
793        CONFIG_INPUT_MISC=y \
794        CONFIG_INPUT_RB532_BUTTON
795  FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.$(LINUX_KMOD_SUFFIX)
796  AUTOLOAD:=$(call AutoLoad,62,rb532_button)
797endef
798
799define KernelPackage/input-rb532/description
800  Kernel module for RB532 button
801endef
802
803$(eval $(call KernelPackage,input-rb532))
804
805
806define KernelPackage/mmc-atmelmci
807  SUBMENU:=$(OTHER_MENU)
808  TITLE:=Amtel MMC Support
809  DEPENDS:=@TARGET_avr32 +kmod-mmc
810  KCONFIG:=CONFIG_MMC_ATMELMCI
811  FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
812  AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
813endef
814
815define KernelPackage/mmc-atmelmci/description
816 Kernel support for  Atmel Multimedia Card Interface.
817endef
818
819$(eval $(call KernelPackage,mmc-atmelmci,1))
820
821
822define KernelPackage/cs5535-gpio
823  SUBMENU:=$(OTHER_MENU)
824  TITLE:=AMD CS5535/CS5536 GPIO driver
825  DEPENDS:=@TARGET_x86
826  KCONFIG:=CONFIG_CS5535_GPIO
827  FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
828  AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
829endef
830
831define KernelPackage/cs5535-gpio/description
832 This package contains the AMD CS5535/CS5536 GPIO driver
833endef
834
835$(eval $(call KernelPackage,cs5535-gpio))
836
837
838define KernelPackage/ixp4xx-beeper
839  SUBMENU:=$(OTHER_MENU)
840  TITLE:=IXP4XX Beeper support
841  DEPENDS:=@TARGET_ixp4xx +kmod-input-core
842  KCONFIG:= \
843        CONFIG_INPUT_MISC=y \
844        CONFIG_INPUT_IXP4XX_BEEPER
845  FILES:=$(LINUX_DIR)/drivers/input/misc/ixp4xx-beeper.$(LINUX_KMOD_SUFFIX)
846  AUTOLOAD:=$(call AutoLoad,50,ixp4xx-beeper)
847endef
848
849define KernelPackage/ixp4xx-beeper/description
850 IXP4XX Beeper support
851endef
852
853$(eval $(call KernelPackage,ixp4xx-beeper))
854
855
856define KernelPackage/textsearch
857SUBMENU:=$(OTHER_MENU)
858  TITLE:=Textsearch support is selected if needed
859  DEPENDS:=@LINUX_2_6
860  KCONFIG:= \
861    CONFIG_TEXTSEARCH=y \
862    CONFIG_TEXTSEARCH_KMP \
863    CONFIG_TEXTSEARCH_BM \
864    CONFIG_TEXTSEARCH_FSM
865  FILES:= \
866    $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
867    $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
868    $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
869  AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
870endef
871
872$(eval $(call KernelPackage,textsearch))
873
874
875define KernelPackage/rfkill
876  SUBMENU:=$(OTHER_MENU)
877  TITLE:=RF switch subsystem support
878  DEPENDS:=@TARGET_x86||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx
879  KCONFIG:= \
880    CONFIG_RFKILL \
881    CONFIG_RFKILL_INPUT=y \
882    CONFIG_RFKILL_LEDS=y
883ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
884  FILES:= \
885    $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
886  AUTOLOAD:=$(call AutoLoad,20,rfkill)
887else
888  FILES:= \
889    $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
890    $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
891  AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
892endif
893endef
894
895define KernelPackage/rfkill/description
896  Say Y here if you want to have control over RF switches
897  found on many WiFi and Bluetooth cards.
898endef
899
900$(eval $(call KernelPackage,rfkill))
Note: See TracBrowser for help on using the repository browser.