Port SPI-GPIO driver from 2.6.29-rc4
[openwrt/svn-archive/archive.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:=@LINUX_2_6 @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)
211 endef
212
213 define KernelPackage/ssb/description
214 Silicon Sonics Backplane glue code.
215 endef
216
217 $(eval $(call KernelPackage,ssb))
218
219
220 define KernelPackage/bluetooth
221 SUBMENU:=$(OTHER_MENU)
222 TITLE:=Bluetooth support
223 DEPENDS:=@USB_SUPPORT +kmod-usb-core
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
239 endef
240
241 define 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)
259 endef
260
261 define 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)
279 endef
280
281 define KernelPackage/bluetooth/description
282 Kernel support for Bluetooth devices
283 endef
284
285 $(eval $(call KernelPackage,bluetooth))
286
287
288 define 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)
306 endef
307
308 define KernelPackage/mmc/description
309 Kernel support for MMC/SD cards
310 endef
311
312 $(eval $(call KernelPackage,mmc))
313
314
315 define 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)
322 endef
323
324 define KernelPackage/mmc-at91/description
325 Kernel support for MMC/SD cards on the AT91 target
326 endef
327
328 $(eval $(call KernelPackage,mmc-at91))
329
330
331 # XXX: added a workaround for watchdog path changes
332 ifeq ($(KERNEL),2.4)
333 WATCHDOG_DIR=char
334 endif
335 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
336 WATCHDOG_DIR=watchdog
337 endif
338 WATCHDOG_DIR?=char/watchdog
339
340 define 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)
347 endef
348
349 define KernelPackage/atmel-wdt/description
350 AT32AP700x watchdog
351 endef
352
353 $(eval $(call KernelPackage,atmel-wdt))
354
355
356 define 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)
362 endef
363
364 define KernelPackage/softdog/description
365 Software watchdog driver
366 endef
367
368 $(eval $(call KernelPackage,softdog))
369
370
371 define 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)
378 endef
379
380 define KernelPackage/leds-gpio/description
381 Kernel module for LEDs on GPIO lines
382 endef
383
384 $(eval $(call KernelPackage,leds-gpio))
385
386
387 define 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)
394 endef
395
396 define 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.
399 endef
400
401 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
402
403
404 define KernelPackage/leds-net48xx
405 SUBMENU:=$(OTHER_MENU)
406 TITLE:=Soekris Net48xx LED support
407 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
408 KCONFIG:=CONFIG_LEDS_NET48XX
409 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
410 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
411 endef
412
413 define KernelPackage/leds-net48xx/description
414 Kernel module for Soekris Net48xx LEDs
415 endef
416
417 $(eval $(call KernelPackage,leds-net48xx))
418
419
420 define KernelPackage/leds-wrap
421 SUBMENU:=$(OTHER_MENU)
422 TITLE:=PCengines WRAP LED support
423 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
424 KCONFIG:=CONFIG_LEDS_WRAP
425 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
426 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
427 endef
428
429 define KernelPackage/leds-wrap/description
430 Kernel module for PCengines WRAP LEDs
431 endef
432
433 $(eval $(call KernelPackage,leds-wrap))
434
435
436 define 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)
443 endef
444
445 define KernelPackage/leds-alix/description
446 Kernel module for PCengines ALIX LEDs
447 endef
448
449 $(eval $(call KernelPackage,leds-alix))
450
451
452 define 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)
458 endef
459
460 define KernelPackage/ledtrig-netdev/description
461 Kernel module to drive LEDs based on network activity.
462 endef
463
464 $(eval $(call KernelPackage,ledtrig-netdev))
465
466
467 define 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)
473 endef
474
475 define KernelPackage/ledtrig-morse/description
476 Kernel module to show morse coded messages on LEDs.
477 endef
478
479 $(eval $(call KernelPackage,ledtrig-morse))
480
481
482 define 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)
489 endef
490
491 define KernelPackage/gpio-dev/description
492 Kernel module to allows control of GPIO pins using a character device.
493 endef
494
495 $(eval $(call KernelPackage,gpio-dev))
496
497
498 define 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)
505 endef
506
507 define KernelPackage/nsc-gpio/description
508 Kernel module for Natsemi GPIO
509 endef
510
511 $(eval $(call KernelPackage,nsc-gpio))
512
513
514 define 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)
521 endef
522
523 define KernelPackage/scx200-gpio/description
524 Kernel module for SCX200 GPIO
525 endef
526
527 $(eval $(call KernelPackage,scx200-gpio))
528
529
530 define 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)
537 endef
538
539 define KernelPackage/scx200-wdt/description
540 Kernel module for SCX200 Watchdog
541 endef
542
543 $(eval $(call KernelPackage,scx200-wdt))
544
545
546 define 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)
553 endef
554
555 define KernelPackage/sc520-wdt/description
556 Kernel module for SC520 Watchdog
557 endef
558
559 $(eval $(call KernelPackage,sc520-wdt))
560
561
562 define 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)
569 endef
570
571 define KernelPackage/input-core/description
572 Kernel modules for support of input device
573 endef
574
575 $(eval $(call KernelPackage,input-core))
576
577
578 define 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)
585 endef
586
587 define KernelPackage/input-evdev/description
588 Kernel modules for support of input device events
589 endef
590
591 $(eval $(call KernelPackage,input-evdev))
592
593
594 define 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)
601 endef
602
603 define KernelPackage/hid/description
604 Kernel modules for HID devices
605 endef
606
607 $(eval $(call KernelPackage,hid))
608
609
610 define 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)
617 endef
618
619 define KernelPackage/input-polldev/description
620 Kernel module for support of polled input devices
621 endef
622
623 $(eval $(call KernelPackage,input-polldev))
624
625
626 define 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)
635 endef
636
637 define KernelPackage/input-gpio-buttons/description
638 Kernel module for support polled GPIO buttons input device
639 endef
640
641 $(eval $(call KernelPackage,input-gpio-buttons))
642
643
644 define 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)
653 endef
654
655 define KernelPackage/mmc-spi/description
656 Kernel support for MMC/SD over SPI
657 endef
658
659 $(eval $(call KernelPackage,mmc-spi))
660
661 define 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)
668 endef
669
670 define KernelPackage/mmc-atmelmci/description
671 Kernel support for Atmel Multimedia Card Interface.
672 endef
673
674 $(eval $(call KernelPackage,mmc-atmelmci))
675
676 define 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)
685 endef
686
687 define KernelPackage/spi-bitbang/description
688 This package contains the SPI bitbanging library
689 endef
690
691 $(eval $(call KernelPackage,spi-bitbang))
692
693 define KernelPackage/spi-gpio-old
694 SUBMENU:=$(OTHER_MENU)
695 TITLE:=Old GPIO based bitbanging SPI controller (DEPRECATED)
696 DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
697 KCONFIG:=CONFIG_SPI_GPIO_OLD
698 FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio_old.$(LINUX_KMOD_SUFFIX)
699 AUTOLOAD:=$(call AutoLoad,92,spi_gpio_old)
700 endef
701
702 define KernelPackage/spi-gpio-old/description
703 This package contains the GPIO based bitbanging SPI controller driver
704 endef
705
706 $(eval $(call KernelPackage,spi-gpio-old))
707
708 define KernelPackage/spi-gpio
709 SUBMENU:=$(OTHER_MENU)
710 TITLE:=GPIO-based bitbanging SPI Master
711 DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
712 KCONFIG:=CONFIG_SPI_GPIO
713 FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.$(LINUX_KMOD_SUFFIX)
714 AUTOLOAD:=$(call AutoLoad,92,spi_gpio)
715 endef
716
717 define KernelPackage/spi-gpio/description
718 This package contains the GPIO-based bitbanging SPI Master
719 endef
720
721 $(eval $(call KernelPackage,spi-gpio))
722
723 define KernelPackage/spi-dev
724 SUBMENU:=$(OTHER_MENU)
725 TITLE:=User mode SPI device driver
726 DEPENDS:=@LINUX_2_6
727 KCONFIG:=CONFIG_SPI_SPIDEV \
728 CONFIG_SPI=y \
729 CONFIG_SPI_MASTER=y
730 FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
731 AUTOLOAD:=$(call AutoLoad,91,spidev)
732 endef
733
734 define KernelPackage/spi-dev/description
735 This package contains the user mode SPI device driver
736 endef
737
738 $(eval $(call KernelPackage,spi-dev))
739
740 define KernelPackage/cs5535-gpio
741 SUBMENU:=$(OTHER_MENU)
742 TITLE:=AMD CS5535/CS5536 GPIO driver
743 DEPENDS:=@TARGET_x86||@TARGET_olpc
744 KCONFIG:=CONFIG_CS5535_GPIO
745 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
746 AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
747 endef
748
749 define KernelPackage/cs5535-gpio/description
750 This package contains the AMD CS5535/CS5536 GPIO driver
751 endef
752
753 $(eval $(call KernelPackage,cs5535-gpio))