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