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