fix avr32 compiling
[openwrt.git] / package / kernel / modules / other.mk
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
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 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
158 define 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
177 endef
178
179 define 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)
197 endef
198
199 define 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)
217 endef
218
219 define KernelPackage/bluetooth/description
220 Kernel support for Bluetooth devices
221 endef
222
223 $(eval $(call KernelPackage,bluetooth))
224
225
226 define 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)
244 endef
245
246 define KernelPackage/mmc/description
247 Kernel support for MMC/SD cards
248 endef
249
250 $(eval $(call KernelPackage,mmc))
251
252
253 define 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)
260 endef
261
262 define KernelPackage/mmc-at91/description
263 Kernel support for MMC/SD cards on the AT91 target
264 endef
265
266 $(eval $(call KernelPackage,mmc-at91))
267
268
269 # XXX: added a workaround for watchdog path changes
270 ifeq ($(KERNEL),2.4)
271 WATCHDOG_DIR=char
272 endif
273 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
274 WATCHDOG_DIR=watchdog
275 endif
276 WATCHDOG_DIR?=char/watchdog
277
278 define 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)
284 endef
285
286 define KernelPackage/softdog/description
287 Software watchdog driver
288 endef
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
294 define KernelPackage/leds-gpio
295 SUBMENU:=$(OTHER_MENU)
296 TITLE:=GPIO LED support
297 DEPENDS:= @GPIO_SUPPORT
298 KCONFIG:=CONFIG_LEDS_GPIO
299 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
300 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
301 endef
302
303 define KernelPackage/leds-gpio/description
304 Kernel module for LEDs on GPIO lines
305 endef
306
307 $(eval $(call KernelPackage,leds-gpio))
308
309
310 define 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)
317 endef
318
319 define KernelPackage/leds-adm5120/description
320 Kernel module for LEDs on ADM5120 based boards.
321 endef
322
323 $(eval $(call KernelPackage,leds-adm5120))
324
325
326 define 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)
333 endef
334
335 define 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.
338 endef
339
340 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
341
342
343 define 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)
350 endef
351
352 define KernelPackage/leds-net48xx/description
353 Kernel module for Soekris Net48xx LEDs
354 endef
355
356 $(eval $(call KernelPackage,leds-net48xx))
357
358
359 define 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)
366 endef
367
368 define KernelPackage/leds-wrap/description
369 Kernel module for PCengines WRAP LEDs
370 endef
371
372 $(eval $(call KernelPackage,leds-wrap))
373
374
375 define 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)
382 endef
383
384 define KernelPackage/leds-alix/description
385 Kernel module for PCengines ALIX LEDs
386 endef
387
388 $(eval $(call KernelPackage,leds-alix))
389
390
391 define 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)
397 endef
398
399 define KernelPackage/ledtrig-netdev/description
400 Kernel module to drive LEDs based on network activity.
401 endef
402
403 $(eval $(call KernelPackage,ledtrig-netdev))
404
405
406 define 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)
412 endef
413
414 define KernelPackage/ledtrig-morse/description
415 Kernel module to show morse coded messages on LEDs.
416 endef
417
418 $(eval $(call KernelPackage,ledtrig-morse))
419
420
421 define 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)
428 endef
429
430 define KernelPackage/nsc-gpio/description
431 Kernel module for Natsemi GPIO
432 endef
433
434 $(eval $(call KernelPackage,nsc-gpio))
435
436
437 define 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)
444 endef
445
446 define KernelPackage/scx200-gpio/description
447 Kernel module for SCX200 GPIO
448 endef
449
450 $(eval $(call KernelPackage,scx200-gpio))
451
452
453 define 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)
460 endef
461
462 define KernelPackage/scx200-wdt/description
463 Kernel module for SCX200 Watchdog
464 endef
465
466 $(eval $(call KernelPackage,scx200-wdt))
467
468
469 define 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)
476 endef
477
478 define KernelPackage/input-core/description
479 Kernel modules for support of input device
480 endef
481
482 $(eval $(call KernelPackage,input-core))
483
484
485 define 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)
492 endef
493
494 define KernelPackage/input-evdev/description
495 Kernel modules for support of input device events
496 endef
497
498 $(eval $(call KernelPackage,input-evdev))
499
500
501 define 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)
508 endef
509
510 define KernelPackage/hid/description
511 Kernel modules for HID devices
512 endef
513
514 $(eval $(call KernelPackage,hid))
515
516
517 define 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)
524 endef
525
526 define KernelPackage/input-polldev/description
527 Kernel module for support of polled input devices
528 endef
529
530 $(eval $(call KernelPackage,input-polldev))
531
532
533 define KernelPackage/input-gpio-buttons
534 SUBMENU:=$(OTHER_MENU)
535 TITLE:=Polled GPIO buttons input device
536 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
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)
542 endef
543
544 define KernelPackage/input-gpio-buttons/description
545 Kernel module for support polled GPIO buttons input device
546 endef
547
548 $(eval $(call KernelPackage,input-gpio-buttons))
549
550
551 define 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)
558 endef
559
560 define KernelPackage/mmc-spi/description
561 Kernel support for MMC/SD over SPI
562 endef
563
564 $(eval $(call KernelPackage,mmc-spi))
565
566 define 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)
573 endef
574
575 define KernelPackage/mmc-atmelmci/description
576 Kernel support for Atmel Multimedia Card Interface.
577 endef
578
579 $(eval $(call KernelPackage,mmc-atmelmci))
580
581 define 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
588 endef
589
590 define KernelPackage/spi/description
591 This package contains the Serial Peripheral Interface Master driver
592 endef
593
594 $(eval $(call KernelPackage,spi))
595
596 define 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)
603 endef
604
605 define KernelPackage/spi-bitbang/description
606 This package contains the SPI bitbanging library
607 endef
608
609 $(eval $(call KernelPackage,spi-bitbang))
610
611 define KernelPackage/spi-gpio
612 SUBMENU:=$(OTHER_MENU)
613 TITLE:=GPIO based bitbanging SPI controller
614 DEPENDS:=@GPIO_SUPPORT +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)
618 endef
619
620 define KernelPackage/spi-gpio/description
621 This package contains the GPIO based bitbanging SPI controller driver
622 endef
623
624 $(eval $(call KernelPackage,spi-gpio))
625
626 define 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)
633 endef
634
635 define KernelPackage/spi-dev/description
636 This package contains the user mode SPI device driver
637 endef
638
639 $(eval $(call KernelPackage,spi-dev))
640
This page took 0.06524 seconds and 5 git commands to generate.