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