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