kernel: add missing config option
[openwrt.git] / package / kernel / linux / modules / other.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 OTHER_MENU:=Other modules
9
10 WATCHDOG_DIR:=watchdog
11
12
13 define KernelPackage/bluetooth
14   SUBMENU:=$(OTHER_MENU)
15   TITLE:=Bluetooth support
16   DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash
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   AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
48 endef
49
50 define KernelPackage/bluetooth/description
51  Kernel support for Bluetooth devices
52 endef
53
54 $(eval $(call KernelPackage,bluetooth))
55
56
57 define KernelPackage/bluetooth-hci-h4p
58   SUBMENU:=$(OTHER_MENU)
59   TITLE:=HCI driver with H4 Nokia extensions
60   DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
61   KCONFIG:=CONFIG_BT_HCIH4P
62   FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
63   AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
64 endef
65
66 define KernelPackage/bluetooth-hci-h4p/description
67  HCI driver with H4 Nokia extensions
68 endef
69
70 $(eval $(call KernelPackage,bluetooth-hci-h4p))
71
72
73 define KernelPackage/eeprom-93cx6
74   SUBMENU:=$(OTHER_MENU)
75   TITLE:=EEPROM 93CX6 support
76   KCONFIG:=CONFIG_EEPROM_93CX6
77   FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
78   AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
79 endef
80
81 define KernelPackage/eeprom-93cx6/description
82  Kernel module for EEPROM 93CX6 support
83 endef
84
85 $(eval $(call KernelPackage,eeprom-93cx6))
86
87
88 define KernelPackage/eeprom-at24
89   SUBMENU:=$(OTHER_MENU)
90   TITLE:=EEPROM AT24 support
91   KCONFIG:=CONFIG_EEPROM_AT24
92   DEPENDS:=+kmod-i2c-core
93   FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
94   AUTOLOAD:=$(call AutoLoad,60,at24)
95 endef
96
97 define KernelPackage/eeprom-at24/description
98  Kernel module for most I2C EEPROMs
99 endef
100
101 $(eval $(call KernelPackage,eeprom-at24))
102
103
104 define KernelPackage/eeprom-at25
105   SUBMENU:=$(OTHER_MENU)
106   TITLE:=EEPROM AT25 support
107   KCONFIG:=CONFIG_EEPROM_AT25
108   FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
109   AUTOLOAD:=$(call AutoLoad,61,at25)
110 endef
111
112 define KernelPackage/eeprom-at25/description
113  Kernel module for most SPI EEPROMs
114 endef
115
116 $(eval $(call KernelPackage,eeprom-at25))
117
118
119 define KernelPackage/gpio-dev
120   SUBMENU:=$(OTHER_MENU)
121   TITLE:=Generic GPIO char device support
122   DEPENDS:=@GPIO_SUPPORT
123   KCONFIG:=CONFIG_GPIO_DEVICE
124   FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
125   AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
126 endef
127
128 define KernelPackage/gpio-dev/description
129  Kernel module to allows control of GPIO pins using a character device.
130 endef
131
132 $(eval $(call KernelPackage,gpio-dev))
133
134
135 define KernelPackage/gpio-mcp23s08
136   SUBMENU:=$(OTHER_MENU)
137   TITLE:=Microchip MCP23xxx I/O expander
138   DEPENDS:=@GPIO_SUPPORT +PACKAGE_kmod-i2c-core:kmod-i2c-core
139   KCONFIG:=CONFIG_GPIO_MCP23S08
140   FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
141   AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
142 endef
143
144 define KernelPackage/gpio-mcp23s08/description
145  Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
146 endef
147
148 $(eval $(call KernelPackage,gpio-mcp23s08))
149
150
151 define KernelPackage/gpio-nxp-74hc164
152   SUBMENU:=$(OTHER_MENU)
153   TITLE:=NXP 74HC164 GPIO expander support
154   KCONFIG:=CONFIG_GPIO_NXP_74HC164
155   FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
156   AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
157 endef
158
159 define KernelPackage/gpio-nxp-74hc164/description
160  Kernel module for NXP 74HC164 GPIO expander
161 endef
162
163 $(eval $(call KernelPackage,gpio-nxp-74hc164))
164
165 define KernelPackage/gpio-pcf857x
166   SUBMENU:=$(OTHER_MENU)
167   DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
168   TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
169   KCONFIG:=CONFIG_GPIO_PCF857X
170   FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
171   AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
172 endef
173
174 define KernelPackage/gpio-pcf857x/description
175  Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
176 endef
177
178 $(eval $(call KernelPackage,gpio-pcf857x))
179
180 define KernelPackage/lp
181   SUBMENU:=$(OTHER_MENU)
182   TITLE:=Parallel port and line printer support
183   DEPENDS:=@BROKEN
184   KCONFIG:= \
185         CONFIG_PARPORT \
186         CONFIG_PRINTER \
187         CONFIG_PPDEV
188   FILES:= \
189         $(LINUX_DIR)/drivers/parport/parport.ko \
190         $(LINUX_DIR)/drivers/char/lp.ko \
191         $(LINUX_DIR)/drivers/char/ppdev.ko
192   AUTOLOAD:=$(call AutoLoad,50,parport lp)
193 endef
194
195 $(eval $(call KernelPackage,lp))
196
197
198 define KernelPackage/mmc
199   SUBMENU:=$(OTHER_MENU)
200   TITLE:=MMC/SD Card Support
201   KCONFIG:= \
202         CONFIG_MMC \
203         CONFIG_MMC_BLOCK \
204         CONFIG_MMC_DEBUG=n \
205         CONFIG_MMC_UNSAFE_RESUME=n \
206         CONFIG_MMC_BLOCK_BOUNCE=y \
207         CONFIG_MMC_SDHCI=n \
208         CONFIG_MMC_TIFM_SD=n \
209         CONFIG_MMC_WBSD=n \
210         CONFIG_SDIO_UART=n
211   FILES:= \
212         $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
213         $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
214   AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
215 endef
216
217 define KernelPackage/mmc/description
218  Kernel support for MMC/SD cards
219 endef
220
221 $(eval $(call KernelPackage,mmc))
222
223
224 define KernelPackage/oprofile
225   SUBMENU:=$(OTHER_MENU)
226   TITLE:=OProfile profiling support
227   KCONFIG:=CONFIG_OPROFILE
228   FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
229   DEPENDS:=@KERNEL_PROFILING
230 endef
231
232 define KernelPackage/oprofile/description
233  Kernel module for support for oprofile system profiling
234 endef
235
236 $(eval $(call KernelPackage,oprofile))
237
238
239 define KernelPackage/rfkill
240   SUBMENU:=$(OTHER_MENU)
241   TITLE:=RF switch subsystem support
242   DEPENDS:=@USE_RFKILL +kmod-input-core
243   KCONFIG:= \
244     CONFIG_RFKILL \
245     CONFIG_RFKILL_INPUT=y \
246     CONFIG_RFKILL_LEDS=y \
247     CONFIG_RFKILL_GPIO=y
248   FILES:= \
249     $(LINUX_DIR)/net/rfkill/rfkill.ko
250   AUTOLOAD:=$(call AutoLoad,20,rfkill)
251 endef
252
253 define KernelPackage/rfkill/description
254  Say Y here if you want to have control over RF switches
255  found on many WiFi and Bluetooth cards
256 endef
257
258 $(eval $(call KernelPackage,rfkill))
259
260
261 define KernelPackage/softdog
262   SUBMENU:=$(OTHER_MENU)
263   TITLE:=Software watchdog driver
264   KCONFIG:=CONFIG_SOFT_WATCHDOG
265   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
266   AUTOLOAD:=$(call AutoLoad,50,softdog)
267 endef
268
269 define KernelPackage/softdog/description
270  Software watchdog driver
271 endef
272
273 $(eval $(call KernelPackage,softdog))
274
275
276 define KernelPackage/ssb
277   SUBMENU:=$(OTHER_MENU)
278   TITLE:=Silicon Sonics Backplane glue code
279   DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
280   KCONFIG:=\
281         CONFIG_SSB \
282         CONFIG_SSB_B43_PCI_BRIDGE=y \
283         CONFIG_SSB_DRIVER_MIPS=n \
284         CONFIG_SSB_DRIVER_PCICORE=y \
285         CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
286         CONFIG_SSB_PCIHOST=y \
287         CONFIG_SSB_PCIHOST_POSSIBLE=y \
288         CONFIG_SSB_POSSIBLE=y \
289         CONFIG_SSB_SPROM=y \
290         CONFIG_SSB_SILENT=y
291   FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
292   AUTOLOAD:=$(call AutoLoad,18,ssb,1)
293 endef
294
295 define KernelPackage/ssb/description
296  Silicon Sonics Backplane glue code.
297 endef
298
299 $(eval $(call KernelPackage,ssb))
300
301
302 define KernelPackage/bcma
303   SUBMENU:=$(OTHER_MENU)
304   TITLE:=BCMA support
305   DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
306   KCONFIG:=\
307         CONFIG_BCMA \
308         CONFIG_BCMA_POSSIBLE=y \
309         CONFIG_BCMA_BLOCKIO=y \
310         CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
311         CONFIG_BCMA_HOST_PCI=y \
312         CONFIG_BCMA_HOST_SOC=n \
313         CONFIG_BCMA_DRIVER_MIPS=n \
314         CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
315         CONFIG_BCMA_DRIVER_GMAC_CMN=n \
316         CONFIG_BCMA_DEBUG=n
317   FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
318   AUTOLOAD:=$(call AutoLoad,29,bcma)
319 endef
320
321 define KernelPackage/bcma/description
322  Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture
323 endef
324
325 $(eval $(call KernelPackage,bcma))
326
327
328 define KernelPackage/wdt-omap
329   SUBMENU:=$(OTHER_MENU)
330   TITLE:=OMAP Watchdog timer
331   DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
332   KCONFIG:=CONFIG_OMAP_WATCHDOG
333   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
334   AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
335 endef
336
337 define KernelPackage/wdt-omap/description
338  Kernel module for TI omap watchdog timer
339 endef
340
341 $(eval $(call KernelPackage,wdt-omap))
342
343
344 define KernelPackage/wdt-orion
345   SUBMENU:=$(OTHER_MENU)
346   TITLE:=Marvell Orion Watchdog timer
347   DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
348   KCONFIG:=CONFIG_ORION_WATCHDOG
349   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
350   AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
351 endef
352
353 define KernelPackage/wdt-orion/description
354  Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer
355 endef
356
357 $(eval $(call KernelPackage,wdt-orion))
358
359
360 define KernelPackage/booke-wdt
361   SUBMENU:=$(OTHER_MENU)
362   TITLE:=PowerPC Book-E Watchdog Timer
363   DEPENDS:=@(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x)
364   KCONFIG:=CONFIG_BOOKE_WDT
365   FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/booke_wdt.ko
366   AUTOLOAD:=$(call AutoLoad,50,booke_wdt)
367 endef
368
369 define KernelPackage/booke-wdt/description
370  Kernel module for PowerPC Book-E Watchdog Timer
371 endef
372
373 $(eval $(call KernelPackage,booke-wdt))
374
375
376 define KernelPackage/pwm
377   SUBMENU:=$(OTHER_MENU)
378   TITLE:=PWM generic API
379   KCONFIG:=CONFIG_GENERIC_PWM
380   FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
381   AUTOLOAD:=$(call AutoLoad,50,pwm)
382 endef
383
384 define KernelPackage/pwm/description
385  Kernel module that implement a generic PWM API
386 endef
387
388 $(eval $(call KernelPackage,pwm))
389
390
391 define KernelPackage/pwm-gpio
392   SUBMENU:=$(OTHER_MENU)
393   TITLE:=PWM over GPIO
394   DEPENDS:=+kmod-pwm
395   KCONFIG:=CONFIG_GPIO_PWM
396   FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
397   AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
398 endef
399
400 define KernelPackage/pwm-gpio/description
401  Kernel module to models a single-channel PWM device using a timer and a GPIO pin
402 endef
403
404 $(eval $(call KernelPackage,pwm-gpio))
405
406
407 define KernelPackage/rtc-isl1208
408   SUBMENU:=$(OTHER_MENU)
409   TITLE:=Intersil ISL1208 RTC support
410   $(call AddDepends/rtc)
411   DEPENDS+=+kmod-i2c-core
412   KCONFIG:=CONFIG_RTC_DRV_ISL1208
413   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko
414   AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208)
415 endef
416
417 define KernelPackage/rtc-isl1208/description
418  Kernel module for Intersil ISL1208 RTC.
419 endef
420
421 $(eval $(call KernelPackage,rtc-isl1208))
422
423
424 define KernelPackage/rtc-marvell
425   SUBMENU:=$(OTHER_MENU)
426   TITLE:=Marvell SoC built-in RTC support
427   $(call AddDepends/rtc)
428   DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
429   KCONFIG:=CONFIG_RTC_DRV_MV
430   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko
431   AUTOLOAD:=$(call AutoLoad,60,rtc-mv)
432 endef
433
434 define KernelPackage/rtc-marvell/description
435  Kernel module for Marvell SoC built-in RTC.
436 endef
437
438 $(eval $(call KernelPackage,rtc-marvell))
439
440 define KernelPackage/rtc-pcf8563
441   SUBMENU:=$(OTHER_MENU)
442   TITLE:=Philips PCF8563/Epson RTC8564 RTC support
443   $(call AddDepends/rtc,+kmod-i2c-core)
444   KCONFIG:=CONFIG_RTC_DRV_PCF8563
445   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
446   AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
447 endef
448
449 define KernelPackage/rtc-pcf8563/description
450  Kernel module for Philips PCF8563 RTC chip.
451  The Epson RTC8564 should work as well.
452 endef
453
454 $(eval $(call KernelPackage,rtc-pcf8563))
455
456
457 define KernelPackage/rtc-pcf2123
458   SUBMENU:=$(OTHER_MENU)
459   TITLE:=Philips PCF2123 RTC support
460   $(call AddDepends/rtc)
461   KCONFIG:=CONFIG_RTC_DRV_PCF2123
462   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf2123.ko
463   AUTOLOAD:=$(call AutoLoad,60,rtc-pcf2123)
464 endef
465
466 define KernelPackage/rtc-pcf2123/description
467  Kernel module for Philips PCF2123 RTC chip
468 endef
469
470 $(eval $(call KernelPackage,rtc-pcf2123))
471
472 define KernelPackage/rtc-pt7c4338
473   SUBMENU:=$(OTHER_MENU)
474   TITLE:=Pericom PT7C4338 RTC support
475   $(call AddDepends/rtc,+kmod-i2c-core)
476   KCONFIG:=CONFIG_RTC_DRV_PT7C4338
477   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pt7c4338.ko
478   AUTOLOAD:=$(call AutoLoad,60,rtc-pt7c4338)
479 endef
480
481 define KernelPackage/rtc-pt7c4338/description
482  Kernel module for Pericom PT7C4338 i2c RTC chip
483 endef
484
485 $(eval $(call KernelPackage,rtc-pt7c4338))
486
487
488 define KernelPackage/mtdtests
489   SUBMENU:=$(OTHER_MENU)
490   TITLE:=MTD subsystem tests
491   KCONFIG:=CONFIG_MTD_TESTS
492   DEPENDS:=+kmod-nand
493   FILES:=\
494         $(LINUX_DIR)/drivers/mtd/tests/mtd_nandecctest.ko \
495         $(LINUX_DIR)/drivers/mtd/tests/mtd_oobtest.ko \
496         $(LINUX_DIR)/drivers/mtd/tests/mtd_pagetest.ko \
497         $(LINUX_DIR)/drivers/mtd/tests/mtd_readtest.ko \
498         $(LINUX_DIR)/drivers/mtd/tests/mtd_speedtest.ko \
499         $(LINUX_DIR)/drivers/mtd/tests/mtd_stresstest.ko \
500         $(LINUX_DIR)/drivers/mtd/tests/mtd_subpagetest.ko \
501         $(LINUX_DIR)/drivers/mtd/tests/mtd_torturetest.ko
502 endef
503
504 define KernelPackage/mtdtests/description
505  Kernel modules for MTD subsystem/driver testing
506 endef
507
508 $(eval $(call KernelPackage,mtdtests))
509
510
511 define KernelPackage/nand
512   SUBMENU:=$(OTHER_MENU)
513   TITLE:=NAND flash support
514   KCONFIG:=CONFIG_MTD_NAND \
515         CONFIG_MTD_NAND_IDS \
516         CONFIG_MTD_NAND_ECC
517   FILES:= \
518         $(LINUX_DIR)/drivers/mtd/nand/nand_ids.ko \
519         $(LINUX_DIR)/drivers/mtd/nand/nand_ecc.ko \
520         $(LINUX_DIR)/drivers/mtd/nand/nand.ko
521   AUTOLOAD:=$(call AutoLoad,20,nand_ids nand_ecc nand)
522 endef
523
524 define KernelPackage/nand/description
525  Kernel module for NAND support
526 endef
527
528 $(eval $(call KernelPackage,nand))
529
530
531 define KernelPackage/nandsim
532   SUBMENU:=$(OTHER_MENU)
533   TITLE:=NAND simulator
534   DEPENDS:=+kmod-nand
535   KCONFIG:=CONFIG_MTD_NAND_NANDSIM
536   FILES:=$(LINUX_DIR)/drivers/mtd/nand/nandsim.ko
537 endef
538
539 define KernelPackage/nandsim/description
540  Kernel module for NAND flash simulation.
541 endef
542
543 $(eval $(call KernelPackage,nandsim))
544
545 define KernelPackage/serial-8250
546   SUBMENU:=$(OTHER_MENU)
547   TITLE:=8250 UARTs
548   KCONFIG:= CONFIG_SERIAL_8250 \
549         CONFIG_SERIAL_8250_NR_UARTS=16 \
550         CONFIG_SERIAL_8250_RUNTIME_UARTS=16 \
551         CONFIG_SERIAL_8250_EXTENDED=y \
552         CONFIG_SERIAL_8250_MANY_PORTS=y \
553         CONFIG_SERIAL_8250_SHARE_IRQ=y \
554         CONFIG_SERIAL_8250_DETECT_IRQ=n \
555         CONFIG_SERIAL_8250_RSA=n
556   FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),$(if $(call kernel_patchver_le,3.8),_core)).ko
557 endef
558
559 define KernelPackage/serial-8250/description
560  Kernel module for 8250 UART based serial ports
561 endef
562
563 $(eval $(call KernelPackage,serial-8250))
564
565
566 define KernelPackage/regmap
567   SUBMENU:=$(OTHER_MENU)
568   TITLE:=Generic register map support
569   DEPENDS:=+kmod-lib-lzo +kmod-i2c-core
570   KCONFIG:=CONFIG_REGMAP \
571            CONFIG_REGMAP_SPI \
572            CONFIG_REGMAP_I2C \
573            CONFIG_SPI=y
574   FILES:= \
575         $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \
576         $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
577         $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
578   AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi)
579 endef
580
581 define KernelPackage/regmap/description
582  Generic register map support
583 endef
584
585 $(eval $(call KernelPackage,regmap))
586
587 define KernelPackage/ikconfig
588   SUBMENU:=$(OTHER_MENU)
589   TITLE:=Kernel configuration via /proc/config.gz
590   KCONFIG:=CONFIG_IKCONFIG \
591            CONFIG_IKCONFIG_PROC=y
592   FILES:=$(LINUX_DIR)/kernel/configs.ko
593   AUTOLOAD:=$(call AutoLoad,70,configs)
594 endef
595
596 define KernelPackage/ikconfig/description
597  Kernel configuration via /proc/config.gz
598 endef
599
600 $(eval $(call KernelPackage,ikconfig))
601
602
603 define KernelPackage/zram
604   SUBMENU:=$(OTHER_MENU)
605   TITLE:=ZRAM
606   DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo
607   KCONFIG:= \
608         CONFIG_ZSMALLOC \
609         CONFIG_ZRAM \
610         CONFIG_ZRAM_DEBUG=n
611   FILES:= \
612         $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \
613         $(LINUX_DIR)/drivers/staging/zram/zram.ko
614   AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram)
615 endef
616
617 define KernelPackage/zram/description
618  Compressed RAM block device support
619 endef
620
621 $(eval $(call KernelPackage,zram))
622
623
624 define KernelPackage/mvsdio
625   SUBMENU:=$(OTHER_MENU)
626   TITLE:=Marvell SDIO support
627   DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc
628   KCONFIG:=CONFIG_MMC_MVSDIO
629   FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko
630   AUTOLOAD:=$(call AutoLoad,91,mvsdio)
631 endef
632
633 define KernelPacakge/mvsdio/description
634  Kernel support for the Marvell SDIO controller
635 endef
636
637 $(eval $(call KernelPackage,mvsdio))
638
639
640 define KernelPackage/pps
641   SUBMENU:=$(OTHER_MENU)
642   TITLE:=PPS support
643   KCONFIG:=CONFIG_PPS
644   FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko
645   AUTOLOAD:=$(call AutoLoad,17,pps_core,1)
646 endef
647
648 define KernelPacakge/pps/description
649  PPS (Pulse Per Second) is a special pulse provided by some GPS
650  antennae. Userland can use it to get a high-precision time
651  reference.
652 endef
653
654 $(eval $(call KernelPackage,pps))
655
656
657 define KernelPackage/ptp
658   SUBMENU:=$(OTHER_MENU)
659   TITLE:=PTP clock support
660   DEPENDS:=+kmod-pps
661   KCONFIG:=CONFIG_PTP_1588_CLOCK
662   FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko
663   AUTOLOAD:=$(call AutoLoad,18,ptp,1)
664 endef
665
666 define KernelPacakge/ptp/description
667  The IEEE 1588 standard defines a method to precisely
668  synchronize distributed clocks over Ethernet networks.
669 endef
670
671 $(eval $(call KernelPackage,ptp))
672
673
674 define KernelPackage/ptp-gianfar
675   SUBMENU:=$(OTHER_MENU)
676   TITLE:=Freescale Gianfar PTP support
677   DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
678   KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
679   FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
680   AUTOLOAD:=$(call AutoLoad,51,gianfar_ptp)
681 endef
682
683 define KernelPacakge/ptp-gianfar/description
684  Kernel module for IEEE 1588 support for Freescale
685  Gianfar Ethernet drivers
686 endef
687
688 $(eval $(call KernelPackage,ptp-gianfar))
689
690
691 define KernelPackage/random-core
692   SUBMENU:=$(OTHER_MENU)
693   TITLE:=Hardware Random Number Generator Core support
694   KCONFIG:=CONFIG_HW_RANDOM
695   FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko
696   AUTOLOAD:=$(call AutoLoad,10,rng-core)
697 endef
698
699 define KernelPackage/random-core/description
700  Kernel module for the HW random number generator core infrastructure
701 endef
702
703 $(eval $(call KernelPackage,random-core))