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