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

Last change on this file since 10894 was 10894, checked in by nbd, 8 years ago

add missing kmod-hid module (thx, fish)

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