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