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