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

Last change on this file since 21376 was 21376, checked in by nico, 6 years ago

[backfire] merge r21261 & r21262

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