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