libelf: get rid of CRLF encoding in the makefile (thx, danimo)
[openwrt.git] / package / kernel / modules / usb.mk
1 #
2 # Copyright (C) 2006-2010 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 USB_MENU:=USB Support
9
10 ifneq ($(CONFIG_LINUX_2_4),)
11 USBNET_DIR:=usb/net
12 endif
13
14 USBNET_DIR?=net/usb
15 USBHID_DIR?=hid/usbhid
16 USBINPUT_DIR?=input/misc
17
18 define KernelPackage/usb-core
19 SUBMENU:=$(USB_MENU)
20 TITLE:=Support for USB
21 DEPENDS:=@USB_SUPPORT +LINUX_2_6_31:kmod-nls-base +LINUX_2_6_32:kmod-nls-base +LINUX_2_6_33:kmod-nls-base +LINUX_2_6_34:kmod-nls-base
22 KCONFIG:=CONFIG_USB
23 AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
24 endef
25
26 define KernelPackage/usb-core/2.4
27 FILES:=$(LINUX_DIR)/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
28 endef
29
30 define KernelPackage/usb-core/2.6
31 FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX)
32 endef
33
34 define KernelPackage/usb-core/description
35 Kernel support for USB
36 endef
37
38 $(eval $(call KernelPackage,usb-core))
39
40
41 define AddDepends/usb
42 SUBMENU:=$(USB_MENU)
43 DEPENDS+=kmod-usb-core $(1)
44 endef
45
46
47 define KernelPackage/usb-uhci
48 TITLE:=Support for UHCI controllers
49 KCONFIG:= \
50 CONFIG_USB_UHCI_ALT \
51 CONFIG_USB_UHCI_HCD
52 $(call AddDepends/usb)
53 endef
54
55 define KernelPackage/usb-uhci/2.4
56 # KCONFIG:=CONFIG_USB_UHCI_ALT
57 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci.o
58 AUTOLOAD:=$(call AutoLoad,50,uhci,1)
59 endef
60
61 define KernelPackage/usb-uhci/2.6
62 # KCONFIG:=CONFIG_USB_UHCI_HCD
63 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
64 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
65 endef
66
67 define KernelPackage/usb-uhci/description
68 Kernel support for USB UHCI controllers
69 endef
70
71 $(eval $(call KernelPackage,usb-uhci,1))
72
73
74 define KernelPackage/usb-uhci-iv
75 TITLE:=Support for Intel/VIA UHCI controllers
76 DEPENDS:=@LINUX_2_4
77 KCONFIG:=CONFIG_USB_UHCI
78 FILES:=$(LINUX_DIR)/drivers/usb/host/usb-uhci.$(LINUX_KMOD_SUFFIX)
79 AUTOLOAD:=$(call AutoLoad,50,usb-uhci,1)
80 $(call AddDepends/usb)
81 endef
82
83 define KernelPackage/usb-uhci-iv/description
84 Kernel support for Intel/VIA USB UHCI controllers
85 endef
86
87 $(eval $(call KernelPackage,usb-uhci-iv,1))
88
89
90 define KernelPackage/usb-ohci
91 TITLE:=Support for OHCI controllers
92 KCONFIG:= \
93 CONFIG_USB_OHCI \
94 CONFIG_USB_OHCI_HCD \
95 CONFIG_USB_OHCI_AR71XX=y
96 $(call AddDepends/usb)
97 endef
98
99 define KernelPackage/usb-ohci/2.4
100 # KCONFIG:=CONFIG_USB_OHCI
101 FILES:=$(LINUX_DIR)/drivers/usb/host/usb-ohci.o
102 AUTOLOAD:=$(call AutoLoad,50,usb-ohci,1)
103 endef
104
105 define KernelPackage/usb-ohci/2.6
106 # KCONFIG:=CONFIG_USB_OHCI_HCD
107 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
108 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
109 endef
110
111 define KernelPackage/usb-ohci/description
112 Kernel support for USB OHCI controllers
113 endef
114
115 $(eval $(call KernelPackage,usb-ohci,1))
116
117
118 define KernelPackage/usb-isp116x-hcd
119 TITLE:=Support for the ISP116x USB Host Controller
120 DEPENDS:=@TARGET_ppc40x
121 KCONFIG:= \
122 CONFIG_USB_ISP116X_HCD \
123 CONFIG_USB_ISP116X_HCD_OF=y \
124 CONFIG_USB_ISP116X_HCD_PLATFORM=n
125 FILES:=$(LINUX_DIR)/drivers/usb/host/isp116x-hcd.$(LINUX_KMOD_SUFFIX)
126 AUTOLOAD:=$(call AutoLoad,50,isp116x-hcd)
127 $(call AddDepends/usb)
128 endef
129
130 define KernelPackage/usb-isp116x-hcd/description
131 Kernel support for the ISP116X USB Host Controller
132 endef
133
134 $(eval $(call KernelPackage,usb-isp116x-hcd))
135
136
137 define KernelPackage/usb2
138 TITLE:=Support for USB2 controllers
139 KCONFIG:=CONFIG_USB_EHCI_HCD \
140 CONFIG_USB_EHCI_AR71XX=y
141 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.$(LINUX_KMOD_SUFFIX)
142 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
143 $(call AddDepends/usb)
144 endef
145
146 define KernelPackage/usb2/description
147 Kernel support for USB2 (EHCI) controllers
148 endef
149
150 $(eval $(call KernelPackage,usb2))
151
152
153 define KernelPackage/usb-acm
154 TITLE:=Support for modems/isdn controllers
155 KCONFIG:=CONFIG_USB_ACM
156 $(call AddDepends/usb)
157 endef
158
159 define KernelPackage/usb-acm/2.4
160 FILES:=$(LINUX_DIR)/drivers/usb/acm.o
161 AUTOLOAD:=$(call AutoLoad,60,acm)
162 endef
163
164 define KernelPackage/usb-acm/2.6
165 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
166 AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
167 endef
168
169 define KernelPackage/usb-acm/description
170 Kernel support for USB ACM devices (modems/isdn controllers)
171 endef
172
173 $(eval $(call KernelPackage,usb-acm))
174
175
176 define KernelPackage/usb-audio
177 TITLE:=Support for USB audio devices
178 KCONFIG:= \
179 CONFIG_USB_AUDIO \
180 CONFIG_SND_USB_AUDIO
181 $(call AddDepends/usb)
182 $(call AddDepends/sound)
183 endef
184
185 define KernelPackage/usb-audio/2.4
186 # KCONFIG:=CONFIG_USB_AUDIO
187 FILES:=$(LINUX_DIR)/drivers/usb/audio.o
188 AUTOLOAD:=$(call AutoLoad,60,audio)
189 endef
190
191 define KernelPackage/usb-audio/2.6
192 # KCONFIG:=CONFIG_SND_USB_AUDIO
193 FILES:= \
194 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
195 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
196 AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
197 endef
198
199 define KernelPackage/usb-audio/description
200 Kernel support for USB audio devices
201 endef
202
203 $(eval $(call KernelPackage,usb-audio))
204
205
206 define KernelPackage/usb-printer
207 TITLE:=Support for printers
208 KCONFIG:=CONFIG_USB_PRINTER
209 $(call AddDepends/usb)
210 endef
211
212 define KernelPackage/usb-printer/2.4
213 FILES:=$(LINUX_DIR)/drivers/usb/printer.o
214 AUTOLOAD:=$(call AutoLoad,60,printer)
215 endef
216
217 define KernelPackage/usb-printer/2.6
218 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
219 AUTOLOAD:=$(call AutoLoad,60,usblp)
220 endef
221
222 define KernelPackage/usb-printer/description
223 Kernel support for USB printers
224 endef
225
226 $(eval $(call KernelPackage,usb-printer))
227
228
229 define KernelPackage/usb-serial
230 TITLE:=Support for USB-to-Serial converters
231 KCONFIG:=CONFIG_USB_SERIAL
232 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.$(LINUX_KMOD_SUFFIX)
233 AUTOLOAD:=$(call AutoLoad,60,usbserial)
234 $(call AddDepends/usb)
235 endef
236
237 define KernelPackage/usb-serial/description
238 Kernel support for USB-to-Serial converters
239 endef
240
241 $(eval $(call KernelPackage,usb-serial))
242
243
244 define AddDepends/usb-serial
245 SUBMENU:=$(USB_MENU)
246 DEPENDS+=kmod-usb-serial $(1)
247 endef
248
249
250 define KernelPackage/usb-serial-airprime
251 TITLE:=Support for Airprime (EVDO)
252 DEPENDS:=@LINUX_2_6
253 KCONFIG:=CONFIG_USB_SERIAL_AIRPRIME
254 FILES:=$(LINUX_DIR)/drivers/usb/serial/airprime.$(LINUX_KMOD_SUFFIX)
255 AUTOLOAD:=$(call AutoLoad,65,airprime)
256 $(call AddDepends/usb-serial)
257 endef
258
259 define KernelPackage/usb-serial-airprime/description
260 Kernel support for Airprime (EVDO)
261 endef
262
263 $(eval $(call KernelPackage,usb-serial-airprime))
264
265
266 define KernelPackage/usb-serial-belkin
267 TITLE:=Support for Belkin devices
268 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
269 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.$(LINUX_KMOD_SUFFIX)
270 AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
271 $(call AddDepends/usb-serial)
272 endef
273
274 define KernelPackage/usb-serial-belkin/description
275 Kernel support for Belkin USB-to-Serial converters
276 endef
277
278 $(eval $(call KernelPackage,usb-serial-belkin))
279
280
281 define KernelPackage/usb-serial-ch341
282 TITLE:=Support for CH341 devices
283 DEPENDS:=@LINUX_2_6
284 KCONFIG:=CONFIG_USB_SERIAL_CH341
285 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.$(LINUX_KMOD_SUFFIX)
286 AUTOLOAD:=$(call AutoLoad,65,ch341)
287 $(call AddDepends/usb-serial)
288 endef
289
290 define KernelPackage/usb-serial-belkin/description
291 Kernel support for Winchiphead CH341 USB-to-Serial converters
292 endef
293
294 $(eval $(call KernelPackage,usb-serial-ch341))
295
296
297 define KernelPackage/usb-serial-ftdi
298 TITLE:=Support for FTDI devices
299 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
300 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.$(LINUX_KMOD_SUFFIX)
301 AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
302 $(call AddDepends/usb-serial)
303 endef
304
305 define KernelPackage/usb-serial-ftdi/description
306 Kernel support for FTDI USB-to-Serial converters
307 endef
308
309 $(eval $(call KernelPackage,usb-serial-ftdi))
310
311
312 define KernelPackage/usb-serial-mct
313 TITLE:=Support for Magic Control Tech. devices
314 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
315 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.$(LINUX_KMOD_SUFFIX)
316 AUTOLOAD:=$(call AutoLoad,65,mct_u232)
317 $(call AddDepends/usb-serial)
318 endef
319
320 define KernelPackage/usb-serial-mct/description
321 Kernel support for Magic Control Technology USB-to-Serial converters
322 endef
323
324 $(eval $(call KernelPackage,usb-serial-mct))
325
326
327 define KernelPackage/usb-serial-pl2303
328 TITLE:=Support for Prolific PL2303 devices
329 KCONFIG:=CONFIG_USB_SERIAL_PL2303
330 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.$(LINUX_KMOD_SUFFIX)
331 AUTOLOAD:=$(call AutoLoad,65,pl2303)
332 $(call AddDepends/usb-serial)
333 endef
334
335 define KernelPackage/usb-serial-pl2303/description
336 Kernel support for Prolific PL2303 USB-to-Serial converters
337 endef
338
339 $(eval $(call KernelPackage,usb-serial-pl2303))
340
341
342 define KernelPackage/usb-serial-cp210x
343 TITLE:=Support for Silicon Labs cp210x devices
344 DEPENDS:=@LINUX_2_6
345 KCONFIG:=CONFIG_USB_SERIAL_CP210X
346 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.$(LINUX_KMOD_SUFFIX)
347 AUTOLOAD:=$(call AutoLoad,65,cp210x)
348 $(call AddDepends/usb-serial)
349 endef
350
351 define KernelPackage/usb-serial-cp210x/description
352 Kernel support for Silicon Labs cp210x USB-to-Serial converters
353 endef
354
355 $(eval $(call KernelPackage,usb-serial-cp210x))
356
357
358 define KernelPackage/usb-serial-ark3116
359 TITLE:=Support for ArkMicroChips ARK3116 devices
360 DEPENDS:=@LINUX_2_6
361 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
362 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.$(LINUX_KMOD_SUFFIX)
363 AUTOLOAD:=$(call AutoLoad,65,ark3116)
364 $(call AddDepends/usb-serial)
365 endef
366
367 define KernelPackage/usb-serial-ark3116/description
368 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
369 endef
370
371 $(eval $(call KernelPackage,usb-serial-ark3116))
372
373
374 define KernelPackage/usb-serial-oti6858
375 TITLE:=Support for Ours Technology OTI6858 devices
376 DEPENDS:=@LINUX_2_6
377 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
378 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.$(LINUX_KMOD_SUFFIX)
379 AUTOLOAD:=$(call AutoLoad,65,oti6858)
380 $(call AddDepends/usb-serial)
381 endef
382
383 define KernelPackage/usb-serial-oti6858/description
384 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
385 endef
386
387 $(eval $(call KernelPackage,usb-serial-oti6858))
388
389
390 define KernelPackage/usb-serial-sierrawireless
391 TITLE:=Support for Sierra Wireless devices
392 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
393 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.$(LINUX_KMOD_SUFFIX)
394 AUTOLOAD:=$(call AutoLoad,65,sierra)
395 $(call AddDepends/usb-serial)
396 endef
397
398 define KernelPackage/usb-serial-sierrawireless/description
399 Kernel support for Sierra Wireless devices
400 endef
401
402 $(eval $(call KernelPackage,usb-serial-sierrawireless))
403
404
405 define KernelPackage/usb-serial-motorola-phone
406 TITLE:=Support for Motorola usb phone
407 DEPENDS:=@LINUX_2_6
408 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
409 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.$(LINUX_KMOD_SUFFIX)
410 AUTOLOAD:=$(call AutoLoad,65,moto_modem)
411 $(call AddDepends/usb-serial)
412 endef
413
414 define KernelPackage/usb-serial-motorola-phone/description
415 Kernel support for Motorola usb phone
416 endef
417
418 $(eval $(call KernelPackage,usb-serial-motorola-phone))
419
420
421 define KernelPackage/usb-serial-visor
422 TITLE:=Support for Handspring Visor devices
423 KCONFIG:=CONFIG_USB_SERIAL_VISOR
424 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.$(LINUX_KMOD_SUFFIX)
425 AUTOLOAD:=$(call AutoLoad,65,visor)
426 $(call AddDepends/usb-serial)
427 endef
428
429 define KernelPackage/usb-serial-visor/description
430 Kernel support for Handspring Visor PDAs
431 endef
432
433 $(eval $(call KernelPackage,usb-serial-visor))
434
435
436 define KernelPackage/usb-serial-cypress-m8
437 TITLE:=Support for CypressM8 USB-Serial
438 DEPENDS:=@LINUX_2_6
439 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
440 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.$(LINUX_KMOD_SUFFIX)
441 AUTOLOAD:=$(call AutoLoad,65,cypress_m8)
442 $(call AddDepends/usb-serial)
443 endef
444
445 define KernelPackage/usb-serial-cypress-m8/description
446 Kernel support for devices with Cypress M8 USB to Serial chip
447 (for example, the Delorme Earthmate LT-20 GPS)
448 Supported microcontrollers in the CY4601 family are:
449 CY7C63741 CY7C63742 CY7C63743 CY7C64013
450 endef
451
452 $(eval $(call KernelPackage,usb-serial-cypress-m8))
453
454
455 define KernelPackage/usb-serial-keyspan
456 TITLE:=Support for Keyspan USB-to-Serial devices
457 KCONFIG:= \
458 CONFIG_USB_SERIAL_KEYSPAN \
459 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
460 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
461 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
462 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
463 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
464 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
465 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
466 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
467 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
468 CONFIG_USB_SERIAL_KEYSPAN_MPR \
469 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
470 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
471 FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
472 AUTOLOAD:=$(call AutoLoad,65,keyspan)
473 $(call AddDepends/usb-serial)
474 endef
475
476 define KernelPackage/usb-serial-keyspan/description
477 Kernel support for Keyspan USB-to-Serial devices
478 endef
479
480 $(eval $(call KernelPackage,usb-serial-keyspan))
481
482
483 define KernelPackage/usb-serial-option
484 TITLE:=Support for Option HSDPA modems
485 DEPENDS:=@LINUX_2_6
486 KCONFIG:=CONFIG_USB_SERIAL_OPTION
487 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.$(LINUX_KMOD_SUFFIX)
488 AUTOLOAD:=$(call AutoLoad,65,option)
489 $(call AddDepends/usb-serial)
490 endef
491
492 define KernelPackage/usb-serial-option/description
493 Kernel support for Option HSDPA modems
494 endef
495
496 $(eval $(call KernelPackage,usb-serial-option))
497
498
499 define KernelPackage/usb-storage
500 TITLE:=USB Storage support
501 DEPENDS:= +!TARGET_x86:kmod-scsi-core
502 KCONFIG:=CONFIG_USB_STORAGE
503 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
504 AUTOLOAD:=$(call AutoLoad,60,usb-storage,1)
505 $(call AddDepends/usb)
506 endef
507
508 define KernelPackage/usb-storage/description
509 Kernel support for USB Mass Storage devices
510 endef
511
512 $(eval $(call KernelPackage,usb-storage))
513
514
515 define KernelPackage/usb-storage-extras
516 SUBMENU:=$(USB_MENU)
517 TITLE:=Extra drivers for usb-storage
518 DEPENDS:=@LINUX_2_6 +kmod-usb-storage
519 KCONFIG:= \
520 CONFIG_USB_STORAGE_ALAUDA \
521 CONFIG_USB_STORAGE_CYPRESS_ATACB \
522 CONFIG_USB_STORAGE_DATAFAB \
523 CONFIG_USB_STORAGE_FREECOM \
524 CONFIG_USB_STORAGE_ISD200 \
525 CONFIG_USB_STORAGE_JUMPSHOT \
526 CONFIG_USB_STORAGE_KARMA \
527 CONFIG_USB_STORAGE_SDDR09 \
528 CONFIG_USB_STORAGE_SDDR55 \
529 CONFIG_USB_STORAGE_USBAT
530 FILES:= \
531 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.$(LINUX_KMOD_SUFFIX) \
532 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.$(LINUX_KMOD_SUFFIX) \
533 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.$(LINUX_KMOD_SUFFIX) \
534 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.$(LINUX_KMOD_SUFFIX) \
535 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.$(LINUX_KMOD_SUFFIX) \
536 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.$(LINUX_KMOD_SUFFIX) \
537 $(LINUX_DIR)/drivers/usb/storage/ums-karma.$(LINUX_KMOD_SUFFIX) \
538 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.$(LINUX_KMOD_SUFFIX) \
539 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.$(LINUX_KMOD_SUFFIX) \
540 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.$(LINUX_KMOD_SUFFIX)
541 AUTOLOAD:=$(call AutoLoad,60,ums-alauda ums-cypress ums-datafab \
542 ums-freecom ums-isd200 ums-jumpshot \
543 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
544 endef
545
546 define KernelPackage/usb-storage-extras/description
547 Say Y here if you want to have some more drivers,
548 such as for SmartMedia card readers.
549 endef
550
551 $(eval $(call KernelPackage,usb-storage-extras))
552
553
554 define KernelPackage/usb-video
555 TITLE:=Support for USB video devices
556 DEPENDS:=@LINUX_2_6
557 KCONFIG:=CONFIG_VIDEO_USBVIDEO
558 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.$(LINUX_KMOD_SUFFIX)
559 AUTOLOAD:=$(call AutoLoad,61,usbvideo)
560 $(call AddDepends/usb)
561 endef
562
563 define KernelPackage/usb-video/description
564 Kernel support for USB video devices
565 endef
566
567 $(eval $(call KernelPackage,usb-video))
568
569
570 define KernelPackage/usb-atm
571 TITLE:=Support for ATM on USB bus
572 DEPENDS:=@LINUX_2_6 +kmod-atm
573 KCONFIG:=CONFIG_USB_ATM
574 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.$(LINUX_KMOD_SUFFIX)
575 AUTOLOAD:=$(call AutoLoad,60,usbatm)
576 $(call AddDepends/usb)
577 endef
578
579 define KernelPackage/usb-atm/description
580 Kernel support for USB DSL modems
581 endef
582
583 $(eval $(call KernelPackage,usb-atm))
584
585
586 define AddDepends/usb-atm
587 SUBMENU:=$(USB_MENU)
588 DEPENDS+=kmod-usb-atm $(1)
589 endef
590
591
592 define KernelPackage/usb-atm-speedtouch
593 TITLE:=SpeedTouch USB ADSL modems support
594 DEPENDS:=@LINUX_2_6
595 KCONFIG:=CONFIG_USB_SPEEDTOUCH
596 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
597 AUTOLOAD:=$(call AutoLoad,70,speedtch)
598 $(call AddDepends/usb-atm)
599 endef
600
601 define KernelPackage/usb-atm-speedtouch/description
602 Kernel support for SpeedTouch USB ADSL modems
603 endef
604
605 $(eval $(call KernelPackage,usb-atm-speedtouch))
606
607
608 define KernelPackage/usb-atm-ueagle
609 TITLE:=Eagle 8051 based USB ADSL modems support
610 DEPENDS:=@LINUX_2_6
611 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
612 KCONFIG:=CONFIG_USB_UEAGLEATM
613 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
614 $(call AddDepends/usb-atm)
615 endef
616
617 define KernelPackage/usb-atm-ueagle/description
618 Kernel support for Eagle 8051 based USB ADSL modems
619 endef
620
621 $(eval $(call KernelPackage,usb-atm-ueagle))
622
623
624 define KernelPackage/usb-atm-cxacru
625 TITLE:=cxacru
626 DEPENDS:=@LINUX_2_6
627 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.$(LINUX_KMOD_SUFFIX)
628 KCONFIG:=CONFIG_USB_CXACRU
629 AUTOLOAD:=$(call AutoLoad,70,cxacru)
630 $(call AddDepends/usb-atm)
631 endef
632
633 define KernelPackage/usb-atm-cxacru/description
634 Kernel support for cxacru based USB ADSL modems
635 endef
636
637 $(eval $(call KernelPackage,usb-atm-cxacru))
638
639
640 define KernelPackage/usb-net
641 TITLE:=Kernel modules for USB-to-Ethernet convertors
642 KCONFIG:=CONFIG_USB_USBNET
643 AUTOLOAD:=$(call AutoLoad,60,usbnet)
644 $(call AddDepends/usb)
645 endef
646
647 define KernelPackage/usb-net/2.4
648 FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
649 endef
650
651 define KernelPackage/usb-net/2.6
652 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
653 endef
654
655 define KernelPackage/usb-net/description
656 Kernel modules for USB-to-Ethernet convertors
657 endef
658
659 $(eval $(call KernelPackage,usb-net))
660
661
662 define AddDepends/usb-net
663 SUBMENU:=$(USB_MENU)
664 DEPENDS+=kmod-usb-net $(1)
665 endef
666
667
668 define KernelPackage/usb-net-asix
669 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
670 DEPENDS:=@LINUX_2_6
671 KCONFIG:=CONFIG_USB_NET_AX8817X
672 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
673 AUTOLOAD:=$(call AutoLoad,61,asix)
674 $(call AddDepends/usb-net)
675 endef
676
677 define KernelPackage/usb-net-asix/description
678 Kernel module for USB-to-Ethernet Asix convertors
679 endef
680
681 $(eval $(call KernelPackage,usb-net-asix))
682
683
684 define KernelPackage/usb-net-hso
685 TITLE:=Kernel module for Option USB High Speed Mobile Devices
686 DEPENDS:=@LINUX_2_6
687 KCONFIG:=CONFIG_USB_HSO
688 FILES:= \
689 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
690 AUTOLOAD:=$(call AutoLoad,61,hso)
691 $(call AddDepends/usb-net)
692 $(call AddDepends/rfkill)
693 endef
694
695 define KernelPackage/usb-net-hso/description
696 Kernel module for Option USB High Speed Mobile Devices
697 endef
698
699 $(eval $(call KernelPackage,usb-net-hso))
700
701
702 define KernelPackage/usb-net-kaweth
703 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
704 DEPENDS:=@LINUX_2_6
705 KCONFIG:=CONFIG_USB_KAWETH
706 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
707 AUTOLOAD:=$(call AutoLoad,61,kaweth)
708 $(call AddDepends/usb-net)
709 endef
710
711 define KernelPackage/usb-net-kaweth/description
712 Kernel module for USB-to-Ethernet Kaweth convertors
713 endef
714
715 $(eval $(call KernelPackage,usb-net-kaweth))
716
717
718 define KernelPackage/usb-net-pegasus
719 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
720 DEPENDS:=@LINUX_2_6
721 KCONFIG:=CONFIG_USB_PEGASUS
722 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
723 AUTOLOAD:=$(call AutoLoad,61,pegasus)
724 $(call AddDepends/usb-net)
725 endef
726
727 define KernelPackage/usb-net-pegasus/description
728 Kernel module for USB-to-Ethernet Pegasus convertors
729 endef
730
731 $(eval $(call KernelPackage,usb-net-pegasus))
732
733
734 define KernelPackage/usb-net-mcs7830
735 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
736 DEPENDS:=@LINUX_2_6
737 KCONFIG:=CONFIG_USB_NET_MCS7830
738 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
739 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
740 $(call AddDepends/usb-net)
741 endef
742
743 define KernelPackage/usb-net-mcs7830/description
744 Kernel module for USB-to-Ethernet MCS7830 convertors
745 endef
746
747 $(eval $(call KernelPackage,usb-net-mcs7830))
748
749
750 define KernelPackage/usb-net-dm9601-ether
751 TITLE:=Support for DM9601 ethernet connections
752 DEPENDS:=@LINUX_2_6
753 KCONFIG:=CONFIG_USB_NET_DM9601
754 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
755 AUTOLOAD:=$(call AutoLoad,61,dm9601)
756 $(call AddDepends/usb-net)
757 endef
758
759 define KernelPackage/usb-net-dm9601-ether/description
760 Kernel support for USB DM9601 devices
761 endef
762
763 $(eval $(call KernelPackage,usb-net-dm9601-ether))
764
765 define KernelPackage/usb-net-cdc-ether
766 TITLE:=Support for cdc ethernet connections
767 DEPENDS:=@LINUX_2_6
768 KCONFIG:=CONFIG_USB_NET_CDCETHER
769 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
770 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
771 $(call AddDepends/usb-net)
772 endef
773
774 define KernelPackage/usb-net-cdc-ether/description
775 Kernel support for USB CDC Ethernet devices
776 endef
777
778 $(eval $(call KernelPackage,usb-net-cdc-ether))
779
780
781 define KernelPackage/usb-net-rndis
782 TITLE:=Support for RNDIS connections
783 DEPENDS:=@LINUX_2_6
784 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
785 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
786 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
787 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
788 endef
789
790 define KernelPackage/usb-net-rndis/description
791 Kernel support for RNDIS connections
792 endef
793
794 $(eval $(call KernelPackage,usb-net-rndis))
795
796
797 define KernelPackage/usb-hid
798 TITLE:=Support for USB Human Input Devices
799 DEPENDS:=@LINUX_2_6
800 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
801 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
802 AUTOLOAD:=$(call AutoLoad,70,usbhid)
803 $(call AddDepends/usb)
804 $(call AddDepends/hid)
805 $(call AddDepends/input,+kmod-input-evdev)
806 endef
807
808
809 define KernelPackage/usb-hid/description
810 Kernel support for USB HID devices such as keyboards and mice
811 endef
812
813 $(eval $(call KernelPackage,usb-hid))
814
815
816 define KernelPackage/usb-yealink
817 TITLE:=USB Yealink VOIP phone
818 DEPENDS:=@LINUX_2_6
819 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
820 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
821 AUTOLOAD:=$(call AutoLoad,70,yealink)
822 $(call AddDepends/usb)
823 $(call AddDepends/input,+kmod-input-evdev)
824 endef
825
826 define KernelPackage/usb-yealink/description
827 Kernel support for Yealink VOIP phone
828 endef
829
830 $(eval $(call KernelPackage,usb-yealink))
831
832
833 define KernelPackage/usb-cm109
834 TITLE:=Support for CM109 device
835 DEPENDS:=@LINUX_2_6
836 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
837 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
838 AUTOLOAD:=$(call AutoLoad,70,cm109)
839 $(call AddDepends/usb)
840 $(call AddDepends/input,+kmod-input-evdev)
841 endef
842
843 define KernelPackage/usb-cm109/description
844 Kernel support for CM109 VOIP phone
845 endef
846
847 $(eval $(call KernelPackage,usb-cm109))
848
849
850 define KernelPackage/usb-test
851 TITLE:=USB Testing Driver
852 DEPENDS:=@LINUX_2_6 @DEVEL
853 KCONFIG:=CONFIG_USB_TEST
854 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
855 $(call AddDepends/usb)
856 endef
857
858 define KernelPackage/usb-test/description
859 Kernel support for testing USB Host Controller software.
860 endef
861
862 $(eval $(call KernelPackage,usb-test))
863
864
865 define KernelPackage/usb-phidget
866 TITLE:=USB Phidget Driver
867 DEPENDS:=@LINUX_2_6
868 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
869 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
870 $(call AddDepends/usb)
871 endef
872
873 define KernelPackage/usb-phidget/description
874 Kernel support for USB Phidget devices.
875 endef
876
877 $(eval $(call KernelPackage,usb-phidget))
878
This page took 0.106541 seconds and 5 git commands to generate.