source: trunk/package/kernel/modules/other.mk @ 30989

Last change on this file since 30989 was 30989, checked in by jow, 4 years ago

Add support for the 8250 UART module.

It has been added at the end of other.mk as i couldn't find a better place
for it.

Signed-off-by: Christian Gagneraud <chris@…>

  • Property svn:eol-style set to native
File size: 22.6 KB
Line 
1#
2# Copyright (C) 2006-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8OTHER_MENU:=Other modules
9
10WATCHDOG_DIR:=watchdog
11
12
13define KernelPackage/bluetooth
14  SUBMENU:=$(OTHER_MENU)
15  TITLE:=Bluetooth support
16  DEPENDS:=@USB_SUPPORT +kmod-usb-core
17  KCONFIG:= \
18        CONFIG_BLUEZ \
19        CONFIG_BLUEZ_L2CAP \
20        CONFIG_BLUEZ_SCO \
21        CONFIG_BLUEZ_RFCOMM \
22        CONFIG_BLUEZ_BNEP \
23        CONFIG_BLUEZ_HCIUART \
24        CONFIG_BLUEZ_HCIUSB \
25        CONFIG_BLUEZ_HIDP \
26        CONFIG_BT \
27        CONFIG_BT_L2CAP=y \
28        CONFIG_BT_SCO=y \
29        CONFIG_BT_RFCOMM \
30        CONFIG_BT_BNEP \
31        CONFIG_BT_HCIBTUSB \
32        CONFIG_BT_HCIUSB \
33        CONFIG_BT_HCIUART \
34        CONFIG_BT_HCIUART_H4 \
35        CONFIG_BT_HIDP \
36        CONFIG_HID_SUPPORT=y
37  $(call AddDepends/crc16)
38  $(call AddDepends/hid)
39  $(call AddDepends/rfkill)
40  FILES:= \
41        $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
42        $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
43        $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
44        $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
45        $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
46        $(LINUX_DIR)/drivers/bluetooth/btusb.ko
47  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.39)),1)
48    AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
49  else
50    FILES+= \
51        $(LINUX_DIR)/net/bluetooth/l2cap.ko \
52        $(LINUX_DIR)/net/bluetooth/sco.ko
53    AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
54  endif
55endef
56
57define KernelPackage/bluetooth/description
58 Kernel support for Bluetooth devices
59endef
60
61$(eval $(call KernelPackage,bluetooth))
62
63
64define KernelPackage/bluetooth-hci-h4p
65  SUBMENU:=$(OTHER_MENU)
66  TITLE:=HCI driver with H4 Nokia extensions
67  DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
68  KCONFIG:=CONFIG_BT_HCIH4P
69  FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
70  AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
71endef
72
73define KernelPackage/bluetooth-hci-h4p/description
74  HCI driver with H4 Nokia extensions
75endef
76
77$(eval $(call KernelPackage,bluetooth-hci-h4p))
78
79
80define KernelPackage/cpu-msr
81  SUBMENU:=$(OTHER_MENU)
82  TITLE:=x86 CPU MSR support
83  DEPENDS:=@TARGET_x86
84  KCONFIG:=CONFIG_X86_MSR
85  FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
86  AUTOLOAD:=$(call AutoLoad,20,msr)
87endef
88
89define KernelPackage/cpu-msr/description
90 Kernel module for Model Specific Registers support in x86 CPUs
91endef
92
93$(eval $(call KernelPackage,cpu-msr))
94
95
96define KernelPackage/eeprom-93cx6
97  SUBMENU:=$(OTHER_MENU)
98  TITLE:=EEPROM 93CX6 support
99  KCONFIG:=CONFIG_EEPROM_93CX6
100  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
101  AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
102endef
103
104define KernelPackage/eeprom-93cx6/description
105 Kernel module for EEPROM 93CX6 support
106endef
107
108$(eval $(call KernelPackage,eeprom-93cx6))
109
110
111define KernelPackage/eeprom-at24
112  SUBMENU:=$(OTHER_MENU)
113  TITLE:=EEPROM AT24 support
114  KCONFIG:=CONFIG_EEPROM_AT24
115  DEPENDS:=+kmod-i2c-core
116  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
117  AUTOLOAD:=$(call AutoLoad,60,at24)
118endef
119
120define KernelPackage/eeprom-at24/description
121 Kernel module for most I2C EEPROMs
122endef
123
124$(eval $(call KernelPackage,eeprom-at24))
125
126
127define KernelPackage/eeprom-at25
128  SUBMENU:=$(OTHER_MENU)
129  TITLE:=EEPROM AT25 support
130  KCONFIG:=CONFIG_EEPROM_AT25
131  FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
132  AUTOLOAD:=$(call AutoLoad,61,at25)
133endef
134
135define KernelPackage/eeprom-at25/description
136 Kernel module for most SPI EEPROMs
137endef
138
139$(eval $(call KernelPackage,eeprom-at25))
140
141
142define KernelPackage/gpio-cs5535
143  SUBMENU:=$(OTHER_MENU)
144  TITLE:=AMD CS5535/CS5536 GPIO driver
145  DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
146  KCONFIG:=CONFIG_CS5535_GPIO
147  FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
148  AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
149endef
150
151define KernelPackage/gpio-cs5535/description
152 This package contains the AMD CS5535/CS5536 GPIO driver
153endef
154
155$(eval $(call KernelPackage,gpio-cs5535))
156
157
158define KernelPackage/gpio-cs5535-new
159  SUBMENU:=$(OTHER_MENU)
160  TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
161  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
162  KCONFIG:=CONFIG_GPIO_CS5535
163ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.1.0)),1)
164  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko
165  AUTOLOAD:=$(call AutoLoad,50,gpio-cs5535)
166else
167  FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
168  AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
169endif
170endef
171
172define KernelPackage/gpio-cs5535-new/description
173 This package contains the new AMD CS5535/CS5536 GPIO driver
174endef
175
176$(eval $(call KernelPackage,gpio-cs5535-new))
177
178
179define KernelPackage/gpio-dev
180  SUBMENU:=$(OTHER_MENU)
181  TITLE:=Generic GPIO char device support
182  DEPENDS:=@GPIO_SUPPORT
183  KCONFIG:=CONFIG_GPIO_DEVICE
184  FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
185  AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
186endef
187
188define KernelPackage/gpio-dev/description
189  Kernel module to allows control of GPIO pins using a character device.
190endef
191
192$(eval $(call KernelPackage,gpio-dev))
193
194
195define KernelPackage/gpio-nsc
196  SUBMENU:=$(OTHER_MENU)
197  TITLE:=Natsemi GPIO support
198  DEPENDS:=@TARGET_x86
199  KCONFIG:=CONFIG_NSC_GPIO
200  FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
201  AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
202endef
203
204define KernelPackage/gpio-nsc/description
205 Kernel module for Natsemi GPIO
206endef
207
208$(eval $(call KernelPackage,gpio-nsc))
209
210
211define KernelPackage/gpio-pc8736x
212  SUBMENU:=$(OTHER_MENU)
213  TITLE:=PC8736x GPIO support
214  DEPENDS:=@TARGET_x86
215  KCONFIG:=CONFIG_PC8736x_GPIO
216  FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
217  AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
218endef
219
220define KernelPackage/gpio-pc8736x/description
221 Kernel module for PC8736x GPIO
222endef
223
224$(eval $(call KernelPackage,gpio-pc8736x))
225
226
227define KernelPackage/gpio-scx200
228  SUBMENU:=$(OTHER_MENU)
229  TITLE:=Natsemi SCX200 GPIO support
230  DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
231  KCONFIG:=CONFIG_SCx200_GPIO
232  FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
233  AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
234endef
235
236define KernelPackage/gpio-scx200/description
237 Kernel module for SCX200 GPIO
238endef
239
240$(eval $(call KernelPackage,gpio-scx200))
241
242define KernelPackage/gpio-nxp-74hc164
243  SUBMENU:=$(OTHER_MENU)
244  TITLE:=NXP 74HC164 GPIO expander support
245  DEPENDS:=@TARGET_brcm63xx
246  KCONFIG:=CONFIG_GPIO_NXP_74HC164
247  FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
248  AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
249endef
250
251define KernelPackage/gpio-nxp-74hc164/description
252  Kernel module for NXP 74HC164 GPIO expander
253endef
254
255$(eval $(call KernelPackage,gpio-nxp-74hc164))
256
257define KernelPackage/hid
258  SUBMENU:=$(OTHER_MENU)
259  TITLE:=HID Devices
260  KCONFIG:=CONFIG_HID
261  FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
262  AUTOLOAD:=$(call AutoLoad,61,hid)
263  $(call AddDepends/input,+kmod-input-evdev)
264endef
265
266define KernelPackage/hid/description
267 Kernel modules for HID devices
268endef
269
270$(eval $(call KernelPackage,hid))
271
272
273define KernelPackage/input-core
274  SUBMENU:=$(OTHER_MENU)
275  TITLE:=Input device core
276  KCONFIG:=CONFIG_INPUT
277  FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
278  AUTOLOAD:=$(call AutoLoad,19,input-core)
279endef
280
281define KernelPackage/input-core/description
282 Kernel modules for support of input device
283endef
284
285$(eval $(call KernelPackage,input-core))
286
287
288define KernelPackage/input-evdev
289  SUBMENU:=$(OTHER_MENU)
290  TITLE:=Input event device
291  KCONFIG:=CONFIG_INPUT_EVDEV
292  FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
293  AUTOLOAD:=$(call AutoLoad,60,evdev)
294  $(call AddDepends/input)
295endef
296
297define KernelPackage/input-evdev/description
298 Kernel modules for support of input device events
299endef
300
301$(eval $(call KernelPackage,input-evdev))
302
303
304define KernelPackage/input-gpio-buttons
305  SUBMENU:=$(OTHER_MENU)
306  TITLE:=Polled GPIO buttons input device
307  DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
308  KCONFIG:= \
309        CONFIG_INPUT_GPIO_BUTTONS \
310        CONFIG_INPUT_MISC=y
311  FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
312  AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
313endef
314
315define KernelPackage/input-gpio-buttons/description
316 Kernel module for support polled GPIO buttons input device
317endef
318
319$(eval $(call KernelPackage,input-gpio-buttons))
320
321
322define KernelPackage/input-gpio-keys
323  SUBMENU:=$(OTHER_MENU)
324  TITLE:=GPIO key support
325  DEPENDS:= @GPIO_SUPPORT
326  KCONFIG:= \
327        CONFIG_KEYBOARD_GPIO \
328        CONFIG_INPUT_KEYBOARD=y
329  FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
330  AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
331  $(call AddDepends/input)
332endef
333
334define KernelPackage/input-gpio-keys/description
335 This driver implements support for buttons connected
336 to GPIO pins of various CPUs (and some other chips).
337endef
338
339$(eval $(call KernelPackage,input-gpio-keys))
340
341
342define KernelPackage/input-gpio-keys-polled
343  SUBMENU:=$(OTHER_MENU)
344  TITLE:=Polled GPIO key support
345  DEPENDS:=@GPIO_SUPPORT @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_34||LINUX_2_6_35||LINUX_2_6_36) +kmod-input-polldev
346  KCONFIG:= \
347        CONFIG_KEYBOARD_GPIO_POLLED \
348        CONFIG_INPUT_KEYBOARD=y
349  FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
350  AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
351  $(call AddDepends/input)
352endef
353
354define KernelPackage/input-gpio-keys-polled/description
355 Kernel module for support polled GPIO keys input device
356endef
357
358$(eval $(call KernelPackage,input-gpio-keys-polled))
359
360
361define KernelPackage/input-gpio-encoder
362  SUBMENU:=$(OTHER_MENU)
363  TITLE:=GPIO rotay encoder
364  KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
365  FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
366  AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
367  $(call AddDepends/input,@GPIO_SUPPORT)
368endef
369
370define KernelPackage/gpio-encoder/description
371 Kernel module to use rotary encoders connected to GPIO pins
372endef
373
374$(eval $(call KernelPackage,input-gpio-encoder))
375
376
377define KernelPackage/input-joydev
378  SUBMENU:=$(OTHER_MENU)
379  TITLE:=Joystick device support
380  KCONFIG:=CONFIG_INPUT_JOYDEV
381  FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
382  AUTOLOAD:=$(call AutoLoad,62,joydev)
383  $(call AddDepends/input)
384endef
385
386define KernelPackage/input-joydev/description
387  Kernel module for joystick support
388endef
389
390$(eval $(call KernelPackage,input-joydev))
391
392
393define KernelPackage/input-polldev
394  SUBMENU:=$(OTHER_MENU)
395  TITLE:=Polled Input device support
396  KCONFIG:=CONFIG_INPUT_POLLDEV
397  FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
398  AUTOLOAD:=$(call AutoLoad,20,input-polldev)
399  $(call AddDepends/input)
400endef
401
402define KernelPackage/input-polldev/description
403 Kernel module for support of polled input devices
404endef
405
406$(eval $(call KernelPackage,input-polldev))
407
408
409define KernelPackage/lp
410  SUBMENU:=$(OTHER_MENU)
411  TITLE:=Parallel port and line printer support
412  DEPENDS:=@BROKEN
413  KCONFIG:= \
414        CONFIG_PARPORT \
415        CONFIG_PRINTER \
416        CONFIG_PPDEV
417  FILES:= \
418        $(LINUX_DIR)/drivers/parport/parport.ko \
419        $(LINUX_DIR)/drivers/char/lp.ko \
420        $(LINUX_DIR)/drivers/char/ppdev.ko
421  AUTOLOAD:=$(call AutoLoad,50,parport lp)
422endef
423
424$(eval $(call KernelPackage,lp))
425
426
427define KernelPackage/mmc
428  SUBMENU:=$(OTHER_MENU)
429  TITLE:=MMC/SD Card Support
430  KCONFIG:= \
431        CONFIG_MMC \
432        CONFIG_MMC_BLOCK \
433        CONFIG_MMC_DEBUG=n \
434        CONFIG_MMC_UNSAFE_RESUME=n \
435        CONFIG_MMC_BLOCK_BOUNCE=y \
436        CONFIG_MMC_SDHCI=n \
437        CONFIG_MMC_TIFM_SD=n \
438        CONFIG_MMC_WBSD=n \
439        CONFIG_SDIO_UART=n
440  FILES:= \
441        $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
442        $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
443  AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
444endef
445
446define KernelPackage/mmc/description
447 Kernel support for MMC/SD cards
448endef
449
450$(eval $(call KernelPackage,mmc))
451
452
453define KernelPackage/mmc-atmelmci
454  SUBMENU:=$(OTHER_MENU)
455  TITLE:=Amtel MMC Support
456  DEPENDS:=@TARGET_avr32 +kmod-mmc
457  KCONFIG:=CONFIG_MMC_ATMELMCI
458  FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
459  AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
460endef
461
462define KernelPackage/mmc-atmelmci/description
463 Kernel support for  Atmel Multimedia Card Interface.
464endef
465
466$(eval $(call KernelPackage,mmc-atmelmci,1))
467
468
469define KernelPackage/oprofile
470  SUBMENU:=$(OTHER_MENU)
471  TITLE:=OProfile profiling support
472  KCONFIG:=CONFIG_OPROFILE
473  FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
474  DEPENDS:=@KERNEL_PROFILING
475endef
476
477define KernelPackage/oprofile/description
478  Kernel module for support for oprofile system profiling.
479endef
480
481$(eval $(call KernelPackage,oprofile))
482
483
484define KernelPackage/rfkill
485  SUBMENU:=$(OTHER_MENU)
486  TITLE:=RF switch subsystem support
487  KCONFIG:= \
488    CONFIG_RFKILL \
489    CONFIG_RFKILL_INPUT=y \
490    CONFIG_RFKILL_LEDS=y
491ifeq ($(CONFIG_LINUX_2_6_30),)
492  FILES:= \
493    $(LINUX_DIR)/net/rfkill/rfkill.ko
494  AUTOLOAD:=$(call AutoLoad,20,rfkill)
495else
496  FILES:= \
497    $(LINUX_DIR)/net/rfkill/rfkill.ko \
498    $(LINUX_DIR)/net/rfkill/rfkill-input.ko
499  AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
500endif
501  $(call SetDepends/rfkill)
502endef
503
504define KernelPackage/rfkill/description
505  Say Y here if you want to have control over RF switches
506  found on many WiFi and Bluetooth cards.
507endef
508
509$(eval $(call KernelPackage,rfkill))
510
511
512define KernelPackage/softdog
513  SUBMENU:=$(OTHER_MENU)
514  TITLE:=Software watchdog driver
515  KCONFIG:=CONFIG_SOFT_WATCHDOG
516  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
517  AUTOLOAD:=$(call AutoLoad,50,softdog)
518endef
519
520define KernelPackage/softdog/description
521 Software watchdog driver
522endef
523
524$(eval $(call KernelPackage,softdog))
525
526
527define KernelPackage/ssb
528  SUBMENU:=$(OTHER_MENU)
529  TITLE:=Silicon Sonics Backplane glue code
530  DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
531  KCONFIG:=\
532        CONFIG_SSB \
533        CONFIG_SSB_B43_PCI_BRIDGE=y \
534        CONFIG_SSB_DRIVER_MIPS=n \
535        CONFIG_SSB_DRIVER_PCICORE=y \
536        CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
537        CONFIG_SSB_PCIHOST=y \
538        CONFIG_SSB_PCIHOST_POSSIBLE=y \
539        CONFIG_SSB_POSSIBLE=y \
540        CONFIG_SSB_SPROM=y \
541        CONFIG_SSB_SILENT=y
542  FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
543  AUTOLOAD:=$(call AutoLoad,29,ssb)
544endef
545
546define KernelPackage/ssb/description
547  Silicon Sonics Backplane glue code.
548endef
549
550$(eval $(call KernelPackage,ssb))
551
552
553define KernelPackage/bcma
554  SUBMENU:=$(OTHER_MENU)
555  TITLE:=BCMA support
556  DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
557  KCONFIG:=\
558        CONFIG_BCMA \
559        CONFIG_BCMA_POSSIBLE=y \
560        CONFIG_BCMA_BLOCKIO=y \
561        CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
562        CONFIG_BCMA_HOST_PCI=y \
563        CONFIG_BCMA_DRIVER_MIPS=n \
564        CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
565        CONFIG_BCMA_DEBUG=n
566  FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
567  AUTOLOAD:=$(call AutoLoad,29,bcma)
568endef
569
570define KernelPackage/bcma/description
571   Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
572endef
573
574$(eval $(call KernelPackage,bcma))
575
576
577define KernelPackage/wdt-geode
578  SUBMENU:=$(OTHER_MENU)
579  TITLE:=Geode/LX Watchdog timer
580  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
581  KCONFIG:=CONFIG_GEODE_WDT
582  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
583  AUTOLOAD:=$(call AutoLoad,50,geodewdt)
584endef
585
586define KernelPackage/wdt-geode/description
587  Kernel module for Geode watchdog timer.
588endef
589
590$(eval $(call KernelPackage,wdt-geode))
591
592
593define KernelPackage/cs5535-clockevt
594  SUBMENU:=$(OTHER_MENU)
595  TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
596  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
597  KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
598  FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
599  AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
600endef
601
602define KernelPackage/cs5535-clockevt/description
603  Kernel module for CS5535/6 high-res clock event source
604endef
605
606$(eval $(call KernelPackage,cs5535-clockevt))
607
608
609define KernelPackage/cs5535-mfgpt
610  SUBMENU:=$(OTHER_MENU)
611  TITLE:=CS5535/6 Multifunction General Purpose Timer
612  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
613  KCONFIG:=CONFIG_CS5535_MFGPT
614  FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
615  AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
616endef
617
618define KernelPackage/cs5535-mfgpt/description
619  Kernel module for CS5535/6 multifunction general purpose timer.
620endef
621
622$(eval $(call KernelPackage,cs5535-mfgpt))
623
624
625define KernelPackage/cs5535-mfd
626  SUBMENU:=$(OTHER_MENU)
627  TITLE:=CS5535/6 Multifunction General Purpose Driver
628  DEPENDS:=@TARGET_x86
629  KCONFIG:=CONFIG_MFD_CS5535
630  FILES:= \
631        $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
632        $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
633  AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
634endef
635
636define KernelPackage/cs5535-mfd/description
637  Core driver for CS5535/CS5536 MFD functions.
638endef
639
640$(eval $(call KernelPackage,cs5535-mfd))
641
642
643define KernelPackage/wdt-omap
644  SUBMENU:=$(OTHER_MENU)
645  TITLE:=OMAP Watchdog timer
646  DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
647  KCONFIG:=CONFIG_OMAP_WATCHDOG
648  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
649  AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
650endef
651
652define KernelPackage/wdt-omap/description
653  Kernel module for TI omap watchdog timer.
654endef
655
656$(eval $(call KernelPackage,wdt-omap))
657
658
659define KernelPackage/wdt-orion
660  SUBMENU:=$(OTHER_MENU)
661  TITLE:=Marvell Orion Watchdog timer
662  DEPENDS:=@TARGET_orion
663  KCONFIG:=CONFIG_ORION_WATCHDOG
664  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
665  AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
666endef
667
668define KernelPackage/wdt-orion/description
669  Kernel module for Marvell orion watchdog timer.
670endef
671
672$(eval $(call KernelPackage,wdt-orion))
673
674
675define KernelPackage/wdt-sc520
676  SUBMENU:=$(OTHER_MENU)
677  TITLE:=Natsemi SC520 Watchdog support
678  DEPENDS:=@TARGET_x86
679  KCONFIG:=CONFIG_SC520_WDT
680  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
681  AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
682endef
683
684define KernelPackage/wdt-sc520/description
685  Kernel module for SC520 Watchdog
686endef
687
688$(eval $(call KernelPackage,wdt-sc520))
689
690
691define KernelPackage/wdt-scx200
692  SUBMENU:=$(OTHER_MENU)
693  TITLE:=Natsemi SCX200 Watchdog support
694  DEPENDS:=@TARGET_x86
695  KCONFIG:=CONFIG_SCx200_WDT
696  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
697  AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
698endef
699
700define KernelPackage/wdt-scx200/description
701 Kernel module for SCX200 Watchdog
702endef
703
704$(eval $(call KernelPackage,wdt-scx200))
705
706
707define KernelPackage/wdt-ath79
708  SUBMENU:=$(OTHER_MENU)
709  TITLE:=Atheros AR7XXX/AR9XXX watchdog timer
710  DEPENDS:=@TARGET_ar71xx
711  KCONFIG:=CONFIG_ATH79_WDT
712  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/ath79_wdt.ko
713  AUTOLOAD:=$(call AutoLoad,50,ath79_wdt)
714endef
715
716define KernelPackage/wdt-ath79/description
717  Kernel module for AR7XXX/AR9XXX watchdog timer.
718endef
719
720$(eval $(call KernelPackage,wdt-ath79))
721
722
723define KernelPackage/pwm
724  SUBMENU:=$(OTHER_MENU)
725  TITLE:=PWM generic API
726  KCONFIG:=CONFIG_GENERIC_PWM
727  FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
728  AUTOLOAD:=$(call AutoLoad,50,pwm)
729endef
730
731define KernelPackage/pwm/description
732 Kernel module that implement a generic PWM API
733endef
734
735$(eval $(call KernelPackage,pwm))
736
737
738define KernelPackage/pwm-gpio
739  SUBMENU:=$(OTHER_MENU)
740  TITLE:=PWM over GPIO
741  DEPENDS:=+kmod-pwm
742  KCONFIG:=CONFIG_GPIO_PWM
743  FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
744  AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
745endef
746
747define KernelPackage/pwm-gpio/description
748 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
749endef
750
751$(eval $(call KernelPackage,pwm-gpio))
752
753define KernelPackage/rtc-core
754  SUBMENU:=$(OTHER_MENU)
755  DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN
756  TITLE:=Real Time Clock class support
757  KCONFIG:=CONFIG_RTC_CLASS
758  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
759  AUTOLOAD:=$(call AutoLoad,29,rtc-core)
760endef
761
762define KernelPackage/rtc-core/description
763 Generic RTC class support.
764endef
765
766$(eval $(call KernelPackage,rtc-core))
767
768define KernelPackage/rtc-pcf8563
769  SUBMENU:=$(OTHER_MENU)
770  TITLE:=Philips PCF8563/Epson RTC8564 RTC support
771  DEPENDS:=+(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN):kmod-rtc-core
772  KCONFIG:=CONFIG_RTC_DRV_PCF8563
773  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
774  AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
775endef
776
777define KernelPackage/rtc-pcf8563/description
778 Kernel module for Philips PCF8563 RTC chip.
779 The Epson RTC8564 should work as well.
780endef
781
782$(eval $(call KernelPackage,rtc-pcf8563))
783
784
785define KernelPackage/rtc-pcf2123
786  SUBMENU:=$(OTHER_MENU)
787  TITLE:=Philips PCF2123 RTC support
788  DEPENDS:=+(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN):kmod-rtc-core
789  KCONFIG:=CONFIG_RTC_DRV_PCF2123
790  FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
791  AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
792endef
793
794define KernelPackage/rtc-pcf2123/description
795 Kernel module for Philips PCF2123 RTC chip.
796endef
797
798$(eval $(call KernelPackage,rtc-pcf2123))
799
800
801define KernelPackage/n810bm
802  SUBMENU:=$(OTHER_MENU)
803  TITLE:=Nokia N810 battery management driver
804  DEPENDS:=@TARGET_omap24xx
805  KCONFIG:=CONFIG_N810BM
806  FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
807  AUTOLOAD:=$(call AutoLoad,01,n810bm)
808endef
809
810define KernelPackage/n810bm/description
811  Nokia N810 battery management driver.
812  Controls battery power management and battery charging.
813endef
814
815$(eval $(call KernelPackage,n810bm))
816
817
818define KernelPackage/mtdtests
819  SUBMENU:=$(OTHER_MENU)
820  TITLE:=MTD subsystem tests
821  KCONFIG:=CONFIG_MTD_TESTS
822  FILES:=\
823        $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
824        $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
825        $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
826        $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
827        $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
828        $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
829        $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
830        $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
831endef
832
833define KernelPackage/mtdtests/description
834 Kernel modules for MTD subsystem/driver testing.
835endef
836
837$(eval $(call KernelPackage,mtdtests))
838
839
840define KernelPackage/nand
841  SUBMENU:=$(OTHER_MENU)
842  TITLE:=NAND flash support
843  DEPENDS:=@!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39)
844  KCONFIG:=CONFIG_MTD_NAND \
845        CONFIG_MTD_NAND_IDS \
846        CONFIG_MTD_NAND_ECC
847  FILES:= \
848        $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
849        $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
850        $(LINUX_DIR)/drivers/mtd/nand/nand.ko
851  AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
852endef
853
854define KernelPackage/nand/description
855 Kernel module for NAND support.
856endef
857
858$(eval $(call KernelPackage,nand))
859
860
861define KernelPackage/nandsim
862  SUBMENU:=$(OTHER_MENU)
863  TITLE:=NAND simulator
864  DEPENDS:=@!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) +kmod-nand
865  KCONFIG:=CONFIG_MTD_NAND_NANDSIM
866  FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
867endef
868
869define KernelPackage/nandsim/description
870 Kernel module for NAND flash simulation.
871endef
872
873$(eval $(call KernelPackage,nandsim))
874
875define KernelPackage/serial-8250
876  SUBMENU:=$(OTHER_MENU)
877  TITLE:=8250 UARTs
878  KCONFIG:= CONFIG_SERIAL_8250 \
879        CONFIG_SERIAL_8250_NR_UARTS=16 \
880        CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
881        CONFIG_SERIAL_8250_EXTENDED=y \
882        CONFIG_SERIAL_8250_MANY_PORTS=y \
883        CONFIG_SERIAL_8250_SHARE_IRQ=y
884  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250.ko
885endef
886
887define KernelPackage/serial-8250/description
888 Kernel module for 8250 UART based serial ports.
889endef
890
891$(eval $(call KernelPackage,serial-8250))
892
Note: See TracBrowser for help on using the repository browser.