package: add module for the RB750 LED driver
[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/leds-rb750
524 SUBMENU:=$(OTHER_MENU)
525 TITLE:=RouterBOARD 750 LED support
526 DEPENDS:=@TARGET_ar71xx
527 KCONFIG:=CONFIG_LEDS_RB750
528 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.$(LINUX_KMOD_SUFFIX)
529 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
530 endef
531
532 define KernelPackage/leds-rb750/description
533 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
534 endef
535
536 $(eval $(call KernelPackage,leds-rb750))
537
538
539 define KernelPackage/ledtrig-netdev
540 SUBMENU:=$(OTHER_MENU)
541 TITLE:=LED NETDEV Trigger
542 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
543 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
544 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
545 endef
546
547 define KernelPackage/ledtrig-netdev/description
548 Kernel module to drive LEDs based on network activity.
549 endef
550
551 $(eval $(call KernelPackage,ledtrig-netdev))
552
553
554 define KernelPackage/ledtrig-morse
555 SUBMENU:=$(OTHER_MENU)
556 TITLE:=LED Morse Trigger
557 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
558 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
559 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
560 endef
561
562 define KernelPackage/ledtrig-morse/description
563 Kernel module to show morse coded messages on LEDs.
564 endef
565
566 $(eval $(call KernelPackage,ledtrig-morse))
567
568
569 define KernelPackage/gpio-dev
570 SUBMENU:=$(OTHER_MENU)
571 TITLE:=Generic GPIO char device support
572 DEPENDS:=@GPIO_SUPPORT
573 KCONFIG:=CONFIG_GPIO_DEVICE
574 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
575 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
576 endef
577
578 define KernelPackage/gpio-dev/description
579 Kernel module to allows control of GPIO pins using a character device.
580 endef
581
582 $(eval $(call KernelPackage,gpio-dev))
583
584
585 define KernelPackage/nsc-gpio
586 SUBMENU:=$(OTHER_MENU)
587 TITLE:=Natsemi GPIO support
588 DEPENDS:=@TARGET_x86
589 KCONFIG:=CONFIG_NSC_GPIO
590 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
591 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
592 endef
593
594 define KernelPackage/nsc-gpio/description
595 Kernel module for Natsemi GPIO
596 endef
597
598 $(eval $(call KernelPackage,nsc-gpio))
599
600
601 define KernelPackage/scx200-gpio
602 SUBMENU:=$(OTHER_MENU)
603 TITLE:=Natsemi SCX200 GPIO support
604 DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
605 KCONFIG:=CONFIG_SCx200_GPIO
606 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
607 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
608 endef
609
610 define KernelPackage/scx200-gpio/description
611 Kernel module for SCX200 GPIO
612 endef
613
614 $(eval $(call KernelPackage,scx200-gpio))
615
616
617 define KernelPackage/scx200-wdt
618 SUBMENU:=$(OTHER_MENU)
619 TITLE:=Natsemi SCX200 Watchdog support
620 DEPENDS:=@TARGET_x86
621 KCONFIG:=CONFIG_SCx200_WDT
622 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
623 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
624 endef
625
626 define KernelPackage/scx200-wdt/description
627 Kernel module for SCX200 Watchdog
628 endef
629
630 $(eval $(call KernelPackage,scx200-wdt))
631
632
633 define KernelPackage/sc520-wdt
634 SUBMENU:=$(OTHER_MENU)
635 TITLE:=Natsemi SC520 Watchdog support
636 DEPENDS:=@TARGET_x86
637 KCONFIG:=CONFIG_SC520_WDT
638 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
639 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
640 endef
641
642 define KernelPackage/sc520-wdt/description
643 Kernel module for SC520 Watchdog
644 endef
645
646 $(eval $(call KernelPackage,sc520-wdt))
647
648
649 define KernelPackage/input-core
650 SUBMENU:=$(OTHER_MENU)
651 TITLE:=Input device core
652 DEPENDS:=@LINUX_2_6
653 KCONFIG:=CONFIG_INPUT
654 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
655 AUTOLOAD:=$(call AutoLoad,19,input-core)
656 endef
657
658 define KernelPackage/input-core/description
659 Kernel modules for support of input device
660 endef
661
662 $(eval $(call KernelPackage,input-core))
663
664
665 define KernelPackage/input-evdev
666 SUBMENU:=$(OTHER_MENU)
667 TITLE:=Input event device
668 DEPENDS:=+kmod-input-core
669 KCONFIG:=CONFIG_INPUT_EVDEV
670 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
671 AUTOLOAD:=$(call AutoLoad,60,evdev)
672 endef
673
674 define KernelPackage/input-evdev/description
675 Kernel modules for support of input device events
676 endef
677
678 $(eval $(call KernelPackage,input-evdev))
679
680
681 define KernelPackage/hid
682 SUBMENU:=$(OTHER_MENU)
683 TITLE:=HID Devices
684 DEPENDS:=+kmod-input-core +kmod-input-evdev
685 KCONFIG:=CONFIG_HID
686 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
687 AUTOLOAD:=$(call AutoLoad,61,hid)
688 endef
689
690 define KernelPackage/hid/description
691 Kernel modules for HID devices
692 endef
693
694 $(eval $(call KernelPackage,hid))
695
696
697 define KernelPackage/input-polldev
698 SUBMENU:=$(OTHER_MENU)
699 TITLE:=Polled Input device support
700 DEPENDS:=+kmod-input-core @LINUX_2_6
701 KCONFIG:=CONFIG_INPUT_POLLDEV
702 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
703 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
704 endef
705
706 define KernelPackage/input-polldev/description
707 Kernel module for support of polled input devices
708 endef
709
710 $(eval $(call KernelPackage,input-polldev))
711
712
713 define KernelPackage/input-gpio-keys
714 SUBMENU:=$(OTHER_MENU)
715 TITLE:=GPIO key support
716 DEPENDS:= @GPIO_SUPPORT +kmod-input-core
717 KCONFIG:=CONFIG_KEYBOARD_GPIO
718 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
719 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
720 endef
721
722 define KernelPackage/input-gpio-keys/description
723 This driver implements support for buttons connected
724 to GPIO pins of various CPUs (and some other chips).
725 endef
726
727 $(eval $(call KernelPackage,input-gpio-keys))
728
729
730 define KernelPackage/input-gpio-buttons
731 SUBMENU:=$(OTHER_MENU)
732 TITLE:=Polled GPIO buttons input device
733 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
734 KCONFIG:= \
735 CONFIG_INPUT_GPIO_BUTTONS \
736 CONFIG_INPUT_MISC=y
737 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
738 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
739 endef
740
741 define KernelPackage/input-gpio-buttons/description
742 Kernel module for support polled GPIO buttons input device
743 endef
744
745 $(eval $(call KernelPackage,input-gpio-buttons))
746
747 define KernelPackage/input-joydev
748 SUBMENU:=$(OTHER_MENU)
749 TITLE:=Joystick device support
750 DEPENDS:=+kmod-input-core
751 KCONFIG:=CONFIG_INPUT_JOYDEV
752 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
753 AUTOLOAD:=$(call AutoLoad,62,joydev)
754 endef
755
756 define KernelPackage/input-joydev/description
757 Kernel module for joystick support
758 endef
759
760 $(eval $(call KernelPackage,input-joydev))
761
762 define KernelPackage/input-rb532
763 SUBMENU:=$(OTHER_MENU)
764 TITLE:=RB532 button device support
765 DEPENDS:=+kmod-input-core @TARGET_rb532
766 KCONFIG:= \
767 CONFIG_INPUT_MISC=y \
768 CONFIG_INPUT_RB532_BUTTON
769 FILES:=$(LINUX_DIR)/drivers/input/misc/rb532_button.$(LINUX_KMOD_SUFFIX)
770 AUTOLOAD:=$(call AutoLoad,62,rb532_button)
771 endef
772
773 define KernelPackage/input-rb532/description
774 Kernel module for RB532 button
775 endef
776
777 $(eval $(call KernelPackage,input-rb532))
778
779
780 define KernelPackage/mmc-atmelmci
781 SUBMENU:=$(OTHER_MENU)
782 TITLE:=Amtel MMC Support
783 DEPENDS:=@TARGET_avr32 +kmod-mmc
784 KCONFIG:=CONFIG_MMC_ATMELMCI
785 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
786 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
787 endef
788
789 define KernelPackage/mmc-atmelmci/description
790 Kernel support for Atmel Multimedia Card Interface.
791 endef
792
793 $(eval $(call KernelPackage,mmc-atmelmci,1))
794
795
796 define KernelPackage/cs5535-gpio
797 SUBMENU:=$(OTHER_MENU)
798 TITLE:=AMD CS5535/CS5536 GPIO driver
799 DEPENDS:=@TARGET_x86||@TARGET_olpc
800 KCONFIG:=CONFIG_CS5535_GPIO
801 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
802 AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
803 endef
804
805 define KernelPackage/cs5535-gpio/description
806 This package contains the AMD CS5535/CS5536 GPIO driver
807 endef
808
809 $(eval $(call KernelPackage,cs5535-gpio))
810
811
812 define KernelPackage/ixp4xx-beeper
813 SUBMENU:=$(OTHER_MENU)
814 TITLE:=IXP4XX Beeper support
815 DEPENDS:=@TARGET_ixp4xx +kmod-input-core
816 KCONFIG:= \
817 CONFIG_INPUT_MISC=y \
818 CONFIG_INPUT_IXP4XX_BEEPER
819 FILES:=$(LINUX_DIR)/drivers/input/misc/ixp4xx-beeper.$(LINUX_KMOD_SUFFIX)
820 AUTOLOAD:=$(call AutoLoad,50,ixp4xx-beeper)
821 endef
822
823 define KernelPackage/ixp4xx-beeper/description
824 IXP4XX Beeper support
825 endef
826
827 $(eval $(call KernelPackage,ixp4xx-beeper))
828
829
830 define KernelPackage/textsearch
831 SUBMENU:=$(OTHER_MENU)
832 TITLE:=Textsearch support is selected if needed
833 DEPENDS:=@LINUX_2_6
834 KCONFIG:= \
835 CONFIG_TEXTSEARCH=y \
836 CONFIG_TEXTSEARCH_KMP \
837 CONFIG_TEXTSEARCH_BM \
838 CONFIG_TEXTSEARCH_FSM
839 FILES:= \
840 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
841 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
842 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
843 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
844 endef
845
846 $(eval $(call KernelPackage,textsearch))
847
848
849 define KernelPackage/rfkill
850 SUBMENU:=$(OTHER_MENU)
851 TITLE:=RF switch subsystem support
852 DEPENDS:=@TARGET_x86||TARGET_olpc||TARGET_s3c24xx||TARGET_brcm47xx||TARGET_ar71xx
853 KCONFIG:= \
854 CONFIG_RFKILL \
855 CONFIG_RFKILL_INPUT=y \
856 CONFIG_RFKILL_LEDS=y
857 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
858 FILES:= \
859 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
860 AUTOLOAD:=$(call AutoLoad,20,rfkill)
861 else
862 FILES:= \
863 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
864 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
865 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
866 endif
867 endef
868
869 define KernelPackage/rfkill/description
870 Say Y here if you want to have control over RF switches
871 found on many WiFi and Bluetooth cards.
872 endef
873
874 $(eval $(call KernelPackage,rfkill))
This page took 0.080041 seconds and 5 git commands to generate.