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