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