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