package/kernel: renable kmod-input on 2.4 (closes: #7063)
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006-2010 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 # XXX: added a workaround for watchdog path changes
11 ifeq ($(KERNEL),2.4)
12 WATCHDOG_DIR=char
13 endif
14 WATCHDOG_DIR?=watchdog
15
16
17 define KernelPackage/bluetooth
18 SUBMENU:=$(OTHER_MENU)
19 TITLE:=Bluetooth support
20 DEPENDS:=@USB_SUPPORT +kmod-usb-core
21 KCONFIG:= \
22 CONFIG_BLUEZ \
23 CONFIG_BLUEZ_L2CAP \
24 CONFIG_BLUEZ_SCO \
25 CONFIG_BLUEZ_RFCOMM \
26 CONFIG_BLUEZ_BNEP \
27 CONFIG_BLUEZ_HCIUART \
28 CONFIG_BLUEZ_HCIUSB \
29 CONFIG_BLUEZ_HIDP \
30 CONFIG_BT \
31 CONFIG_BT_L2CAP \
32 CONFIG_BT_SCO \
33 CONFIG_BT_RFCOMM \
34 CONFIG_BT_BNEP \
35 CONFIG_BT_HCIBTUSB \
36 CONFIG_BT_HCIUSB \
37 CONFIG_BT_HCIUART \
38 CONFIG_BT_HIDP
39 $(call AddDepends/crc16)
40 $(call AddDepends/hid)
41 $(call AddDepends/rfkill)
42 endef
43
44 define KernelPackage/bluetooth/2.4
45 # KCONFIG:= \
46 # CONFIG_BLUEZ \
47 # CONFIG_BLUEZ_L2CAP \
48 # CONFIG_BLUEZ_SCO \
49 # CONFIG_BLUEZ_RFCOMM \
50 # CONFIG_BLUEZ_BNEP \
51 # CONFIG_BLUEZ_HCIUART \
52 # CONFIG_BLUEZ_HCIUSB
53 FILES:= \
54 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
55 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
56 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
57 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
58 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
59 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
60 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
61 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
62 endef
63
64 define KernelPackage/bluetooth/2.6
65 # KCONFIG:= \
66 # CONFIG_BT \
67 # CONFIG_BT_L2CAP \
68 # CONFIG_BT_SCO \
69 # CONFIG_BT_RFCOMM \
70 # CONFIG_BT_BNEP \
71 # CONFIG_BT_HCIUSB \
72 # CONFIG_BT_HCIUART
73 FILES:= \
74 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
75 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
76 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
77 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
78 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
79 $(LINUX_DIR)/net/bluetooth/hidp/hidp.$(LINUX_KMOD_SUFFIX) \
80 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
81 $(LINUX_DIR)/drivers/bluetooth/btusb.$(LINUX_KMOD_SUFFIX)
82 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
83 endef
84
85 define KernelPackage/bluetooth/description
86 Kernel support for Bluetooth devices
87 endef
88
89 $(eval $(call KernelPackage,bluetooth))
90
91
92 define KernelPackage/crc-ccitt
93 SUBMENU:=$(OTHER_MENU)
94 TITLE:=CRC-CCITT support
95 DEPENDS:=@LINUX_2_6
96 KCONFIG:=CONFIG_CRC_CCITT
97 FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
98 AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
99 endef
100
101 define KernelPackage/crc-ccitt/description
102 Kernel module for CRC-CCITT support
103 endef
104
105 $(eval $(call KernelPackage,crc-ccitt))
106
107
108 define KernelPackage/crc-itu-t
109 SUBMENU:=$(OTHER_MENU)
110 TITLE:=CRC ITU-T V.41 support
111 DEPENDS:=@LINUX_2_6
112 KCONFIG:=CONFIG_CRC_ITU_T
113 FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
114 AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
115 endef
116
117 define KernelPackage/crc-itu-t/description
118 Kernel module for CRC ITU-T V.41 support
119 endef
120
121 $(eval $(call KernelPackage,crc-itu-t))
122
123
124 define KernelPackage/crc7
125 SUBMENU:=$(OTHER_MENU)
126 TITLE:=CRC7 support
127 DEPENDS:=@LINUX_2_6
128 KCONFIG:=CONFIG_CRC7
129 FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
130 AUTOLOAD:=$(call AutoLoad,20,crc7)
131 endef
132
133 define KernelPackage/crc7/description
134 Kernel module for CRC7 support
135 endef
136
137 $(eval $(call KernelPackage,crc7))
138
139
140 define KernelPackage/crc16
141 SUBMENU:=$(OTHER_MENU)
142 TITLE:=CRC16 support
143 KCONFIG:=CONFIG_CRC16
144 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
145 AUTOLOAD:=$(call AutoLoad,20,crc16,1)
146 $(call SetDepends/crc16)
147 endef
148
149 define KernelPackage/crc16/description
150 Kernel module for CRC16 support
151 endef
152
153 $(eval $(call KernelPackage,crc16))
154
155
156 define KernelPackage/eeprom-93cx6
157 SUBMENU:=$(OTHER_MENU)
158 TITLE:=EEPROM 93CX6 support
159 DEPENDS:=@LINUX_2_6
160 KCONFIG:=CONFIG_EEPROM_93CX6
161 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
162 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
163 endef
164
165 define KernelPackage/eeprom-93cx6/description
166 Kernel module for EEPROM 93CX6 support
167 endef
168
169 $(eval $(call KernelPackage,eeprom-93cx6))
170
171
172 define KernelPackage/gpio-cs5535
173 SUBMENU:=$(OTHER_MENU)
174 TITLE:=AMD CS5535/CS5536 GPIO driver
175 DEPENDS:=@TARGET_x86
176 KCONFIG:=CONFIG_CS5535_GPIO
177 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
178 AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
179 endef
180
181 define KernelPackage/gpio-cs5535/description
182 This package contains the AMD CS5535/CS5536 GPIO driver
183 endef
184
185 $(eval $(call KernelPackage,gpio-cs5535))
186
187
188 define KernelPackage/gpio-dev
189 SUBMENU:=$(OTHER_MENU)
190 TITLE:=Generic GPIO char device support
191 DEPENDS:=@GPIO_SUPPORT
192 KCONFIG:=CONFIG_GPIO_DEVICE
193 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
194 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
195 endef
196
197 define KernelPackage/gpio-dev/description
198 Kernel module to allows control of GPIO pins using a character device.
199 endef
200
201 $(eval $(call KernelPackage,gpio-dev))
202
203
204 define KernelPackage/gpio-nsc
205 SUBMENU:=$(OTHER_MENU)
206 TITLE:=Natsemi GPIO support
207 DEPENDS:=@TARGET_x86
208 KCONFIG:=CONFIG_NSC_GPIO
209 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
210 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
211 endef
212
213 define KernelPackage/gpio-nsc/description
214 Kernel module for Natsemi GPIO
215 endef
216
217 $(eval $(call KernelPackage,gpio-nsc))
218
219
220 define KernelPackage/gpio-pc8736x
221 SUBMENU:=$(OTHER_MENU)
222 TITLE:=PC8736x GPIO support
223 DEPENDS:=@TARGET_x86
224 KCONFIG:=CONFIG_PC8736x_GPIO
225 FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.$(LINUX_KMOD_SUFFIX)
226 AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
227 endef
228
229 define KernelPackage/gpio-pc8736x/description
230 Kernel module for PC8736x GPIO
231 endef
232
233 $(eval $(call KernelPackage,gpio-pc8736x))
234
235
236 define KernelPackage/gpio-scx200
237 SUBMENU:=$(OTHER_MENU)
238 TITLE:=Natsemi SCX200 GPIO support
239 DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
240 KCONFIG:=CONFIG_SCx200_GPIO
241 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
242 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
243 endef
244
245 define KernelPackage/gpio-scx200/description
246 Kernel module for SCX200 GPIO
247 endef
248
249 $(eval $(call KernelPackage,gpio-scx200))
250
251
252 define KernelPackage/hid
253 SUBMENU:=$(OTHER_MENU)
254 TITLE:=HID Devices
255 DEPENDS:=+kmod-input-evdev
256 KCONFIG:=CONFIG_HID
257 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
258 AUTOLOAD:=$(call AutoLoad,61,hid)
259 $(call SetDepends/hid)
260 $(call AddDepends/input)
261 endef
262
263 define KernelPackage/hid/description
264 Kernel modules for HID devices
265 endef
266
267 $(eval $(call KernelPackage,hid))
268
269
270 define KernelPackage/input-core
271 SUBMENU:=$(OTHER_MENU)
272 TITLE:=Input device core
273 KCONFIG:=CONFIG_INPUT
274 $(call SetDepends/input)
275 endef
276
277 define KernelPackage/input-core/description
278 Kernel modules for support of input device
279 endef
280
281 define KernelPackage/input-core/2.4
282 FILES:=$(LINUX_DIR)/drivers/input/input.$(LINUX_KMOD_SUFFIX)
283 AUTOLOAD:=$(call AutoLoad,19,input)
284 endef
285
286 define KernelPackage/input-core/2.6
287 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
288 AUTOLOAD:=$(call AutoLoad,19,input-core)
289 endef
290
291 $(eval $(call KernelPackage,input-core))
292
293
294 define KernelPackage/input-evdev
295 SUBMENU:=$(OTHER_MENU)
296 TITLE:=Input event device
297 KCONFIG:=CONFIG_INPUT_EVDEV
298 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
299 AUTOLOAD:=$(call AutoLoad,60,evdev)
300 $(call AddDepends/input)
301 endef
302
303 define KernelPackage/input-evdev/description
304 Kernel modules for support of input device events
305 endef
306
307 $(eval $(call KernelPackage,input-evdev))
308
309
310 define KernelPackage/input-gpio-buttons
311 SUBMENU:=$(OTHER_MENU)
312 TITLE:=Polled GPIO buttons input device
313 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
314 KCONFIG:= \
315 CONFIG_INPUT_GPIO_BUTTONS \
316 CONFIG_INPUT_MISC=y
317 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
318 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
319 endef
320
321 define KernelPackage/input-gpio-buttons/description
322 Kernel module for support polled GPIO buttons input device
323 endef
324
325 $(eval $(call KernelPackage,input-gpio-buttons))
326
327
328 define KernelPackage/input-gpio-keys
329 SUBMENU:=$(OTHER_MENU)
330 TITLE:=GPIO key support
331 DEPENDS:= @GPIO_SUPPORT
332 KCONFIG:=CONFIG_KEYBOARD_GPIO
333 FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
334 AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
335 $(call AddDepends/input)
336 endef
337
338 define KernelPackage/input-gpio-keys/description
339 This driver implements support for buttons connected
340 to GPIO pins of various CPUs (and some other chips).
341 endef
342
343 $(eval $(call KernelPackage,input-gpio-keys))
344
345
346 define KernelPackage/input-joydev
347 SUBMENU:=$(OTHER_MENU)
348 TITLE:=Joystick device support
349 KCONFIG:=CONFIG_INPUT_JOYDEV
350 FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
351 AUTOLOAD:=$(call AutoLoad,62,joydev)
352 $(call AddDepends/input)
353 endef
354
355 define KernelPackage/input-joydev/description
356 Kernel module for joystick support
357 endef
358
359 $(eval $(call KernelPackage,input-joydev))
360
361
362 define KernelPackage/input-polldev
363 SUBMENU:=$(OTHER_MENU)
364 TITLE:=Polled Input device support
365 DEPENDS:=@LINUX_2_6
366 KCONFIG:=CONFIG_INPUT_POLLDEV
367 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
368 AUTOLOAD:=$(call AutoLoad,20,input-polldev)
369 $(call AddDepends/input)
370 endef
371
372 define KernelPackage/input-polldev/description
373 Kernel module for support of polled input devices
374 endef
375
376 $(eval $(call KernelPackage,input-polldev))
377
378
379 define KernelPackage/leds-alix
380 SUBMENU:=$(OTHER_MENU)
381 TITLE:=PCengines ALIX LED support
382 DEPENDS:=@TARGET_x86
383 KCONFIG:=CONFIG_LEDS_ALIX2
384 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.$(LINUX_KMOD_SUFFIX)
385 AUTOLOAD:=$(call AutoLoad,50,leds-alix2)
386 endef
387
388 define KernelPackage/leds-alix/description
389 Kernel module for PCengines ALIX LEDs
390 endef
391
392 $(eval $(call KernelPackage,leds-alix))
393
394
395 define KernelPackage/leds-gpio
396 SUBMENU:=$(OTHER_MENU)
397 TITLE:=GPIO LED support
398 DEPENDS:= @GPIO_SUPPORT
399 KCONFIG:=CONFIG_LEDS_GPIO
400 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
401 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
402 endef
403
404 define KernelPackage/leds-gpio/description
405 Kernel module for LEDs on GPIO lines
406 endef
407
408 $(eval $(call KernelPackage,leds-gpio))
409
410
411 define KernelPackage/leds-net48xx
412 SUBMENU:=$(OTHER_MENU)
413 TITLE:=Soekris Net48xx LED support
414 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
415 KCONFIG:=CONFIG_LEDS_NET48XX
416 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
417 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
418 endef
419
420 define KernelPackage/leds-net48xx/description
421 Kernel module for Soekris Net48xx LEDs
422 endef
423
424 $(eval $(call KernelPackage,leds-net48xx))
425
426
427 define KernelPackage/leds-rb750
428 SUBMENU:=$(OTHER_MENU)
429 TITLE:=RouterBOARD 750 LED support
430 DEPENDS:=@TARGET_ar71xx
431 KCONFIG:=CONFIG_LEDS_RB750
432 FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.$(LINUX_KMOD_SUFFIX)
433 AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
434 endef
435
436 define KernelPackage/leds-rb750/description
437 Kernel module for the LEDs on the MikroTik RouterBOARD 750.
438 endef
439
440 $(eval $(call KernelPackage,leds-rb750))
441
442
443 define KernelPackage/leds-wndr3700-usb
444 SUBMENU:=$(OTHER_MENU)
445 TITLE:=WNDR3700 USB LED support
446 DEPENDS:=@TARGET_ar71xx
447 KCONFIG:=CONFIG_LEDS_WNDR3700_USB
448 FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.$(LINUX_KMOD_SUFFIX)
449 AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
450 endef
451
452 define KernelPackage/leds-wndr3700-usb/description
453 Kernel module for the USB LED on the NETGWR WNDR3700 board.
454 endef
455
456 $(eval $(call KernelPackage,leds-wndr3700-usb))
457
458
459 define KernelPackage/leds-wrap
460 SUBMENU:=$(OTHER_MENU)
461 TITLE:=PCengines WRAP LED support
462 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
463 KCONFIG:=CONFIG_LEDS_WRAP
464 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
465 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
466 endef
467
468 define KernelPackage/leds-wrap/description
469 Kernel module for PCengines WRAP LEDs
470 endef
471
472 $(eval $(call KernelPackage,leds-wrap))
473
474
475 define KernelPackage/ledtrig-morse
476 SUBMENU:=$(OTHER_MENU)
477 TITLE:=LED Morse Trigger
478 DEPENDS:=@LINUX_2_6
479 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
480 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
481 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
482 endef
483
484 define KernelPackage/ledtrig-morse/description
485 Kernel module to show morse coded messages on LEDs.
486 endef
487
488 $(eval $(call KernelPackage,ledtrig-morse))
489
490
491 define KernelPackage/ledtrig-netdev
492 SUBMENU:=$(OTHER_MENU)
493 TITLE:=LED NETDEV Trigger
494 DEPENDS:=@LINUX_2_6
495 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
496 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
497 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
498 endef
499
500 define KernelPackage/ledtrig-netdev/description
501 Kernel module to drive LEDs based on network activity.
502 endef
503
504 $(eval $(call KernelPackage,ledtrig-netdev))
505
506
507 define KernelPackage/lp
508 SUBMENU:=$(OTHER_MENU)
509 TITLE:=Parallel port and line printer support
510 DEPENDS:=@LINUX_2_4
511 KCONFIG:= \
512 CONFIG_PARPORT \
513 CONFIG_PRINTER \
514 CONFIG_PPDEV
515 FILES:= \
516 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
517 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
518 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
519 AUTOLOAD:=$(call AutoLoad,50,parport lp)
520 endef
521
522 define KernelPackage/lp/2.4
523 FILES:= \
524 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
525 $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \
526 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
527 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
528 AUTOLOAD:=$(call AutoLoad,50, \
529 parport \
530 parport_splink \
531 lp \
532 )
533 endef
534
535 $(eval $(call KernelPackage,lp))
536
537
538 define KernelPackage/mmc
539 SUBMENU:=$(OTHER_MENU)
540 TITLE:=MMC/SD Card Support
541 DEPENDS:=@LINUX_2_6
542 KCONFIG:= \
543 CONFIG_MMC \
544 CONFIG_MMC_BLOCK \
545 CONFIG_MMC_DEBUG=n \
546 CONFIG_MMC_UNSAFE_RESUME=n \
547 CONFIG_MMC_BLOCK_BOUNCE=y \
548 CONFIG_MMC_SDHCI=n \
549 CONFIG_MMC_TIFM_SD=n \
550 CONFIG_MMC_WBSD=n \
551 CONFIG_SDIO_UART=n
552 FILES:= \
553 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
554 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
555 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
556 endef
557
558 define KernelPackage/mmc/description
559 Kernel support for MMC/SD cards
560 endef
561
562 $(eval $(call KernelPackage,mmc))
563
564
565 define KernelPackage/mmc-atmelmci
566 SUBMENU:=$(OTHER_MENU)
567 TITLE:=Amtel MMC Support
568 DEPENDS:=@TARGET_avr32 +kmod-mmc
569 KCONFIG:=CONFIG_MMC_ATMELMCI
570 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
571 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
572 endef
573
574 define KernelPackage/mmc-atmelmci/description
575 Kernel support for Atmel Multimedia Card Interface.
576 endef
577
578 $(eval $(call KernelPackage,mmc-atmelmci,1))
579
580
581 define KernelPackage/rfkill
582 SUBMENU:=$(OTHER_MENU)
583 TITLE:=RF switch subsystem support
584 KCONFIG:= \
585 CONFIG_RFKILL \
586 CONFIG_RFKILL_INPUT=y \
587 CONFIG_RFKILL_LEDS=y
588 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.31)),1)
589 FILES:= \
590 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX)
591 AUTOLOAD:=$(call AutoLoad,20,rfkill)
592 else
593 FILES:= \
594 $(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
595 $(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
596 AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
597 endif
598 $(call SetDepends/rfkill)
599 endef
600
601 define KernelPackage/rfkill/description
602 Say Y here if you want to have control over RF switches
603 found on many WiFi and Bluetooth cards.
604 endef
605
606 $(eval $(call KernelPackage,rfkill))
607
608
609 define KernelPackage/softdog
610 SUBMENU:=$(OTHER_MENU)
611 TITLE:=Software watchdog driver
612 KCONFIG:=CONFIG_SOFT_WATCHDOG
613 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
614 AUTOLOAD:=$(call AutoLoad,50,softdog)
615 endef
616
617 define KernelPackage/softdog/description
618 Software watchdog driver
619 endef
620
621 $(eval $(call KernelPackage,softdog))
622
623
624 define KernelPackage/ssb
625 SUBMENU:=$(OTHER_MENU)
626 TITLE:=Silicon Sonics Backplane glue code
627 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
628 KCONFIG:=\
629 CONFIG_SSB \
630 CONFIG_SSB_B43_PCI_BRIDGE=y \
631 CONFIG_SSB_DRIVER_MIPS=n \
632 CONFIG_SSB_DRIVER_PCICORE=y \
633 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
634 CONFIG_SSB_PCIHOST=y \
635 CONFIG_SSB_PCIHOST_POSSIBLE=y \
636 CONFIG_SSB_POSSIBLE=y \
637 CONFIG_SSB_SPROM=y \
638 CONFIG_SSB_SILENT=y
639 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
640 AUTOLOAD:=$(call AutoLoad,29,ssb)
641 endef
642
643 define KernelPackage/ssb/description
644 Silicon Sonics Backplane glue code.
645 endef
646
647 $(eval $(call KernelPackage,ssb))
648
649
650 define KernelPackage/textsearch
651 SUBMENU:=$(OTHER_MENU)
652 TITLE:=Textsearch support is selected if needed
653 DEPENDS:=@LINUX_2_6
654 KCONFIG:= \
655 CONFIG_TEXTSEARCH=y \
656 CONFIG_TEXTSEARCH_KMP \
657 CONFIG_TEXTSEARCH_BM \
658 CONFIG_TEXTSEARCH_FSM
659 FILES:= \
660 $(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
661 $(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
662 $(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
663 AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
664 endef
665
666 $(eval $(call KernelPackage,textsearch))
667
668
669 define KernelPackage/wdt-geode
670 SUBMENU:=$(OTHER_MENU)
671 TITLE:=Geode/LX Watchdog timer
672 DEPENDS:=@TARGET_x86 @LINUX_2_6
673 KCONFIG:=CONFIG_GEODE_WDT
674 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.$(LINUX_KMOD_SUFFIX)
675 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
676 endef
677
678 define KernelPackage/wdt-geode/description
679 Kernel module for Geode watchdog timer.
680 endef
681
682 $(eval $(call KernelPackage,wdt-geode))
683
684
685 define KernelPackage/wdt-sc520
686 SUBMENU:=$(OTHER_MENU)
687 TITLE:=Natsemi SC520 Watchdog support
688 DEPENDS:=@TARGET_x86
689 KCONFIG:=CONFIG_SC520_WDT
690 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
691 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
692 endef
693
694 define KernelPackage/wdt-sc520/description
695 Kernel module for SC520 Watchdog
696 endef
697
698 $(eval $(call KernelPackage,wdt-sc520))
699
700
701 define KernelPackage/wdt-scx200
702 SUBMENU:=$(OTHER_MENU)
703 TITLE:=Natsemi SCX200 Watchdog support
704 DEPENDS:=@TARGET_x86
705 KCONFIG:=CONFIG_SCx200_WDT
706 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
707 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
708 endef
709
710 define KernelPackage/wdt-scx200/description
711 Kernel module for SCX200 Watchdog
712 endef
713
714 $(eval $(call KernelPackage,wdt-scx200))
This page took 0.078377 seconds and 5 git commands to generate.