[tools] mm-macros: update to 0.9.5
[openwrt.git] / package / kernel / modules / usb.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 USB_MENU:=USB Support
9
10 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define KernelPackage/usb-core
15 SUBMENU:=$(USB_MENU)
16 TITLE:=Support for USB
17 DEPENDS:=@USB_SUPPORT
18 KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
19 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
20 FILES:= \
21 $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
22 $(LINUX_DIR)/drivers/usb/usb-common.ko
23 AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
24 else
25 FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
26 AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
27 endif
28 $(call AddDepends/nls)
29 endef
30
31 define KernelPackage/usb-core/description
32 Kernel support for USB
33 endef
34
35 $(eval $(call KernelPackage,usb-core))
36
37
38 define AddDepends/usb
39 SUBMENU:=$(USB_MENU)
40 DEPENDS+=+!TARGET_etrax:kmod-usb-core $(1)
41 endef
42
43
44 define KernelPackage/usb-gadget
45 TITLE:=USB Gadget support
46 KCONFIG:=CONFIG_USB_GADGET
47 FILES:=
48 AUTOLOAD:=
49 DEPENDS:=@USB_GADGET_SUPPORT
50 $(call AddDepends/usb)
51 endef
52
53 define KernelPackage/usb-gadget/description
54 Kernel support for USB Gadget mode.
55 endef
56
57 $(eval $(call KernelPackage,usb-gadget))
58
59
60 define KernelPackage/usb-eth-gadget
61 TITLE:=USB Ethernet Gadget support
62 KCONFIG:= \
63 CONFIG_USB_ETH \
64 CONFIG_USB_ETH_RNDIS=y \
65 CONFIG_USB_ETH_EEM=y
66 DEPENDS:=+kmod-usb-gadget
67 FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
68 AUTOLOAD:=$(call AutoLoad,52,g_ether)
69 $(call AddDepends/usb)
70 endef
71
72 define KernelPackage/usb-eth-gadget/description
73 Kernel support for USB Ethernet Gadget.
74 endef
75
76 $(eval $(call KernelPackage,usb-eth-gadget))
77
78
79 define KernelPackage/usb-uhci
80 TITLE:=Support for UHCI controllers
81 KCONFIG:= \
82 CONFIG_USB_UHCI_ALT \
83 CONFIG_USB_UHCI_HCD
84 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
85 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
86 $(call AddDepends/usb)
87 endef
88
89 define KernelPackage/usb-uhci/description
90 Kernel support for USB UHCI controllers
91 endef
92
93 $(eval $(call KernelPackage,usb-uhci,1))
94
95
96 define KernelPackage/usb-ohci
97 TITLE:=Support for OHCI controllers
98 DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
99 KCONFIG:= \
100 CONFIG_USB_OHCI \
101 CONFIG_USB_OHCI_HCD \
102 CONFIG_USB_OHCI_ATH79=y \
103 CONFIG_USB_OHCI_BCM63XX=y \
104 CONFIG_USB_OHCI_RT3883=y \
105 CONFIG_USB_OCTEON_OHCI=y
106 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
107 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
108 $(call AddDepends/usb)
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/musb-hdrc
119 TITLE:=Support for Mentor Graphics silicon dual role USB
120 KCONFIG:= \
121 CONFIG_USB_MUSB_HDRC \
122 CONFIG_MUSB_PIO_ONLY=n \
123 CONFIG_USB_MUSB_OTG=y \
124 CONFIG_USB_MUSB_DEBUG=y
125 DEPENDS:=@TARGET_omap24xx
126 FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
127 AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
128 $(call AddDepends/usb)
129 endef
130
131 define KernelPackage/musb-hdrc/description
132 Kernel support for Mentor Graphics silicon dual role USB device.
133 endef
134
135 $(eval $(call KernelPackage,musb-hdrc))
136
137
138 define KernelPackage/nop-usb-xceiv
139 TITLE:=Support for USB OTG NOP transceiver
140 KCONFIG:= \
141 CONFIG_NOP_USB_XCEIV
142 DEPENDS:=@TARGET_omap24xx
143 FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
144 AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv)
145 $(call AddDepends/usb)
146 endef
147
148 define KernelPackage/nop-usb-xceiv/description
149 Support for USB OTG NOP transceiver
150 endef
151
152 $(eval $(call KernelPackage,nop-usb-xceiv))
153
154
155 define KernelPackage/tusb6010
156 TITLE:=Support for TUSB 6010
157 KCONFIG:= \
158 CONFIG_USB_MUSB_TUSB6010 \
159 CONFIG_USB_TUSB6010=y
160 DEPENDS:=+kmod-musb-hdrc +kmod-nop-usb-xceiv
161 $(call AddDepends/usb)
162 endef
163
164 define KernelPackage/tusb6010/description
165 TUSB6010 support
166 endef
167
168 $(eval $(call KernelPackage,tusb6010))
169
170
171 define KernelPackage/usb-tahvo
172 TITLE:=Support for Tahvo (Nokia n810) USB
173 KCONFIG:= \
174 CONFIG_CBUS_TAHVO_USB \
175 CONFIG_CBUS_TAHVO_USB_HOST_BY_DEFAULT=n \
176 CONFIG_USB_OHCI_HCD_OMAP1=y \
177 CONFIG_USB_GADGET_DEBUG_FS=n
178 DEPENDS:=@TARGET_omap24xx +kmod-tusb6010 +kmod-usb-gadget
179 FILES:=$(LINUX_DIR)/drivers/cbus/tahvo-usb.ko
180 AUTOLOAD:=$(call AutoLoad,45,tahvo-usb)
181 $(call AddDepends/usb)
182 endef
183
184 define KernelPackage/usb-tahvo/description
185 Kernel support for Nokia n810 USB OHCI controller.
186 endef
187
188 $(eval $(call KernelPackage,usb-tahvo))
189
190
191 define KernelPackage/usb-isp116x-hcd
192 TITLE:=Support for the ISP116x USB Host Controller
193 DEPENDS:=@TARGET_ppc40x
194 KCONFIG:= \
195 CONFIG_USB_ISP116X_HCD \
196 CONFIG_USB_ISP116X_HCD_OF=y \
197 CONFIG_USB_ISP116X_HCD_PLATFORM=n
198 FILES:=$(LINUX_DIR)/drivers/usb/host/isp116x-hcd.ko
199 AUTOLOAD:=$(call AutoLoad,50,isp116x-hcd)
200 $(call AddDepends/usb)
201 endef
202
203 define KernelPackage/usb-isp116x-hcd/description
204 Kernel support for the ISP116X USB Host Controller
205 endef
206
207 $(eval $(call KernelPackage,usb-isp116x-hcd))
208
209
210 define KernelPackage/usb2
211 TITLE:=Support for USB2 controllers
212 DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
213 KCONFIG:=CONFIG_USB_EHCI_HCD \
214 CONFIG_USB_EHCI_ATH79=y \
215 CONFIG_USB_EHCI_BCM63XX=y \
216 CONFIG_USB_EHCI_RT3883=y \
217 CONFIG_USB_OCTEON_EHCI=y \
218 CONFIG_USB_EHCI_FSL=n
219 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
220 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
221 $(call AddDepends/usb)
222 endef
223
224 define KernelPackage/usb2/description
225 Kernel support for USB2 (EHCI) controllers
226 endef
227
228 $(eval $(call KernelPackage,usb2))
229
230
231 define KernelPackage/usb-acm
232 TITLE:=Support for modems/isdn controllers
233 KCONFIG:=CONFIG_USB_ACM
234 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
235 AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
236 $(call AddDepends/usb)
237 endef
238
239 define KernelPackage/usb-acm/description
240 Kernel support for USB ACM devices (modems/isdn controllers)
241 endef
242
243 $(eval $(call KernelPackage,usb-acm))
244
245
246 define KernelPackage/usb-audio
247 TITLE:=Support for USB audio devices
248 KCONFIG:= \
249 CONFIG_USB_AUDIO \
250 CONFIG_SND_USB_AUDIO
251 $(call AddDepends/usb)
252 $(call AddDepends/sound)
253 # For Linux 2.6.35+
254 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
255 FILES:= \
256 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
257 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
258 AUTOLOAD:=$(call AutoLoad,60,snd-usbmidi-lib snd-usb-audio)
259 else
260 FILES:= \
261 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
262 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
263 AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
264 endif
265 endef
266
267 define KernelPackage/usb-audio/description
268 Kernel support for USB audio devices
269 endef
270
271 $(eval $(call KernelPackage,usb-audio))
272
273
274 define KernelPackage/usb-printer
275 TITLE:=Support for printers
276 KCONFIG:=CONFIG_USB_PRINTER
277 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
278 AUTOLOAD:=$(call AutoLoad,60,usblp)
279 $(call AddDepends/usb)
280 endef
281
282 define KernelPackage/usb-printer/description
283 Kernel support for USB printers
284 endef
285
286 $(eval $(call KernelPackage,usb-printer))
287
288
289 define KernelPackage/usb-serial
290 TITLE:=Support for USB-to-Serial converters
291 KCONFIG:=CONFIG_USB_SERIAL
292 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
293 AUTOLOAD:=$(call AutoLoad,60,usbserial)
294 $(call AddDepends/usb)
295 endef
296
297 define KernelPackage/usb-serial/description
298 Kernel support for USB-to-Serial converters
299 endef
300
301 $(eval $(call KernelPackage,usb-serial))
302
303
304 define AddDepends/usb-serial
305 SUBMENU:=$(USB_MENU)
306 DEPENDS+=kmod-usb-serial $(1)
307 endef
308
309
310 define KernelPackage/usb-serial-airprime
311 TITLE:=Support for Airprime (EVDO)
312 KCONFIG:=CONFIG_USB_SERIAL_AIRPRIME
313 FILES:=$(LINUX_DIR)/drivers/usb/serial/airprime.ko
314 AUTOLOAD:=$(call AutoLoad,65,airprime)
315 $(call AddDepends/usb-serial)
316 endef
317
318 define KernelPackage/usb-serial-airprime/description
319 Kernel support for Airprime (EVDO)
320 endef
321
322 $(eval $(call KernelPackage,usb-serial-airprime))
323
324
325 define KernelPackage/usb-serial-belkin
326 TITLE:=Support for Belkin devices
327 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
328 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
329 AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
330 $(call AddDepends/usb-serial)
331 endef
332
333 define KernelPackage/usb-serial-belkin/description
334 Kernel support for Belkin USB-to-Serial converters
335 endef
336
337 $(eval $(call KernelPackage,usb-serial-belkin))
338
339
340 define KernelPackage/usb-serial-ch341
341 TITLE:=Support for CH341 devices
342 KCONFIG:=CONFIG_USB_SERIAL_CH341
343 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
344 AUTOLOAD:=$(call AutoLoad,65,ch341)
345 $(call AddDepends/usb-serial)
346 endef
347
348 define KernelPackage/usb-serial-ch341/description
349 Kernel support for Winchiphead CH341 USB-to-Serial converters
350 endef
351
352 $(eval $(call KernelPackage,usb-serial-ch341))
353
354
355 define KernelPackage/usb-serial-ftdi
356 TITLE:=Support for FTDI devices
357 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
358 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
359 AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
360 $(call AddDepends/usb-serial)
361 endef
362
363 define KernelPackage/usb-serial-ftdi/description
364 Kernel support for FTDI USB-to-Serial converters
365 endef
366
367 $(eval $(call KernelPackage,usb-serial-ftdi))
368
369
370 define KernelPackage/usb-serial-ti-usb
371 TITLE:=Support for TI USB 3410/5052
372 KCONFIG:=CONFIG_USB_SERIAL_TI
373 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
374 AUTOLOAD:=$(call AutoLoad,65,ti_usb_3410_5052)
375 $(call AddDepends/usb-serial)
376 endef
377
378 define KernelPackage/usb-serial-ti-usb/description
379 Kernel support for TI USB 3410/5052 devices
380 endef
381
382 $(eval $(call KernelPackage,usb-serial-ti-usb))
383
384
385 define KernelPackage/usb-serial-ipw
386 TITLE:=Support for IPWireless 3G devices
387 KCONFIG:=CONFIG_USB_SERIAL_IPW
388 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
389 AUTOLOAD:=$(call AutoLoad,65,ipw)
390 $(call AddDepends/usb-serial)
391 endef
392
393 $(eval $(call KernelPackage,usb-serial-ipw))
394
395
396 define KernelPackage/usb-serial-mct
397 TITLE:=Support for Magic Control Tech. devices
398 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
399 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
400 AUTOLOAD:=$(call AutoLoad,65,mct_u232)
401 $(call AddDepends/usb-serial)
402 endef
403
404 define KernelPackage/usb-serial-mct/description
405 Kernel support for Magic Control Technology USB-to-Serial converters
406 endef
407
408 $(eval $(call KernelPackage,usb-serial-mct))
409
410
411 define KernelPackage/usb-serial-mos7720
412 TITLE:=Support for Moschip MOS7720 devices
413 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
414 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
415 AUTOLOAD:=$(call AutoLoad,65,mos7720)
416 $(call AddDepends/usb-serial)
417 endef
418
419 define KernelPackage/usb-serial-mos7720/description
420 Kernel support for Moschip MOS7720 USB-to-Serial converters
421 endef
422
423 $(eval $(call KernelPackage,usb-serial-mos7720))
424
425
426 define KernelPackage/usb-serial-pl2303
427 TITLE:=Support for Prolific PL2303 devices
428 KCONFIG:=CONFIG_USB_SERIAL_PL2303
429 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
430 AUTOLOAD:=$(call AutoLoad,65,pl2303)
431 $(call AddDepends/usb-serial)
432 endef
433
434 define KernelPackage/usb-serial-pl2303/description
435 Kernel support for Prolific PL2303 USB-to-Serial converters
436 endef
437
438 $(eval $(call KernelPackage,usb-serial-pl2303))
439
440
441 define KernelPackage/usb-serial-cp210x
442 TITLE:=Support for Silicon Labs cp210x devices
443 KCONFIG:=CONFIG_USB_SERIAL_CP210X
444 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
445 AUTOLOAD:=$(call AutoLoad,65,cp210x)
446 $(call AddDepends/usb-serial)
447 endef
448
449 define KernelPackage/usb-serial-cp210x/description
450 Kernel support for Silicon Labs cp210x USB-to-Serial converters
451 endef
452
453 $(eval $(call KernelPackage,usb-serial-cp210x))
454
455
456 define KernelPackage/usb-serial-ark3116
457 TITLE:=Support for ArkMicroChips ARK3116 devices
458 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
459 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
460 AUTOLOAD:=$(call AutoLoad,65,ark3116)
461 $(call AddDepends/usb-serial)
462 endef
463
464 define KernelPackage/usb-serial-ark3116/description
465 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
466 endef
467
468 $(eval $(call KernelPackage,usb-serial-ark3116))
469
470
471 define KernelPackage/usb-serial-oti6858
472 TITLE:=Support for Ours Technology OTI6858 devices
473 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
474 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
475 AUTOLOAD:=$(call AutoLoad,65,oti6858)
476 $(call AddDepends/usb-serial)
477 endef
478
479 define KernelPackage/usb-serial-oti6858/description
480 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
481 endef
482
483 $(eval $(call KernelPackage,usb-serial-oti6858))
484
485
486 define KernelPackage/usb-serial-sierrawireless
487 TITLE:=Support for Sierra Wireless devices
488 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
489 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
490 AUTOLOAD:=$(call AutoLoad,65,sierra)
491 $(call AddDepends/usb-serial)
492 endef
493
494 define KernelPackage/usb-serial-sierrawireless/description
495 Kernel support for Sierra Wireless devices
496 endef
497
498 $(eval $(call KernelPackage,usb-serial-sierrawireless))
499
500
501 define KernelPackage/usb-serial-motorola-phone
502 TITLE:=Support for Motorola usb phone
503 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
504 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
505 AUTOLOAD:=$(call AutoLoad,65,moto_modem)
506 $(call AddDepends/usb-serial)
507 endef
508
509 define KernelPackage/usb-serial-motorola-phone/description
510 Kernel support for Motorola usb phone
511 endef
512
513 $(eval $(call KernelPackage,usb-serial-motorola-phone))
514
515
516 define KernelPackage/usb-serial-visor
517 TITLE:=Support for Handspring Visor devices
518 KCONFIG:=CONFIG_USB_SERIAL_VISOR
519 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
520 AUTOLOAD:=$(call AutoLoad,65,visor)
521 $(call AddDepends/usb-serial)
522 endef
523
524 define KernelPackage/usb-serial-visor/description
525 Kernel support for Handspring Visor PDAs
526 endef
527
528 $(eval $(call KernelPackage,usb-serial-visor))
529
530
531 define KernelPackage/usb-serial-cypress-m8
532 TITLE:=Support for CypressM8 USB-Serial
533 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
534 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
535 AUTOLOAD:=$(call AutoLoad,65,cypress_m8)
536 $(call AddDepends/usb-serial)
537 endef
538
539 define KernelPackage/usb-serial-cypress-m8/description
540 Kernel support for devices with Cypress M8 USB to Serial chip
541 (for example, the Delorme Earthmate LT-20 GPS)
542 Supported microcontrollers in the CY4601 family are:
543 CY7C63741 CY7C63742 CY7C63743 CY7C64013
544 endef
545
546 $(eval $(call KernelPackage,usb-serial-cypress-m8))
547
548
549 define KernelPackage/usb-serial-keyspan
550 TITLE:=Support for Keyspan USB-to-Serial devices
551 KCONFIG:= \
552 CONFIG_USB_SERIAL_KEYSPAN \
553 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
554 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
555 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
556 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
557 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
558 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
559 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
560 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
561 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
562 CONFIG_USB_SERIAL_KEYSPAN_MPR \
563 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
564 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
565 FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.ko
566 AUTOLOAD:=$(call AutoLoad,65,keyspan)
567 $(call AddDepends/usb-serial)
568 endef
569
570 define KernelPackage/usb-serial-keyspan/description
571 Kernel support for Keyspan USB-to-Serial devices
572 endef
573
574 $(eval $(call KernelPackage,usb-serial-keyspan))
575
576
577 define KernelPackage/usb-serial-wwan
578 TITLE:=Support for GSM and CDMA modems
579 DEPENDS:= @!LINUX_2_6_30&&!LINUX_2_6_31&&!LINUX_2_6_32
580 KCONFIG:=CONFIG_USB_SERIAL_WWAN
581 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
582 AUTOLOAD:=$(call AutoLoad,61,usb_wwan)
583 $(call AddDepends/usb-serial)
584 endef
585
586 define KernelPackage/usb-serial-wwan/description
587 Kernel support for USB GSM and CDMA modems
588 endef
589
590 $(eval $(call KernelPackage,usb-serial-wwan))
591
592
593 define KernelPackage/usb-serial-option
594 TITLE:=Support for Option HSDPA modems
595 DEPENDS:=+!LINUX_2_6_30&&!LINUX_2_6_31&&!LINUX_2_6_32:kmod-usb-serial-wwan
596 KCONFIG:=CONFIG_USB_SERIAL_OPTION
597 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
598 AUTOLOAD:=$(call AutoLoad,65,option)
599 $(call AddDepends/usb-serial)
600 endef
601
602 define KernelPackage/usb-serial-option/description
603 Kernel support for Option HSDPA modems
604 endef
605
606 $(eval $(call KernelPackage,usb-serial-option))
607
608
609 define KernelPackage/usb-serial-qualcomm
610 TITLE:=Support for Qualcomm USB serial
611 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
612 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
613 AUTOLOAD:=$(call AutoLoad,65,qcserial)
614 $(call AddDepends/usb-serial)
615 endef
616
617 define KernelPackage/usb-serial-qualcomm/description
618 Kernel support for Qualcomm USB Serial devices (Gobi)
619 endef
620
621 $(eval $(call KernelPackage,usb-serial-qualcomm))
622
623
624 define KernelPackage/usb-storage
625 TITLE:=USB Storage support
626 DEPENDS:= +kmod-scsi-core
627 KCONFIG:=CONFIG_USB_STORAGE
628 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
629 AUTOLOAD:=$(call AutoLoad,60,usb-storage,1)
630 $(call AddDepends/usb)
631 endef
632
633 define KernelPackage/usb-storage/description
634 Kernel support for USB Mass Storage devices
635 endef
636
637 $(eval $(call KernelPackage,usb-storage))
638
639
640 define KernelPackage/usb-storage-extras
641 SUBMENU:=$(USB_MENU)
642 TITLE:=Extra drivers for usb-storage
643 DEPENDS:=+kmod-usb-storage
644 KCONFIG:= \
645 CONFIG_USB_STORAGE_ALAUDA \
646 CONFIG_USB_STORAGE_CYPRESS_ATACB \
647 CONFIG_USB_STORAGE_DATAFAB \
648 CONFIG_USB_STORAGE_FREECOM \
649 CONFIG_USB_STORAGE_ISD200 \
650 CONFIG_USB_STORAGE_JUMPSHOT \
651 CONFIG_USB_STORAGE_KARMA \
652 CONFIG_USB_STORAGE_SDDR09 \
653 CONFIG_USB_STORAGE_SDDR55 \
654 CONFIG_USB_STORAGE_USBAT
655 FILES:= \
656 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
657 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
658 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
659 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
660 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
661 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
662 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
663 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
664 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
665 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
666 AUTOLOAD:=$(call AutoLoad,60,ums-alauda ums-cypress ums-datafab \
667 ums-freecom ums-isd200 ums-jumpshot \
668 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
669 endef
670
671 define KernelPackage/usb-storage-extras/description
672 Say Y here if you want to have some more drivers,
673 such as for SmartMedia card readers.
674 endef
675
676 $(eval $(call KernelPackage,usb-storage-extras))
677
678
679 define KernelPackage/usb-video
680 TITLE:=Support for USB video devices
681 KCONFIG:=CONFIG_VIDEO_USBVIDEO
682 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.ko
683 AUTOLOAD:=$(call AutoLoad,61,usbvideo)
684 $(call AddDepends/usb)
685 endef
686
687 define KernelPackage/usb-video/description
688 Kernel support for USB video devices
689 endef
690
691 $(eval $(call KernelPackage,usb-video))
692
693
694 define KernelPackage/usb-atm
695 TITLE:=Support for ATM on USB bus
696 DEPENDS:=+kmod-atm
697 KCONFIG:=CONFIG_USB_ATM
698 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
699 AUTOLOAD:=$(call AutoLoad,60,usbatm)
700 $(call AddDepends/usb)
701 endef
702
703 define KernelPackage/usb-atm/description
704 Kernel support for USB DSL modems
705 endef
706
707 $(eval $(call KernelPackage,usb-atm))
708
709
710 define AddDepends/usb-atm
711 SUBMENU:=$(USB_MENU)
712 DEPENDS+=kmod-usb-atm $(1)
713 endef
714
715
716 define KernelPackage/usb-atm-speedtouch
717 TITLE:=SpeedTouch USB ADSL modems support
718 KCONFIG:=CONFIG_USB_SPEEDTOUCH
719 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
720 AUTOLOAD:=$(call AutoLoad,70,speedtch)
721 $(call AddDepends/usb-atm)
722 endef
723
724 define KernelPackage/usb-atm-speedtouch/description
725 Kernel support for SpeedTouch USB ADSL modems
726 endef
727
728 $(eval $(call KernelPackage,usb-atm-speedtouch))
729
730
731 define KernelPackage/usb-atm-ueagle
732 TITLE:=Eagle 8051 based USB ADSL modems support
733 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
734 KCONFIG:=CONFIG_USB_UEAGLEATM
735 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
736 $(call AddDepends/usb-atm)
737 endef
738
739 define KernelPackage/usb-atm-ueagle/description
740 Kernel support for Eagle 8051 based USB ADSL modems
741 endef
742
743 $(eval $(call KernelPackage,usb-atm-ueagle))
744
745
746 define KernelPackage/usb-atm-cxacru
747 TITLE:=cxacru
748 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
749 KCONFIG:=CONFIG_USB_CXACRU
750 AUTOLOAD:=$(call AutoLoad,70,cxacru)
751 $(call AddDepends/usb-atm)
752 endef
753
754 define KernelPackage/usb-atm-cxacru/description
755 Kernel support for cxacru based USB ADSL modems
756 endef
757
758 $(eval $(call KernelPackage,usb-atm-cxacru))
759
760
761 define KernelPackage/usb-net
762 TITLE:=Kernel modules for USB-to-Ethernet convertors
763 KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
764 AUTOLOAD:=$(call AutoLoad,60,usbnet)
765 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
766 $(call AddDepends/usb)
767 endef
768
769 define KernelPackage/usb-net/description
770 Kernel modules for USB-to-Ethernet convertors
771 endef
772
773 $(eval $(call KernelPackage,usb-net))
774
775
776 define AddDepends/usb-net
777 SUBMENU:=$(USB_MENU)
778 DEPENDS+=kmod-usb-net $(1)
779 endef
780
781
782 define KernelPackage/usb-net-asix
783 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
784 KCONFIG:=CONFIG_USB_NET_AX8817X
785 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
786 AUTOLOAD:=$(call AutoLoad,61,asix)
787 $(call AddDepends/usb-net)
788 endef
789
790 define KernelPackage/usb-net-asix/description
791 Kernel module for USB-to-Ethernet Asix convertors
792 endef
793
794 $(eval $(call KernelPackage,usb-net-asix))
795
796
797 define KernelPackage/usb-net-hso
798 TITLE:=Kernel module for Option USB High Speed Mobile Devices
799 KCONFIG:=CONFIG_USB_HSO
800 FILES:= \
801 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
802 AUTOLOAD:=$(call AutoLoad,61,hso)
803 $(call AddDepends/usb-net)
804 $(call AddDepends/rfkill)
805 endef
806
807 define KernelPackage/usb-net-hso/description
808 Kernel module for Option USB High Speed Mobile Devices
809 endef
810
811 $(eval $(call KernelPackage,usb-net-hso))
812
813
814 define KernelPackage/usb-net-kaweth
815 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
816 KCONFIG:=CONFIG_USB_KAWETH
817 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
818 AUTOLOAD:=$(call AutoLoad,61,kaweth)
819 $(call AddDepends/usb-net)
820 endef
821
822 define KernelPackage/usb-net-kaweth/description
823 Kernel module for USB-to-Ethernet Kaweth convertors
824 endef
825
826 $(eval $(call KernelPackage,usb-net-kaweth))
827
828
829 define KernelPackage/usb-net-pegasus
830 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
831 KCONFIG:=CONFIG_USB_PEGASUS
832 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
833 AUTOLOAD:=$(call AutoLoad,61,pegasus)
834 $(call AddDepends/usb-net)
835 endef
836
837 define KernelPackage/usb-net-pegasus/description
838 Kernel module for USB-to-Ethernet Pegasus convertors
839 endef
840
841 $(eval $(call KernelPackage,usb-net-pegasus))
842
843
844 define KernelPackage/usb-net-mcs7830
845 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
846 KCONFIG:=CONFIG_USB_NET_MCS7830
847 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
848 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
849 $(call AddDepends/usb-net)
850 endef
851
852 define KernelPackage/usb-net-mcs7830/description
853 Kernel module for USB-to-Ethernet MCS7830 convertors
854 endef
855
856 $(eval $(call KernelPackage,usb-net-mcs7830))
857
858
859 define KernelPackage/usb-net-dm9601-ether
860 TITLE:=Support for DM9601 ethernet connections
861 KCONFIG:=CONFIG_USB_NET_DM9601
862 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
863 AUTOLOAD:=$(call AutoLoad,61,dm9601)
864 $(call AddDepends/usb-net)
865 endef
866
867 define KernelPackage/usb-net-dm9601-ether/description
868 Kernel support for USB DM9601 devices
869 endef
870
871 $(eval $(call KernelPackage,usb-net-dm9601-ether))
872
873 define KernelPackage/usb-net-cdc-ether
874 TITLE:=Support for cdc ethernet connections
875 KCONFIG:=CONFIG_USB_NET_CDCETHER
876 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
877 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
878 $(call AddDepends/usb-net)
879 endef
880
881 define KernelPackage/usb-net-cdc-ether/description
882 Kernel support for USB CDC Ethernet devices
883 endef
884
885 $(eval $(call KernelPackage,usb-net-cdc-ether))
886
887
888 define KernelPackage/usb-net-rndis
889 TITLE:=Support for RNDIS connections
890 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
891 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
892 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
893 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
894 endef
895
896 define KernelPackage/usb-net-rndis/description
897 Kernel support for RNDIS connections
898 endef
899
900 $(eval $(call KernelPackage,usb-net-rndis))
901
902 define KernelPackage/usb-net-sierrawireless
903 TITLE:=Support for Sierra Wireless devices
904 KCONFIG:=CONFIG_USB_SIERRA_NET
905 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
906 AUTOLOAD:=$(call AutoLoad,65,sierra_net)
907 $(call AddDepends/usb-net)
908 endef
909
910 define KernelPackage/usb-net-sierrawireless/description
911 Kernel support for Sierra Wireless devices
912 endef
913
914 $(eval $(call KernelPackage,usb-net-sierrawireless))
915
916
917 define KernelPackage/usb-net-ipheth
918 TITLE:=Apple iPhone USB Ethernet driver
919 KCONFIG:=CONFIG_USB_IPHETH
920 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
921 AUTOLOAD:=$(call AutoLoad,64,ipheth)
922 $(call AddDepends/usb-net)
923 endef
924
925 define KernelPackage/usb-net-ipheth/description
926 Kernel support for Apple iPhone USB Ethernet driver
927 endef
928
929 $(eval $(call KernelPackage,usb-net-ipheth))
930
931
932 define KernelPackage/usb-hid
933 TITLE:=Support for USB Human Input Devices
934 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
935 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
936 AUTOLOAD:=$(call AutoLoad,70,usbhid)
937 $(call AddDepends/usb)
938 $(call AddDepends/hid)
939 $(call AddDepends/input,+kmod-input-evdev)
940 endef
941
942
943 define KernelPackage/usb-hid/description
944 Kernel support for USB HID devices such as keyboards and mice
945 endef
946
947 $(eval $(call KernelPackage,usb-hid))
948
949
950 define KernelPackage/usb-yealink
951 TITLE:=USB Yealink VOIP phone
952 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
953 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
954 AUTOLOAD:=$(call AutoLoad,70,yealink)
955 $(call AddDepends/usb)
956 $(call AddDepends/input,+kmod-input-evdev)
957 endef
958
959 define KernelPackage/usb-yealink/description
960 Kernel support for Yealink VOIP phone
961 endef
962
963 $(eval $(call KernelPackage,usb-yealink))
964
965
966 define KernelPackage/usb-cm109
967 TITLE:=Support for CM109 device
968 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
969 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
970 AUTOLOAD:=$(call AutoLoad,70,cm109)
971 $(call AddDepends/usb)
972 $(call AddDepends/input,+kmod-input-evdev)
973 endef
974
975 define KernelPackage/usb-cm109/description
976 Kernel support for CM109 VOIP phone
977 endef
978
979 $(eval $(call KernelPackage,usb-cm109))
980
981
982 define KernelPackage/usb-test
983 TITLE:=USB Testing Driver
984 DEPENDS:=@DEVEL
985 KCONFIG:=CONFIG_USB_TEST
986 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
987 $(call AddDepends/usb)
988 endef
989
990 define KernelPackage/usb-test/description
991 Kernel support for testing USB Host Controller software.
992 endef
993
994 $(eval $(call KernelPackage,usb-test))
995
996
997 define KernelPackage/usb-phidget
998 TITLE:=USB Phidget Driver
999 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
1000 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
1001 $(call AddDepends/usb)
1002 endef
1003
1004 define KernelPackage/usb-phidget/description
1005 Kernel support for USB Phidget devices.
1006 endef
1007
1008 $(eval $(call KernelPackage,usb-phidget))
1009
1010 define KernelPackage/usb-rt305x-dwc_otg
1011 TITLE:=RT305X USB controller driver
1012 DEPENDS:=@TARGET_ramips_rt305x
1013 KCONFIG:= \
1014 CONFIG_DWC_OTG \
1015 CONFIG_DWC_OTG_HOST_ONLY=y \
1016 CONFIG_DWC_OTG_DEVICE_ONLY=n \
1017 CONFIG_DWC_OTG_DEBUG=n
1018 FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
1019 AUTOLOAD:=$(call AutoLoad,54,dwc_otg,1)
1020 $(call AddDepends/usb)
1021 endef
1022
1023 define KernelPackage/usb-rt305x-dwc_otg/description
1024 This driver provides USB Device Controller support for the
1025 Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs.
1026 endef
1027
1028 $(eval $(call KernelPackage,usb-rt305x-dwc_otg))
1029
1030 define KernelPackage/usb-brcm47xx
1031 SUBMENU:=$(USB_MENU)
1032 TITLE:=Support for USB on bcm47xx
1033 DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
1034 KCONFIG:= \
1035 CONFIG_USB_HCD_BCMA \
1036 CONFIG_USB_HCD_SSB
1037 FILES:= \
1038 $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \
1039 $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko
1040 AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1)
1041 $(call AddDepends/usb)
1042 endef
1043
1044 $(eval $(call KernelPackage,usb-brcm47xx))
1045
This page took 0.170579 seconds and 5 git commands to generate.