fb0eb9c6743b93b0c74f8adb37fa4ce710f5ca2d
[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/crc16
56 SUBMENU:=$(OTHER_MENU)
57 TITLE:=CRC16 support
58 KCONFIG:=CONFIG_CRC16
59 FILES:=$(LINUX_DIR)/lib/crc16.$(LINUX_KMOD_SUFFIX)
60 AUTOLOAD:=$(call AutoLoad,20,crc16)
61 endef
62
63 define KernelPackage/crc16/description
64 Kernel module for CRC16 support
65 endef
66
67 $(eval $(call KernelPackage,crc16))
68
69
70 define KernelPackage/eeprom-93cx6
71 SUBMENU:=$(OTHER_MENU)
72 TITLE:=EEPROM 93CX6 support
73 DEPENDS:=@LINUX_2_6
74 KCONFIG:=CONFIG_EEPROM_93CX6
75 FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
76 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
77 endef
78
79 define KernelPackage/eeprom-93cx6/description
80 Kernel module for EEPROM 93CX6 support
81 endef
82
83 $(eval $(call KernelPackage,eeprom-93cx6))
84
85
86 define KernelPackage/lp
87 SUBMENU:=$(OTHER_MENU)
88 TITLE:=Parallel port and line printer support
89 DEPENDS:=@LINUX_2_4
90 KCONFIG:= \
91 CONFIG_PARPORT \
92 CONFIG_PRINTER \
93 CONFIG_PPDEV
94 FILES:= \
95 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
96 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
97 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
98 AUTOLOAD:=$(call AutoLoad,50,parport lp)
99 endef
100
101 $(eval $(call KernelPackage,lp))
102
103
104 define KernelPackage/pcmcia-core
105 SUBMENU:=$(OTHER_MENU)
106 TITLE:=PCMCIA/CardBus support
107 DEPENDS:=@PCMCIA_SUPPORT
108 KCONFIG:= \
109 CONFIG_PCMCIA \
110 CONFIG_CARDBUS \
111 CONFIG_PCCARD \
112 CONFIG_YENTA \
113 CONFIG_PCCARD_NONSTATIC \
114 PCMCIA_DEBUG=n
115 endef
116
117 define KernelPackage/pcmcia-core/2.4
118 # KCONFIG:= \
119 # CONFIG_PCMCIA \
120 # CONFIG_CARDBUS
121 FILES:= \
122 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
123 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX)
124 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core ds)
125 endef
126
127 define KernelPackage/pcmcia-core/2.6
128 # KCONFIG:= \
129 # CONFIG_PCCARD \
130 # CONFIG_PCMCIA \
131 # CONFIG_YENTA \
132 # CONFIG_PCCARD_NONSTATIC \
133 # PCMCIA_DEBUG=n
134 FILES:= \
135 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
136 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
137 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX)
138 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic)
139 endef
140
141 define KernelPackage/pcmcia-core/description
142 Kernel support for PCMCIA/CardBus controllers
143 endef
144
145 $(eval $(call KernelPackage,pcmcia-core))
146
147
148 define KernelPackage/pcmcia-yenta
149 SUBMENU:=$(OTHER_MENU)
150 TITLE:=yenta socket driver
151 DEPENDS:=kmod-pcmcia-core
152 KCONFIG:=CONFIG_YENTA
153 FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
154 AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
155 endef
156
157 $(eval $(call KernelPackage,pcmcia-yenta))
158
159 define KernelPackage/pcmcia-au1000
160 SUBMENU:=$(OTHER_MENU)
161 TITLE:=RMI/AMD Au1000 PCMCIA support
162 DEPENDS:=kmod-pcmcia-core @TARGET_au1000
163 FILES:=$(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
164 AUTOLOAD:=$(call AutoLoad,41,au1x00_ss)
165 endef
166
167 $(eval $(call KernelPackage,pcmcia-au1000))
168
169 define KernelPackage/pcmcia-bcm63xx
170 SUBMENU:=$(OTHER_MENU)
171 TITLE:=Broadcom BCM63xx PCMCIA support
172 DEPENDS:=kmod-pcmcia-core @TARGET_brcm63xx
173 KCONFIG:=CONFIG_PCMCIA_BCM63XX
174 FILES:=$(LINUX_DIR)/drivers/pcmcia/bcm63xx_pcmcia.$(LINUX_KMOD_SUFFIX)
175 AUTOLOAD:=$(call AutoLoad,41,bcm63xx_pcmcia)
176 endef
177
178 define KernelPackage/pcmcia-bcm63xx/description
179 Kernel support for PCMCIA/CardBus controller on the BCM63xx SoC
180 endef
181
182 $(eval $(call KernelPackage,pcmcia-bcm63xx))
183
184 define KernelPackage/pcmcia-serial
185 SUBMENU:=$(OTHER_MENU)
186 TITLE:=Serial devices support
187 DEPENDS:=kmod-pcmcia-core
188 KCONFIG:= \
189 CONFIG_PCMCIA_SERIAL_CS \
190 CONFIG_SERIAL_8250_CS
191 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
192 endef
193
194 define KernelPackage/pcmcia-serial/2.4
195 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
196 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
197 endef
198
199 define KernelPackage/pcmcia-serial/2.6
200 # KCONFIG:=CONFIG_SERIAL_8250_CS
201 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
202 endef
203
204 define KernelPackage/pcmcia-serial/description
205 Kernel support for PCMCIA/CardBus serial devices
206 endef
207
208 $(eval $(call KernelPackage,pcmcia-serial))
209
210 define KernelPackage/ssb
211 SUBMENU:=$(OTHER_MENU)
212 TITLE:=Silicon Sonics Backplane glue code
213 DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx
214 KCONFIG:=\
215 CONFIG_SSB \
216 CONFIG_SSB_B43_PCI_BRIDGE=y \
217 CONFIG_SSB_DRIVER_PCICORE=y \
218 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
219 CONFIG_SSB_PCIHOST=y \
220 CONFIG_SSB_PCIHOST_POSSIBLE=y \
221 CONFIG_SSB_POSSIBLE=y \
222 CONFIG_SSB_SPROM=y \
223 CONFIG_SSB_SILENT=y
224 FILES:=$(LINUX_DIR)/drivers/ssb/ssb.$(LINUX_KMOD_SUFFIX)
225 AUTOLOAD:=$(call AutoLoad,29,ssb)
226 endef
227
228 define KernelPackage/ssb/description
229 Silicon Sonics Backplane glue code.
230 endef
231
232 $(eval $(call KernelPackage,ssb))
233
234
235 define KernelPackage/bluetooth
236 SUBMENU:=$(OTHER_MENU)
237 TITLE:=Bluetooth support
238 DEPENDS:=@USB_SUPPORT +kmod-usb-core
239 KCONFIG:= \
240 CONFIG_BLUEZ \
241 CONFIG_BLUEZ_L2CAP \
242 CONFIG_BLUEZ_SCO \
243 CONFIG_BLUEZ_RFCOMM \
244 CONFIG_BLUEZ_BNEP \
245 CONFIG_BLUEZ_HCIUART \
246 CONFIG_BLUEZ_HCIUSB \
247 CONFIG_BT \
248 CONFIG_BT_L2CAP \
249 CONFIG_BT_SCO \
250 CONFIG_BT_RFCOMM \
251 CONFIG_BT_BNEP \
252 CONFIG_BT_HCIUSB \
253 CONFIG_BT_HCIUART
254 endef
255
256 define KernelPackage/bluetooth/2.4
257 # KCONFIG:= \
258 # CONFIG_BLUEZ \
259 # CONFIG_BLUEZ_L2CAP \
260 # CONFIG_BLUEZ_SCO \
261 # CONFIG_BLUEZ_RFCOMM \
262 # CONFIG_BLUEZ_BNEP \
263 # CONFIG_BLUEZ_HCIUART \
264 # CONFIG_BLUEZ_HCIUSB
265 FILES:= \
266 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
267 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
268 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
269 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
270 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
271 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
272 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
273 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
274 endef
275
276 define KernelPackage/bluetooth/2.6
277 # KCONFIG:= \
278 # CONFIG_BT \
279 # CONFIG_BT_L2CAP \
280 # CONFIG_BT_SCO \
281 # CONFIG_BT_RFCOMM \
282 # CONFIG_BT_BNEP \
283 # CONFIG_BT_HCIUSB \
284 # CONFIG_BT_HCIUART
285 FILES:= \
286 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
287 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
288 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
289 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
290 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
291 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
292 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
293 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
294 endef
295
296 define KernelPackage/bluetooth/description
297 Kernel support for Bluetooth devices
298 endef
299
300 $(eval $(call KernelPackage,bluetooth))
301
302
303 define KernelPackage/mmc
304 SUBMENU:=$(OTHER_MENU)
305 TITLE:=MMC/SD Card Support
306 DEPENDS:=@LINUX_2_6
307 KCONFIG:= \
308 CONFIG_MMC \
309 CONFIG_MMC_BLOCK \
310 CONFIG_MMC_DEBUG=n \
311 CONFIG_MMC_UNSAFE_RESUME=n \
312 CONFIG_MMC_BLOCK_BOUNCE=y \
313 CONFIG_MMC_SDHCI=n \
314 CONFIG_MMC_TIFM_SD=n \
315 CONFIG_MMC_WBSD=n \
316 CONFIG_SDIO_UART=n
317 FILES:= \
318 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
319 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
320 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block)
321 endef
322
323 define KernelPackage/mmc/description
324 Kernel support for MMC/SD cards
325 endef
326
327 $(eval $(call KernelPackage,mmc))
328
329
330 define KernelPackage/mmc-at91
331 SUBMENU:=$(OTHER_MENU)
332 TITLE:=MMC/SD Card Support on AT91
333 DEPENDS:=@TARGET_at91 +kmod-mmc
334 KCONFIG:=CONFIG_MMC_AT91
335 FILES:=$(LINUX_DIR)/drivers/mmc/host/at91_mci.$(LINUX_KMOD_SUFFIX)
336 AUTOLOAD:=$(call AutoLoad,90,at91_mci)
337 endef
338
339 define KernelPackage/mmc-at91/description
340 Kernel support for MMC/SD cards on the AT91 target
341 endef
342
343 $(eval $(call KernelPackage,mmc-at91))
344
345
346 # XXX: added a workaround for watchdog path changes
347 ifeq ($(KERNEL),2.4)
348 WATCHDOG_DIR=char
349 endif
350 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.24)),1)
351 WATCHDOG_DIR=watchdog
352 endif
353 WATCHDOG_DIR?=char/watchdog
354
355 define KernelPackage/atmel-wdt
356 SUBMENU:=$(OTHER_MENU)
357 TITLE:=AT32AP700x watchdog
358 DEPENDS:=@TARGET_avr32
359 KCONFIG:=CONFIG_AT32AP700X_WDT
360 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/at32ap700x_wdt.$(LINUX_KMOD_SUFFIX)
361 AUTOLOAD:=$(call AutoLoad,50,at32ap700x_wdt)
362 endef
363
364 define KernelPackage/atmel-wdt/description
365 AT32AP700x watchdog
366 endef
367
368 $(eval $(call KernelPackage,atmel-wdt))
369
370
371 define KernelPackage/softdog
372 SUBMENU:=$(OTHER_MENU)
373 TITLE:=Software watchdog driver
374 KCONFIG:=CONFIG_SOFT_WATCHDOG
375 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
376 AUTOLOAD:=$(call AutoLoad,50,softdog)
377 endef
378
379 define KernelPackage/softdog/description
380 Software watchdog driver
381 endef
382
383 $(eval $(call KernelPackage,softdog))
384
385
386 define KernelPackage/leds-gpio
387 SUBMENU:=$(OTHER_MENU)
388 TITLE:=GPIO LED support
389 DEPENDS:= @GPIO_SUPPORT
390 KCONFIG:=CONFIG_LEDS_GPIO
391 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
392 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
393 endef
394
395 define KernelPackage/leds-gpio/description
396 Kernel module for LEDs on GPIO lines
397 endef
398
399 $(eval $(call KernelPackage,leds-gpio))
400
401
402 define KernelPackage/ledtrig-adm5120-switch
403 SUBMENU:=$(OTHER_MENU)
404 TITLE:=LED ADM5120 Switch Port Status Trigger
405 DEPENDS:=@TARGET_adm5120
406 KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
407 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
408 AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
409 endef
410
411 define KernelPackage/ledtrig-adm5120-switch/description
412 Kernel module to allow LEDs to be controlled by the port states
413 of the ADM5120 built-in ethernet switch.
414 endef
415
416 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
417
418
419 define KernelPackage/leds-net48xx
420 SUBMENU:=$(OTHER_MENU)
421 TITLE:=Soekris Net48xx LED support
422 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
423 KCONFIG:=CONFIG_LEDS_NET48XX
424 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
425 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
426 endef
427
428 define KernelPackage/leds-net48xx/description
429 Kernel module for Soekris Net48xx LEDs
430 endef
431
432 $(eval $(call KernelPackage,leds-net48xx))
433
434
435 define KernelPackage/leds-wrap
436 SUBMENU:=$(OTHER_MENU)
437 TITLE:=PCengines WRAP LED support
438 DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
439 KCONFIG:=CONFIG_LEDS_WRAP
440 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
441 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
442 endef
443
444 define KernelPackage/leds-wrap/description
445 Kernel module for PCengines WRAP LEDs
446 endef
447
448 $(eval $(call KernelPackage,leds-wrap))
449
450
451 define KernelPackage/leds-alix
452 SUBMENU:=$(OTHER_MENU)
453 TITLE:=PCengines ALIX LED support
454 DEPENDS:=@TARGET_x86
455 KCONFIG:=CONFIG_LEDS_ALIX
456 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
457 AUTOLOAD:=$(call AutoLoad,50,leds-alix)
458 endef
459
460 define KernelPackage/leds-alix/description
461 Kernel module for PCengines ALIX LEDs
462 endef
463
464 $(eval $(call KernelPackage,leds-alix))
465
466
467 define KernelPackage/ledtrig-netdev
468 SUBMENU:=$(OTHER_MENU)
469 TITLE:=LED NETDEV Trigger
470 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
471 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
472 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
473 endef
474
475 define KernelPackage/ledtrig-netdev/description
476 Kernel module to drive LEDs based on network activity.
477 endef
478
479 $(eval $(call KernelPackage,ledtrig-netdev))
480
481
482 define KernelPackage/ledtrig-morse
483 SUBMENU:=$(OTHER_MENU)
484 TITLE:=LED Morse Trigger
485 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
486 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
487 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
488 endef
489
490 define KernelPackage/ledtrig-morse/description
491 Kernel module to show morse coded messages on LEDs.
492 endef
493
494 $(eval $(call KernelPackage,ledtrig-morse))
495
496
497 define KernelPackage/gpio-dev
498 SUBMENU:=$(OTHER_MENU)
499 TITLE:=Generic GPIO char device support
500 DEPENDS:=@GPIO_SUPPORT
501 KCONFIG:=CONFIG_GPIO_DEVICE
502 FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.$(LINUX_KMOD_SUFFIX)
503 AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
504 endef
505
506 define KernelPackage/gpio-dev/description
507 Kernel module to allows control of GPIO pins using a character device.
508 endef
509
510 $(eval $(call KernelPackage,gpio-dev))
511
512
513 define KernelPackage/nsc-gpio
514 SUBMENU:=$(OTHER_MENU)
515 TITLE:=Natsemi GPIO support
516 DEPENDS:=@TARGET_x86
517 KCONFIG:=CONFIG_NSC_GPIO
518 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
519 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
520 endef
521
522 define KernelPackage/nsc-gpio/description
523 Kernel module for Natsemi GPIO
524 endef
525
526 $(eval $(call KernelPackage,nsc-gpio))
527
528
529 define KernelPackage/scx200-gpio
530 SUBMENU:=$(OTHER_MENU)
531 TITLE:=Natsemi SCX200 GPIO support
532 DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
533 KCONFIG:=CONFIG_SCx200_GPIO
534 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
535 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
536 endef
537
538 define KernelPackage/scx200-gpio/description
539 Kernel module for SCX200 GPIO
540 endef
541
542 $(eval $(call KernelPackage,scx200-gpio))
543
544
545 define KernelPackage/scx200-wdt
546 SUBMENU:=$(OTHER_MENU)
547 TITLE:=Natsemi SCX200 Watchdog support
548 DEPENDS:=@TARGET_x86
549 KCONFIG:=CONFIG_SC1200_WDT
550 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.$(LINUX_KMOD_SUFFIX)
551 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
552 endef
553
554 define KernelPackage/scx200-wdt/description
555 Kernel module for SCX200 Watchdog
556 endef
557
558 $(eval $(call KernelPackage,scx200-wdt))
559
560
561 define KernelPackage/sc520-wdt
562 SUBMENU:=$(OTHER_MENU)
563 TITLE:=Natsemi SC520 Watchdog support
564 DEPENDS:=@TARGET_x86
565 KCONFIG:=CONFIG_SC520_WDT
566 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.$(LINUX_KMOD_SUFFIX)
567 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
568 endef
569
570 define KernelPackage/sc520-wdt/description
571 Kernel module for SC520 Watchdog
572 endef
573
574 $(eval $(call KernelPackage,sc520-wdt))
575
576
577 define KernelPackage/input-core
578 SUBMENU:=$(OTHER_MENU)
579 TITLE:=Input device core
580 DEPENDS:=@LINUX_2_6
581 KCONFIG:=CONFIG_INPUT
582 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
583 AUTOLOAD:=$(call AutoLoad,50,input-core)
584 endef
585
586 define KernelPackage/input-core/description
587 Kernel modules for support of input device
588 endef
589
590 $(eval $(call KernelPackage,input-core))
591
592
593 define KernelPackage/input-evdev
594 SUBMENU:=$(OTHER_MENU)
595 TITLE:=Input even device
596 DEPENDS:=+kmod-input-core
597 KCONFIG:=CONFIG_INPUT_EVDEV
598 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
599 AUTOLOAD:=$(call AutoLoad,60,evdev)
600 endef
601
602 define KernelPackage/input-evdev/description
603 Kernel modules for support of input device events
604 endef
605
606 $(eval $(call KernelPackage,input-evdev))
607
608
609 define KernelPackage/hid
610 SUBMENU:=$(OTHER_MENU)
611 TITLE:=Input even device
612 DEPENDS:=+kmod-input-core +kmod-input-evdev
613 KCONFIG:=CONFIG_HID
614 FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
615 AUTOLOAD:=$(call AutoLoad,61,hid)
616 endef
617
618 define KernelPackage/hid/description
619 Kernel modules for HID devices
620 endef
621
622 $(eval $(call KernelPackage,hid))
623
624
625 define KernelPackage/input-polldev
626 SUBMENU:=$(OTHER_MENU)
627 TITLE:=Polled Input device support
628 DEPENDS:=+kmod-input-core @LINUX_2_6
629 KCONFIG:=CONFIG_INPUT_POLLDEV
630 FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX)
631 AUTOLOAD:=$(call AutoLoad,61,input-polldev)
632 endef
633
634 define KernelPackage/input-polldev/description
635 Kernel module for support of polled input devices
636 endef
637
638 $(eval $(call KernelPackage,input-polldev))
639
640
641 define KernelPackage/input-gpio-buttons
642 SUBMENU:=$(OTHER_MENU)
643 TITLE:=Polled GPIO buttons input device
644 DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
645 KCONFIG:= \
646 CONFIG_INPUT_GPIO_BUTTONS \
647 CONFIG_INPUT_MISC=y
648 FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.$(LINUX_KMOD_SUFFIX)
649 AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
650 endef
651
652 define KernelPackage/input-gpio-buttons/description
653 Kernel module for support polled GPIO buttons input device
654 endef
655
656 $(eval $(call KernelPackage,input-gpio-buttons))
657
658
659 define KernelPackage/mmc-spi
660 SUBMENU:=$(OTHER_MENU)
661 TITLE:=MMC/SD over SPI Support
662 DEPENDS:=@LINUX_2_6 +kmod-mmc +kmod-crc-itu-t +kmod-crc7
663 KCONFIG:=CONFIG_MMC_SPI \
664 CONFIG_SPI=y \
665 CONFIG_SPI_MASTER=y
666 FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.$(LINUX_KMOD_SUFFIX)
667 AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
668 endef
669
670 define KernelPackage/mmc-spi/description
671 Kernel support for MMC/SD over SPI
672 endef
673
674 $(eval $(call KernelPackage,mmc-spi))
675
676 define KernelPackage/mmc-atmelmci
677 SUBMENU:=$(OTHER_MENU)
678 TITLE:=Amtel MMC Support
679 DEPENDS:=@TARGET_avr32 +kmod-mmc
680 KCONFIG:=CONFIG_MMC_ATMELMCI
681 FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.$(LINUX_KMOD_SUFFIX)
682 AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
683 endef
684
685 define KernelPackage/mmc-atmelmci/description
686 Kernel support for Atmel Multimedia Card Interface.
687 endef
688
689 $(eval $(call KernelPackage,mmc-atmelmci))
690
691 define KernelPackage/spi-bitbang
692 SUBMENU:=$(OTHER_MENU)
693 TITLE:=Serial Peripheral Interface bitbanging library
694 DEPENDS:=@LINUX_2_6
695 KCONFIG:=CONFIG_SPI_BITBANG \
696 CONFIG_SPI=y \
697 CONFIG_SPI_MASTER=y
698 FILES:=$(LINUX_DIR)/drivers/spi/spi_bitbang.$(LINUX_KMOD_SUFFIX)
699 AUTOLOAD:=$(call AutoLoad,91,spi_bitbang)
700 endef
701
702 define KernelPackage/spi-bitbang/description
703 This package contains the SPI bitbanging library
704 endef
705
706 $(eval $(call KernelPackage,spi-bitbang))
707
708 define KernelPackage/spi-gpio-old
709 SUBMENU:=$(OTHER_MENU)
710 TITLE:=Old GPIO based bitbanging SPI controller (DEPRECATED)
711 DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
712 KCONFIG:=CONFIG_SPI_GPIO_OLD
713 FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio_old.$(LINUX_KMOD_SUFFIX)
714 AUTOLOAD:=$(call AutoLoad,92,spi_gpio_old)
715 endef
716
717 define KernelPackage/spi-gpio-old/description
718 This package contains the GPIO based bitbanging SPI controller driver
719 endef
720
721 $(eval $(call KernelPackage,spi-gpio-old))
722
723 define KernelPackage/spi-gpio
724 SUBMENU:=$(OTHER_MENU)
725 TITLE:=GPIO-based bitbanging SPI Master
726 DEPENDS:=@GPIO_SUPPORT +kmod-spi-bitbang
727 KCONFIG:=CONFIG_SPI_GPIO
728 FILES:=$(LINUX_DIR)/drivers/spi/spi_gpio.$(LINUX_KMOD_SUFFIX)
729 AUTOLOAD:=$(call AutoLoad,92,spi_gpio)
730 endef
731
732 define KernelPackage/spi-gpio/description
733 This package contains the GPIO-based bitbanging SPI Master
734 endef
735
736 $(eval $(call KernelPackage,spi-gpio))
737
738 define KernelPackage/spi-dev
739 SUBMENU:=$(OTHER_MENU)
740 TITLE:=User mode SPI device driver
741 DEPENDS:=@LINUX_2_6
742 KCONFIG:=CONFIG_SPI_SPIDEV \
743 CONFIG_SPI=y \
744 CONFIG_SPI_MASTER=y
745 FILES:=$(LINUX_DIR)/drivers/spi/spidev.$(LINUX_KMOD_SUFFIX)
746 AUTOLOAD:=$(call AutoLoad,91,spidev)
747 endef
748
749 define KernelPackage/spi-dev/description
750 This package contains the user mode SPI device driver
751 endef
752
753 $(eval $(call KernelPackage,spi-dev))
754
755 define KernelPackage/cs5535-gpio
756 SUBMENU:=$(OTHER_MENU)
757 TITLE:=AMD CS5535/CS5536 GPIO driver
758 DEPENDS:=@TARGET_x86||@TARGET_olpc
759 KCONFIG:=CONFIG_CS5535_GPIO
760 FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.$(LINUX_KMOD_SUFFIX)
761 AUTOLOAD:=$(call AutoLoad,90,cs5535_gpio)
762 endef
763
764 define KernelPackage/cs5535-gpio/description
765 This package contains the AMD CS5535/CS5536 GPIO driver
766 endef
767
768 $(eval $(call KernelPackage,cs5535-gpio))
This page took 0.071014 seconds and 3 git commands to generate.