This patch fixes missing hwmon-vid module error on LM77 package build. hwmon-vid...
[openwrt.git] / package / kernel / modules / other.mk
1 #
2 # Copyright (C) 2006 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
26 define KernelPackage/crc7
27 SUBMENU:=$(OTHER_MENU)
28 TITLE:=CRC7 support
29 KCONFIG:=CONFIG_CRC7
30 FILES:=$(LINUX_DIR)/lib/crc7.$(LINUX_KMOD_SUFFIX)
31 AUTOLOAD:=$(call AutoLoad,20,crc7)
32 endef
33
34 define KernelPackage/crc7/description
35 Kernel module for CRC7 support
36 endef
37
38 $(eval $(call KernelPackage,crc7))
39
40
41 define KernelPackage/eeprom-93cx6
42 SUBMENU:=$(OTHER_MENU)
43 TITLE:=EEPROM 93CX6 support
44 DEPENDS:=@LINUX_2_6
45 KCONFIG:=CONFIG_EEPROM_93CX6
46 FILES:=$(LINUX_DIR)/drivers/misc/eeprom_93cx6.$(LINUX_KMOD_SUFFIX)
47 AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
48 endef
49
50 define KernelPackage/eeprom-93cx6/description
51 Kernel module for EEPROM 93CX6 support
52 endef
53
54 $(eval $(call KernelPackage,eeprom-93cx6))
55
56
57 define KernelPackage/lp
58 SUBMENU:=$(OTHER_MENU)
59 TITLE:=Parallel port and line printer support
60 DEPENDS:=@LINUX_2_4
61 KCONFIG:= \
62 CONFIG_PARPORT \
63 CONFIG_PRINTER \
64 CONFIG_PPDEV
65 FILES:= \
66 $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \
67 $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \
68 $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX)
69 AUTOLOAD:=$(call AutoLoad,50,parport lp)
70 endef
71
72 $(eval $(call KernelPackage,lp))
73
74
75 define KernelPackage/pcmcia-core
76 SUBMENU:=$(OTHER_MENU)
77 TITLE:=PCMCIA/CardBus support
78 DEPENDS:=@PCMCIA_SUPPORT
79 KCONFIG:= \
80 CONFIG_PCMCIA \
81 CONFIG_CARDBUS \
82 CONFIG_PCCARD \
83 CONFIG_YENTA \
84 CONFIG_PCCARD_NONSTATIC \
85 PCMCIA_DEBUG=n
86 endef
87
88 define KernelPackage/pcmcia-core/2.4
89 # KCONFIG:= \
90 # CONFIG_PCMCIA \
91 # CONFIG_CARDBUS
92 FILES:= \
93 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
94 $(LINUX_DIR)/drivers/pcmcia/ds.$(LINUX_KMOD_SUFFIX) \
95 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
96 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core yenta_socket ds)
97 endef
98
99 define KernelPackage/pcmcia-core/2.6
100 # KCONFIG:= \
101 # CONFIG_PCCARD \
102 # CONFIG_PCMCIA \
103 # CONFIG_YENTA \
104 # CONFIG_PCCARD_NONSTATIC \
105 # PCMCIA_DEBUG=n
106 FILES:= \
107 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
108 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
109 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
110 $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
111 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket)
112 endef
113
114 define KernelPackage/pcmcia-core/au1000-2.6
115 FILES:= \
116 $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.$(LINUX_KMOD_SUFFIX) \
117 $(LINUX_DIR)/drivers/pcmcia/pcmcia.$(LINUX_KMOD_SUFFIX) \
118 $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
119 $(LINUX_DIR)/drivers/pcmcia/au1x00_ss.$(LINUX_KMOD_SUFFIX)
120 AUTOLOAD:=$(call AutoLoad,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss)
121 endef
122
123 define KernelPackage/pcmcia-core/description
124 Kernel support for PCMCIA/CardBus controllers
125 endef
126
127 $(eval $(call KernelPackage,pcmcia-core))
128
129
130 define KernelPackage/pcmcia-serial
131 SUBMENU:=$(OTHER_MENU)
132 TITLE:=Serial devices support
133 DEPENDS:=kmod-pcmcia-core
134 KCONFIG:= \
135 CONFIG_PCMCIA_SERIAL_CS \
136 CONFIG_SERIAL_8250_CS
137 AUTOLOAD:=$(call AutoLoad,45,serial_cs)
138 endef
139
140 define KernelPackage/pcmcia-serial/2.4
141 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
142 FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.$(LINUX_KMOD_SUFFIX)
143 endef
144
145 define KernelPackage/pcmcia-serial/2.6
146 # KCONFIG:=CONFIG_SERIAL_8250_CS
147 FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.$(LINUX_KMOD_SUFFIX)
148 endef
149
150 define KernelPackage/pcmcia-serial/description
151 Kernel support for PCMCIA/CardBus serial devices
152 endef
153
154 $(eval $(call KernelPackage,pcmcia-serial))
155
156
157 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
158 define KernelPackage/bluetooth
159 SUBMENU:=$(OTHER_MENU)
160 TITLE:=Bluetooth support
161 DEPENDS:=@USB_SUPPORT @!TARGET_atheros @!TARGET_uml
162 KCONFIG:= \
163 CONFIG_BLUEZ \
164 CONFIG_BLUEZ_L2CAP \
165 CONFIG_BLUEZ_SCO \
166 CONFIG_BLUEZ_RFCOMM \
167 CONFIG_BLUEZ_BNEP \
168 CONFIG_BLUEZ_HCIUART \
169 CONFIG_BLUEZ_HCIUSB \
170 CONFIG_BT \
171 CONFIG_BT_L2CAP \
172 CONFIG_BT_SCO \
173 CONFIG_BT_RFCOMM \
174 CONFIG_BT_BNEP \
175 CONFIG_BT_HCIUSB \
176 CONFIG_BT_HCIUART
177 endef
178
179 define KernelPackage/bluetooth/2.4
180 # KCONFIG:= \
181 # CONFIG_BLUEZ \
182 # CONFIG_BLUEZ_L2CAP \
183 # CONFIG_BLUEZ_SCO \
184 # CONFIG_BLUEZ_RFCOMM \
185 # CONFIG_BLUEZ_BNEP \
186 # CONFIG_BLUEZ_HCIUART \
187 # CONFIG_BLUEZ_HCIUSB
188 FILES:= \
189 $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \
190 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
191 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
192 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
193 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
194 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
195 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
196 AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb)
197 endef
198
199 define KernelPackage/bluetooth/2.6
200 # KCONFIG:= \
201 # CONFIG_BT \
202 # CONFIG_BT_L2CAP \
203 # CONFIG_BT_SCO \
204 # CONFIG_BT_RFCOMM \
205 # CONFIG_BT_BNEP \
206 # CONFIG_BT_HCIUSB \
207 # CONFIG_BT_HCIUART
208 FILES:= \
209 $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \
210 $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \
211 $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \
212 $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \
213 $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \
214 $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \
215 $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX)
216 AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb)
217 endef
218
219 define KernelPackage/bluetooth/description
220 Kernel support for Bluetooth devices
221 endef
222
223 $(eval $(call KernelPackage,bluetooth))
224
225
226 define KernelPackage/mmc
227 SUBMENU:=$(OTHER_MENU)
228 TITLE:=MMC/SD Card Support
229 DEPENDS:=@LINUX_2_6
230 KCONFIG:= \
231 CONFIG_MMC \
232 CONFIG_MMC_BLOCK \
233 CONFIG_MMC_DEBUG=n \
234 CONFIG_MMC_UNSAFE_RESUME=n \
235 CONFIG_MMC_BLOCK_BOUNCE=y \
236 CONFIG_MMC_SDHCI=n \
237 CONFIG_MMC_TIFM_SD=n \
238 CONFIG_SDIO_UART=n
239 FILES:= \
240 $(LINUX_DIR)/drivers/mmc/core/mmc_core.$(LINUX_KMOD_SUFFIX) \
241 $(LINUX_DIR)/drivers/mmc/card/mmc_block.$(LINUX_KMOD_SUFFIX)
242 AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block)
243 endef
244
245 define KernelPackage/mmc/description
246 Kernel support for MMC/SD cards
247 endef
248
249 $(eval $(call KernelPackage,mmc))
250
251
252 define KernelPackage/mmc-at91
253 SUBMENU:=$(OTHER_MENU)
254 TITLE:=MMC/SD Card Support on AT91
255 DEPENDS:=@TARGET_at91 +kmod-mmc
256 KCONFIG:=CONFIG_MMC_AT91
257 FILES:=$(LINUX_DIR)/drivers/mmc/at91_mci.$(LINUX_KMOD_SUFFIX)
258 AUTOLOAD:=$(call AutoLoad,90,at91_mci)
259 endef
260
261 define KernelPackage/mmc-at91/description
262 Kernel support for MMC/SD cards on the AT91 target
263 endef
264
265 $(eval $(call KernelPackage,mmc-at91))
266
267
268 # XXX: added a workaround for watchdog path changes
269 ifeq ($(KERNEL),2.4)
270 WATCHDOG_DIR=char
271 endif
272 ifeq ($(KERNEL_PATCHVER),2.6.24)
273 WATCHDOG_DIR=watchdog
274 endif
275 WATCHDOG_DIR?=char/watchdog
276
277 define KernelPackage/softdog
278 SUBMENU:=$(OTHER_MENU)
279 TITLE:=Software watchdog driver
280 KCONFIG:=CONFIG_SOFT_WATCHDOG
281 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.$(LINUX_KMOD_SUFFIX)
282 AUTOLOAD:=$(call AutoLoad,50,softdog)
283 endef
284
285 define KernelPackage/softdog/description
286 Software watchdog driver
287 endef
288
289 $(eval $(call KernelPackage,softdog))
290
291
292 # XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel
293 define KernelPackage/leds-gpio
294 SUBMENU:=$(OTHER_MENU)
295 TITLE:=GPIO LED support
296 DEPENDS:=@TARGET_adm5120
297 KCONFIG:=CONFIG_LEDS_GPIO
298 FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.$(LINUX_KMOD_SUFFIX)
299 AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
300 endef
301
302 define KernelPackage/leds-gpio/description
303 Kernel module for LEDs on GPIO lines
304 endef
305
306 $(eval $(call KernelPackage,leds-gpio))
307
308
309 define KernelPackage/leds-adm5120
310 SUBMENU:=$(OTHER_MENU)
311 TITLE:=ADM5120 LED support
312 DEPENDS:=@TARGET_adm5120 +kmod-leds-gpio
313 KCONFIG:=CONFIG_LEDS_ADM5120
314 FILES:=$(LINUX_DIR)/drivers/leds/leds-adm5120.$(LINUX_KMOD_SUFFIX)
315 AUTOLOAD:=$(call AutoLoad,59,leds-adm5120)
316 endef
317
318 define KernelPackage/leds-adm5120/description
319 Kernel module for LEDs on ADM5120 based boards.
320 endef
321
322 $(eval $(call KernelPackage,leds-adm5120))
323
324
325 define KernelPackage/ledtrig-adm5120-switch
326 SUBMENU:=$(OTHER_MENU)
327 TITLE:=LED ADM5120 Switch Port Status Trigger
328 DEPENDS:=@TARGET_adm5120
329 KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
330 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.$(LINUX_KMOD_SUFFIX)
331 AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
332 endef
333
334 define KernelPackage/ledtrig-adm5120-switch/description
335 Kernel module to allow LEDs to be controlled by the port states
336 of the ADM5120 built-in ethernet switch.
337 endef
338
339 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
340
341
342 define KernelPackage/leds-net48xx
343 SUBMENU:=$(OTHER_MENU)
344 TITLE:=Soekris Net48xx LED support
345 DEPENDS:=@TARGET_x86
346 KCONFIG:=CONFIG_LEDS_NET48XX
347 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
348 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
349 endef
350
351 define KernelPackage/leds-net48xx/description
352 Kernel module for Soekris Net48xx LEDs
353 endef
354
355 $(eval $(call KernelPackage,leds-net48xx))
356
357
358 define KernelPackage/leds-wrap
359 SUBMENU:=$(OTHER_MENU)
360 TITLE:=PCengines WRAP LED support
361 DEPENDS:=@TARGET_x86
362 KCONFIG:=CONFIG_LEDS_WRAP
363 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.$(LINUX_KMOD_SUFFIX)
364 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
365 endef
366
367 define KernelPackage/leds-wrap/description
368 Kernel module for PCengines WRAP LEDs
369 endef
370
371 $(eval $(call KernelPackage,leds-wrap))
372
373
374 define KernelPackage/leds-alix
375 SUBMENU:=$(OTHER_MENU)
376 TITLE:=PCengines ALIX LED support
377 DEPENDS:=@TARGET_x86
378 KCONFIG:=CONFIG_LEDS_ALIX
379 FILES:=$(LINUX_DIR)/drivers/leds/leds-alix.$(LINUX_KMOD_SUFFIX)
380 AUTOLOAD:=$(call AutoLoad,50,leds-alix)
381 endef
382
383 define KernelPackage/leds-alix/description
384 Kernel module for PCengines ALIX LEDs
385 endef
386
387 $(eval $(call KernelPackage,leds-alix))
388
389
390 define KernelPackage/ledtrig-netdev
391 SUBMENU:=$(OTHER_MENU)
392 TITLE:=LED NETDEV Trigger
393 KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV
394 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.$(LINUX_KMOD_SUFFIX)
395 AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev)
396 endef
397
398 define KernelPackage/ledtrig-netdev/description
399 Kernel module to drive LEDs based on network activity.
400 endef
401
402 $(eval $(call KernelPackage,ledtrig-netdev))
403
404
405 define KernelPackage/ledtrig-morse
406 SUBMENU:=$(OTHER_MENU)
407 TITLE:=LED Morse Trigger
408 KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
409 FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.$(LINUX_KMOD_SUFFIX)
410 AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
411 endef
412
413 define KernelPackage/ledtrig-morse/description
414 Kernel module to show morse coded messages on LEDs.
415 endef
416
417 $(eval $(call KernelPackage,ledtrig-morse))
418
419
420 define KernelPackage/nsc-gpio
421 SUBMENU:=$(OTHER_MENU)
422 TITLE:=Natsemi GPIO support
423 DEPENDS:=@TARGET_x86
424 KCONFIG:=CONFIG_NSC_GPIO
425 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.$(LINUX_KMOD_SUFFIX)
426 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
427 endef
428
429 define KernelPackage/nsc-gpio/description
430 Kernel module for Natsemi GPIO
431 endef
432
433 $(eval $(call KernelPackage,nsc-gpio))
434
435
436 define KernelPackage/scx200-gpio
437 SUBMENU:=$(OTHER_MENU)
438 TITLE:=Natsemi SCX200 GPIO support
439 DEPENDS:=@TARGET_x86 kmod-nsc-gpio
440 KCONFIG:=CONFIG_SCx200_GPIO
441 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
442 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
443 endef
444
445 define KernelPackage/scx200-gpio/description
446 Kernel module for SCX200 GPIO
447 endef
448
449 $(eval $(call KernelPackage,scx200-gpio))
450
451
452 define KernelPackage/scx200-wdt
453 SUBMENU:=$(OTHER_MENU)
454 TITLE:=Natsemi SCX200 Watchdog support
455 DEPENDS:=@TARGET_x86
456 KCONFIG:=CONFIG_SC1200_WDT
457 FILES:=$(LINUX_DIR)/drivers/char/watchdog/scx200_wdt.$(LINUX_KMOD_SUFFIX)
458 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
459 endef
460
461 define KernelPackage/scx200-wdt/description
462 Kernel module for SCX200 Watchdog
463 endef
464
465 $(eval $(call KernelPackage,scx200-wdt))
466
467
468 define KernelPackage/input-core
469 SUBMENU:=$(OTHER_MENU)
470 TITLE:=Input device core
471 DEPENDS:=@LINUX_2_6
472 KCONFIG:=CONFIG_INPUT
473 FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
474 AUTOLOAD:=$(call AutoLoad,50,input-core)
475 endef
476
477 define KernelPackage/input-core/description
478 Kernel modules for support of input device
479 endef
480
481 $(eval $(call KernelPackage,input-core))
482
483
484 define KernelPackage/input-evdev
485 SUBMENU:=$(OTHER_MENU)
486 TITLE:=Input even device
487 DEPENDS:=+kmod-input-core
488 KCONFIG:=CONFIG_INPUT_EVDEV
489 FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX)
490 AUTOLOAD:=$(call AutoLoad,60,evdev)
491 endef
492
493 define KernelPackage/input-evdev/description
494 Kernel modules for support of input device events
495 endef
496
497 $(eval $(call KernelPackage,input-evdev))
498
499
500 define KernelPackage/mmc-spi
501 SUBMENU:=$(OTHER_MENU)
502 TITLE:=MMC/SD over SPI Support
503 DEPENDS:=@LINUX_2_6
504 KCONFIG:=CONFIG_MMC_SPI
505 FILES:=$(LINUX_DIR)/drivers/mmc/host/mmc_spi.$(LINUX_KMOD_SUFFIX)
506 AUTOLOAD:=$(call AutoLoad,90,mmc_spi)
507 endef
508
509 define KernelPackage/mmc-spi/description
510 Kernel support for MMC/SD over SPI
511 endef
512
513 $(eval $(call KernelPackage,mmc-spi))
514
515 define KernelPackage/spi
516 SUBMENU:=$(OTHER_MENU)
517 DEPENDS:=@LINUX_2_6 +kmod-crc-itu-t +kmod-crc7
518 TITLE:=Serial Peripheral Interface
519 KCONFIG:=CONFIG_SPI=y \
520 CONFIG_MTD_DATAFLASH=n \
521 CONFIG_MTD_M25P80=n \
522 CONFIG_SPI_AT25=n \
523 CONFIG_SPI_SPIDEV=n \
524 CONFIG_SPI_TLE62X0=n
525 endef
526
527 define KernelPackage/spi/description
528 This package contains the Serial Peripheral Interface driver
529 endef
530
531 $(eval $(call KernelPackage,spi))
532
533 define KernelPackage/spi-bitbang
534 SUBMENU:=$(OTHER_MENU)
535 DEPENDS:=@LINUX_2_6
536 TITLE:=Serial Peripheral Interface bitbanging
537 KCONFIG:=CONFIG_SPI_BITBANG=y
538 endef
539
540 define KernelPackage/spi-bitbang/description
541 This package contains the Serial Peripheral Interface bitbanging library
542 endef
543
544 $(eval $(call KernelPackage,spi-bitbang))
This page took 0.072354 seconds and 5 git commands to generate.