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