source: trunk/package/kernel/modules/other.mk @ 13920

Last change on this file since 13920 was 13920, checked in by agb, 7 years ago

[package] kernel: added GPIO driver for CS5535/CS5536 companion chip. Thanks Markus Wigge

  • Property svn:eol-style set to native
File size: 18.8 KB
Line 
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# $Id$
8
9OTHER_MENU:=Other modules
10
11define KernelPackage/crc-itu-t
12  SUBMENU:=$(OTHER_MENU)
13  TITLE:=CRC ITU-T V.41 support
14  KCONFIG:=CONFIG_CRC_ITU_T
15  FILES:=$(LINUX_DIR)/lib/crc-itu-t.$(LINUX_KMOD_SUFFIX)
16  AUTOLOAD:=$(call AutoLoad,20,crc-itu-t)
17endef
18
19define KernelPackage/crc-itu-t/description
20 Kernel module for CRC ITU-T V.41 support
21endef
22
23$(eval $(call KernelPackage,crc-itu-t))
24
25define KernelPackage/crc-ccitt
26  SUBMENU:=$(OTHER_MENU)
27  TITLE:=CRC-CCITT support
28  KCONFIG:=CONFIG_CRC_CCITT
29  FILES:=$(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX)
30  AUTOLOAD:=$(call AutoLoad,20,crc-ccitt)
31endef
32
33define KernelPackage/crc-ccitt/description
34 Kernel module for CRC-CCITT support
35endef
36
37$(eval $(call KernelPackage,crc-ccitt))
38
39
40define KernelPackage/crc7
41  SUBMENU:=$(OTHER_MENU)
42  TITLE:=CRC7 support
43  KCONFIG:=CONFIG_CRC7
44  FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
45  AUTOLOAD:=$(call AutoLoad,20,crc7)
46endef
47
48define KernelPackage/crc7/description
49 Kernel module for CRC7 support
50endef
51
52$(eval $(call KernelPackage,crc7))
53
54
55define KernelPackage/eeprom-93cx6
56  SUBMENU:=$(OTHER_MENU)
57  TITLE:=EEPROM 93CX6 support
58  DEPENDS:=@LINUX_2_6
59  KCONFIG:=CONFIG_EEPROM_93CX6
60  FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
61  AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
62endef
63
64define KernelPackage/eeprom-93cx6/description
65 Kernel module for EEPROM 93CX6 support
66endef
67
68$(eval $(call KernelPackage,eeprom-93cx6))
69
70
71define KernelPackage/lp
72  SUBMENU:=$(OTHER_MENU)
73  TITLE:=Parallel port and line printer support
74  DEPENDS:=@LINUX_2_4
75  KCONFIG:= \
76        CONFIG_PARPORT \
77        CONFIG_PRINTER \
78        CONFIG_PPDEV
79  FILES:= \
80        $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
81        $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
82        $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
83  AUTOLOAD:=$(call AutoLoad,50,parport lp)
84endef
85
86$(eval $(call KernelPackage,lp))
87
88
89define KernelPackage/pcmcia-core
90  SUBMENU:=$(OTHER_MENU)
91  TITLE:=PCMCIA/CardBus support
92  DEPENDS:=@PCMCIA_SUPPORT
93  KCONFIG:= \
94        CONFIG_PCMCIA \
95        CONFIG_CARDBUS \
96        CONFIG_PCCARD \
97        CONFIG_YENTA \
98        CONFIG_PCCARD_NONSTATIC \
99        PCMCIA_DEBUG=n
100endef
101
102define KernelPackage/pcmcia-core/2.4
103#  KCONFIG:= \
104#       CONFIG_PCMCIA \
105#       CONFIG_CARDBUS
106  FILES:= \
107        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
108        $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
109  AUTOLOAD:=$(call AutoLoad,40,pcmcia_core ds)
110endef
111
112define KernelPackage/pcmcia-core/2.6
113#  KCONFIG:= \
114#       CONFIG_PCCARD \
115#       CONFIG_PCMCIA \
116#       CONFIG_YENTA \
117#       CONFIG_PCCARD_NONSTATIC \
118#       PCMCIA_DEBUG=n
119  FILES:= \
120        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
121        $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
122        $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
123  AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic)
124endef
125
126define KernelPackage/pcmcia-core/description
127 Kernel support for PCMCIA/CardBus controllers
128endef
129
130$(eval $(call KernelPackage,pcmcia-core))
131
132
133define KernelPackage/pcmcia-yenta
134  SUBMENU:=$(OTHER_MENU)
135  TITLE:=yenta socket driver
136  DEPENDS:=kmod-pcmcia-core
137  KCONFIG:=CONFIG_YENTA
138  FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
139  AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
140endef
141
142$(eval $(call KernelPackage,pcmcia-yenta))
143
144define KernelPackage/pcmcia-au1000
145  SUBMENU:=$(OTHER_MENU)
146  TITLE:=RMI/AMD Au1000 PCMCIA support
147  DEPENDS:=kmod-pcmcia-core @TARGET_au1000
148  FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
149  AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
150endef
151
152$(eval $(call KernelPackage,pcmcia-au1000))
153
154define KernelPackage/pcmcia-bcm63xx
155  SUBMENU:=$(OTHER_MENU)
156  TITLE:=Broadcom BCM63xx PCMCIA support
157  DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
158  KCONFIG:=CONFIG_PCMCIA_BCM63XX
159  FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
160  AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
161endef
162
163define KernelPackage/pcmcia-bcm63xx/description
164  Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
165endef
166
167$(eval $(call KernelPackage,pcmcia-bcm63xx))
168
169define KernelPackage/pcmcia-serial
170  SUBMENU:=$(OTHER_MENU)
171  TITLE:=Serial devices support
172  DEPENDS:=kmod-pcmcia-core
173  KCONFIG:= \
174        CONFIG_PCMCIA_SERIAL_CS \
175        CONFIG_SERIAL_8250_CS
176  AUTOLOAD:=$(call AutoLoad,45,serial_cs)
177endef
178
179define KernelPackage/pcmcia-serial/2.4
180#  KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
181  FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
182endef
183
184define KernelPackage/pcmcia-serial/2.6
185#  KCONFIG:=CONFIG_SERIAL_8250_CS
186  FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
187endef
188
189define KernelPackage/pcmcia-serial/description
190 Kernel support for PCMCIA/CardBus serial devices
191endef
192
193$(eval $(call KernelPackage,pcmcia-serial))
194
195define KernelPackage/ssb
196  SUBMENU:=$(OTHER_MENU)
197  TITLE:=Silicon Sonics Backplane glue code
198  DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
199  KCONFIG:=\
200        CONFIG_SSB \
201        CONFIG_SSB_B43_PCI_BRIDGE=y \
202        CONFIG_SSB_DRIVER_PCICORE=y \
203        CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
204        CONFIG_SSB_PCIHOST=y \
205        CONFIG_SSB_PCIHOST_POSSIBLE=y \
206        CONFIG_SSB_POSSIBLE=y \
207        CONFIG_SSB_SPROM=y \
208        CONFIG_SSB_SILENT=y
209  FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
210  AUTOLOAD:=$(call AutoLoad,29,ssb)
211endef
212
213define KernelPackage/ssb/description
214  Silicon Sonics Backplane glue code.
215endef
216
217$(eval $(call KernelPackage,ssb))
218
219
220define KernelPackage/bluetooth
221  SUBMENU:=$(OTHER_MENU)
222  TITLE:=Bluetooth support
223  DEPENDS:=@USB_SUPPORT
224  KCONFIG:= \
225        CONFIG_BLUEZ \
226        CONFIG_BLUEZ_L2CAP \
227        CONFIG_BLUEZ_SCO \
228        CONFIG_BLUEZ_RFCOMM \
229        CONFIG_BLUEZ_BNEP \
230        CONFIG_BLUEZ_HCIUART \
231        CONFIG_BLUEZ_HCIUSB \
232        CONFIG_BT \
233        CONFIG_BT_L2CAP \
234        CONFIG_BT_SCO \
235        CONFIG_BT_RFCOMM \
236        CONFIG_BT_BNEP \
237        CONFIG_BT_HCIUSB \
238        CONFIG_BT_HCIUART
239endef
240
241define KernelPackage/bluetooth/2.4
242#  KCONFIG:= \
243#       CONFIG_BLUEZ \
244#       CONFIG_BLUEZ_L2CAP \
245#       CONFIG_BLUEZ_SCO \
246#       CONFIG_BLUEZ_RFCOMM \
247#       CONFIG_BLUEZ_BNEP \
248#       CONFIG_BLUEZ_HCIUART \
249#       CONFIG_BLUEZ_HCIUSB
250  FILES:= \
251        $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
252        $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
253        $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
254        $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
255        $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
256        $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
257        $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
258  AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
259endef
260
261define KernelPackage/bluetooth/2.6
262#  KCONFIG:= \
263#       CONFIG_BT \
264#       CONFIG_BT_L2CAP \
265#       CONFIG_BT_SCO \
266#       CONFIG_BT_RFCOMM \
267#       CONFIG_BT_BNEP \
268#       CONFIG_BT_HCIUSB \
269#       CONFIG_BT_HCIUART
270  FILES:= \
271        $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
272        $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
273        $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
274        $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
275        $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
276        $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
277        $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
278  AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
279endef
280
281define KernelPackage/bluetooth/description
282 Kernel support for Bluetooth devices
283endef
284
285$(eval $(call KernelPackage,bluetooth))
286
287
288define KernelPackage/mmc
289  SUBMENU:=$(OTHER_MENU)
290  TITLE:=MMC/SD Card Support
291  DEPENDS:=@LINUX_2_6
292  KCONFIG:= \
293        CONFIG_MMC \
294        CONFIG_MMC_BLOCK \
295        CONFIG_MMC_DEBUG=n \
296        CONFIG_MMC_UNSAFE_RESUME=n \
297        CONFIG_MMC_BLOCK_BOUNCE=y \
298        CONFIG_MMC_SDHCI=n \
299        CONFIG_MMC_TIFM_SD=n \
300        CONFIG_MMC_WBSD=n \
301        CONFIG_SDIO_UART=n
302  FILES:= \
303        $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
304        $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
305  AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block)
306endef
307
308define KernelPackage/mmc/description
309 Kernel support for MMC/SD cards
310endef
311
312$(eval $(call KernelPackage,mmc))
313
314
315define KernelPackage/mmc-at91
316  SUBMENU:=$(OTHER_MENU)
317  TITLE:=MMC/SD Card Support on AT91
318  DEPENDS:=@TARGET_at91 +kmod-mmc
319  KCONFIG:=CONFIG_MMC_AT91
320  FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
321  AUTOLOAD:=$(call AutoLoad,90,at91_mci)
322endef
323
324define KernelPackage/mmc-at91/description
325 Kernel support for MMC/SD cards on the AT91 target
326endef
327
328$(eval $(call KernelPackage,mmc-at91))
329
330
331# XXX: added a workaround for watchdog path changes
332ifeq ($(KERNEL),2.4)
333  WATCHDOG_DIR=char
334endif
335ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
336  WATCHDOG_DIR=watchdog
337endif
338WATCHDOG_DIR?=char/watchdog
339
340define KernelPackage/atmel-wdt
341  SUBMENU:=$(OTHER_MENU)
342  TITLE:=AT32AP700x watchdog
343  DEPENDS:=@TARGET_avr32
344  KCONFIG:=CONFIG_AT32AP700X_WDT
345  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
346  AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
347endef
348
349define KernelPackage/atmel-wdt/description
350 AT32AP700x watchdog
351endef
352
353$(eval $(call KernelPackage,atmel-wdt))
354
355
356define KernelPackage/softdog
357  SUBMENU:=$(OTHER_MENU)
358  TITLE:=Software watchdog driver
359  KCONFIG:=CONFIG_SOFT_WATCHDOG
360  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
361  AUTOLOAD:=$(call AutoLoad,50,softdog)
362endef
363
364define KernelPackage/softdog/description
365 Software watchdog driver
366endef
367
368$(eval $(call KernelPackage,softdog))
369
370
371define KernelPackage/leds-gpio
372  SUBMENU:=$(OTHER_MENU)
373  TITLE:=GPIO LED support
374  DEPENDS:= @GPIO_SUPPORT
375  KCONFIG:=CONFIG_LEDS_GPIO
376  FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
377  AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
378endef
379
380define KernelPackage/leds-gpio/description
381 Kernel module for LEDs on GPIO lines
382endef
383
384$(eval $(call KernelPackage,leds-gpio))
385
386
387define KernelPackage/ledtrig-adm5120-switch
388  SUBMENU:=$(OTHER_MENU)
389  TITLE:=LED ADM5120 Switch Port Status Trigger
390  DEPENDS:=@TARGET_adm5120
391  KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
392  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
393  AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
394endef
395
396define KernelPackage/ledtrig-adm5120-switch/description
397 Kernel module to allow LEDs to be controlled by the port states
398 of the ADM5120 built-in ethernet switch.
399endef
400
401$(eval $(call KernelPackage,ledtrig-adm5120-switch))
402
403
404define KernelPackage/leds-net48xx
405  SUBMENU:=$(OTHER_MENU)
406  TITLE:=Soekris Net48xx LED support
407  DEPENDS:=@TARGET_x86
408  KCONFIG:=CONFIG_LEDS_NET48XX
409  FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
410  AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
411endef
412
413define KernelPackage/leds-net48xx/description
414 Kernel module for Soekris Net48xx LEDs
415endef
416
417$(eval $(call KernelPackage,leds-net48xx))
418
419
420define KernelPackage/leds-wrap
421  SUBMENU:=$(OTHER_MENU)
422  TITLE:=PCengines WRAP LED support
423  DEPENDS:=@TARGET_x86
424  KCONFIG:=CONFIG_LEDS_WRAP
425  FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
426  AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
427endef
428
429define KernelPackage/leds-wrap/description
430 Kernel module for PCengines WRAP LEDs
431endef
432
433$(eval $(call KernelPackage,leds-wrap))
434
435
436define KernelPackage/leds-alix
437  SUBMENU:=$(OTHER_MENU)
438  TITLE:=PCengines ALIX LED support
439  DEPENDS:=@TARGET_x86
440  KCONFIG:=CONFIG_LEDS_ALIX
441  FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
442  AUTOLOAD:=$(call AutoLoad,50,leds-alix)
443endef
444
445define KernelPackage/leds-alix/description
446 Kernel module for PCengines ALIX LEDs
447endef
448
449$(eval $(call KernelPackage,leds-alix))
450
451
452define KernelPackage/ledtrig-netdev
453  SUBMENU:=$(OTHER_MENU)
454  TITLE:=LED NETDEV Trigger
455  KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
456  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
457  AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
458endef
459
460define KernelPackage/ledtrig-netdev/description
461 Kernel module to drive LEDs based on network activity.
462endef
463
464$(eval $(call KernelPackage,ledtrig-netdev))
465
466
467define KernelPackage/ledtrig-morse
468  SUBMENU:=$(OTHER_MENU)
469  TITLE:=LED Morse Trigger
470  KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
471  FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
472  AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
473endef
474
475define KernelPackage/ledtrig-morse/description
476 Kernel module to show morse coded messages on LEDs.
477endef
478
479$(eval $(call KernelPackage,ledtrig-morse))
480
481
482define KernelPackage/gpio-dev
483  SUBMENU:=$(OTHER_MENU)
484  TITLE:=Generic GPIO char device support
485  DEPENDS:=@GPIO_SUPPORT
486  KCONFIG:=CONFIG_GPIO_DEVICE
487  FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
488  AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
489endef
490
491define KernelPackage/gpio-dev/description
492  Kernel module to allows control of GPIO pins using a character device.
493endef
494
495$(eval $(call KernelPackage,gpio-dev))
496
497
498define KernelPackage/nsc-gpio
499  SUBMENU:=$(OTHER_MENU)
500  TITLE:=Natsemi GPIO support
501  DEPENDS:=@TARGET_x86
502  KCONFIG:=CONFIG_NSC_GPIO
503  FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
504  AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
505endef
506
507define KernelPackage/nsc-gpio/description
508 Kernel module for Natsemi GPIO
509endef
510
511$(eval $(call KernelPackage,nsc-gpio))
512
513
514define KernelPackage/scx200-gpio
515  SUBMENU:=$(OTHER_MENU)
516  TITLE:=Natsemi SCX200 GPIO support
517  DEPENDS:=@TARGET_x86 kmod-nsc-gpio
518  KCONFIG:=CONFIG_SCx200_GPIO
519  FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
520  AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
521endef
522
523define KernelPackage/scx200-gpio/description
524 Kernel module for SCX200 GPIO
525endef
526
527$(eval $(call KernelPackage,scx200-gpio))
528
529
530define KernelPackage/scx200-wdt
531  SUBMENU:=$(OTHER_MENU)
532  TITLE:=Natsemi SCX200 Watchdog support
533  DEPENDS:=@TARGET_x86
534  KCONFIG:=CONFIG_SC1200_WDT
535  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
536  AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
537endef
538
539define KernelPackage/scx200-wdt/description
540 Kernel module for SCX200 Watchdog
541endef
542
543$(eval $(call KernelPackage,scx200-wdt))
544
545
546define KernelPackage/sc520-wdt
547  SUBMENU:=$(OTHER_MENU)
548  TITLE:=Natsemi SC520 Watchdog support
549  DEPENDS:=@TARGET_x86
550  KCONFIG:=CONFIG_SC520_WDT
551  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
552  AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
553endef
554
555define KernelPackage/sc520-wdt/description
556  Kernel module for SC520 Watchdog
557endef
558
559$(eval $(call KernelPackage,sc520-wdt))
560
561
562define KernelPackage/input-core
563  SUBMENU:=$(OTHER_MENU)
564  TITLE:=Input device core
565  DEPENDS:=@LINUX_2_6
566  KCONFIG:=CONFIG_INPUT
567  FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
568  AUTOLOAD:=$(call AutoLoad,50,input-core)
569endef
570
571define KernelPackage/input-core/description
572 Kernel modules for support of input device
573endef
574
575$(eval $(call KernelPackage,input-core))
576
577
578define KernelPackage/input-evdev
579  SUBMENU:=$(OTHER_MENU)
580  TITLE:=Input even device
581  DEPENDS:=+kmod-input-core
582  KCONFIG:=CONFIG_INPUT_EVDEV
583  FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
584  AUTOLOAD:=$(call AutoLoad,60,evdev)
585endef
586
587define KernelPackage/input-evdev/description
588 Kernel modules for support of input device events
589endef
590
591$(eval $(call KernelPackage,input-evdev))
592
593
594define KernelPackage/hid
595  SUBMENU:=$(OTHER_MENU)
596  TITLE:=Input even device
597  DEPENDS:=+kmod-input-core +kmod-input-evdev
598  KCONFIG:=CONFIG_HID
599  FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
600  AUTOLOAD:=$(call AutoLoad,61,hid)
601endef
602
603define KernelPackage/hid/description
604 Kernel modules for HID devices
605endef
606
607$(eval $(call KernelPackage,hid))
608
609
610define KernelPackage/input-polldev
611  SUBMENU:=$(OTHER_MENU)
612  TITLE:=Polled Input device support
613  DEPENDS:=+kmod-input-core @LINUX_2_6
614  KCONFIG:=CONFIG_INPUT_POLLDEV
615  FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
616  AUTOLOAD:=$(call AutoLoad,61,input-polldev)
617endef
618
619define KernelPackage/input-polldev/description
620 Kernel module for support of polled input devices
621endef
622
623$(eval $(call KernelPackage,input-polldev))
624
625
626define KernelPackage/input-gpio-buttons
627  SUBMENU:=$(OTHER_MENU)
628  TITLE:=Polled GPIO buttons input device
629  DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
630  KCONFIG:= \
631        CONFIG_INPUT_GPIO_BUTTONS \
632        CONFIG_INPUT_MISC=y
633  FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
634  AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
635endef
636
637define KernelPackage/input-gpio-buttons/description
638 Kernel module for support polled GPIO buttons input device
639endef
640
641$(eval $(call KernelPackage,input-gpio-buttons))
642
643
644define KernelPackage/mmc-spi
645  SUBMENU:=$(OTHER_MENU)
646  TITLE:=MMC/SD over SPI Support
647  DEPENDS:=@LINUX_2_6 +kmod-mmc +kmod-crc-itu-t +kmod-crc7
648  KCONFIG:=CONFIG_MMC_SPI \
649          CONFIG_SPI=y \
650          CONFIG_SPI_MASTER=y
651  FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.$(LINUX_KMOD_SUFFIX)
652  AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
653endef
654
655define KernelPackage/mmc-spi/description
656 Kernel support for MMC/SD over SPI
657endef
658
659$(eval $(call KernelPackage,mmc-spi))
660
661define KernelPackage/mmc-atmelmci
662  SUBMENU:=$(OTHER_MENU)
663  TITLE:=Amtel MMC Support
664  DEPENDS:=@TARGET_avr32 +kmod-mmc
665  KCONFIG:=CONFIG_MMC_ATMELMCI
666  FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
667  AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
668endef
669
670define KernelPackage/mmc-atmelmci/description
671 Kernel support for  Atmel Multimedia Card Interface.
672endef
673
674$(eval $(call KernelPackage,mmc-atmelmci))
675
676define KernelPackage/spi-bitbang
677  SUBMENU:=$(OTHER_MENU)
678  TITLE:=Serial Peripheral Interface bitbanging library
679  DEPENDS:=@LINUX_2_6
680  KCONFIG:=CONFIG_SPI_BITBANG \
681          CONFIG_SPI=y \
682          CONFIG_SPI_MASTER=y
683  FILES:=$(LINUX_DIR)/drivers/spi/spi_bitbang.$(LINUX_KMOD_SUFFIX)
684  AUTOLOAD:=$(call AutoLoad,91,spi_bitbang)
685endef
686
687define KernelPackage/spi-bitbang/description
688 This package contains the SPI bitbanging library
689endef
690
691$(eval $(call KernelPackage,spi-bitbang))
692
693define KernelPackage/spi-gpio
694  SUBMENU:=$(OTHER_MENU)
695  TITLE:=GPIO based bitbanging SPI controller
696  DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
697  KCONFIG:=CONFIG_SPI_GPIO
698  FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.$(LINUX_KMOD_SUFFIX)
699  AUTOLOAD:=$(call AutoLoad,92,spi_gpio)
700endef
701
702define KernelPackage/spi-gpio/description
703 This package contains the GPIO based bitbanging SPI controller driver
704endef
705
706$(eval $(call KernelPackage,spi-gpio))
707
708define KernelPackage/spi-dev
709  SUBMENU:=$(OTHER_MENU)
710  TITLE:=User mode SPI device driver
711  DEPENDS:=@LINUX_2_6
712  KCONFIG:=CONFIG_SPI_SPIDEV \
713          CONFIG_SPI=y \
714          CONFIG_SPI_MASTER=y
715  FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
716  AUTOLOAD:=$(call AutoLoad,91,spidev)
717endef
718
719define KernelPackage/spi-dev/description
720 This package contains the user mode SPI device driver
721endef
722
723$(eval $(call KernelPackage,spi-dev))
724
725define KernelPackage/cs5535-gpio
726  SUBMENU:=$(OTHER_MENU)
727  TITLE:=AMD CS5535/CS5536 GPIO driver
728  DEPENDS:=@LINUX_2_6 @TARGET_x86
729  KCONFIG:=CONFIG_CS5535_GPIO
730  FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
731  AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
732endef
733
734define KernelPackage/cs5535-gpio/description
735 This package contains the AMD CS5535/CS5536 GPIO driver
736endef
737
738$(eval $(call KernelPackage,cs5535-gpio))
Note: See TracBrowser for help on using the repository browser.