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