52c28c911088689a01ade1d437ae002b7dcea57e
[openwrt/openwrt.git] / package / kernel / linux / modules / usb.mk
1 #
2 # Copyright (C) 2006-2014 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 FILES:= \
20 $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
21 $(LINUX_DIR)/drivers/usb/common/usb-common.ko
22 AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
23 $(call AddDepends/nls)
24 endef
25
26 define KernelPackage/usb-core/description
27 Kernel support for USB
28 endef
29
30 $(eval $(call KernelPackage,usb-core))
31
32
33 define AddDepends/usb
34 SUBMENU:=$(USB_MENU)
35 DEPENDS+=+kmod-usb-core $(1)
36 endef
37
38
39 define KernelPackage/usb-musb-hdrc
40 TITLE:=Support for Mentor Graphics silicon dual role USB
41 KCONFIG:= \
42 CONFIG_USB_MUSB_HDRC \
43 CONFIG_USB_INVENTRA_DMA=n \
44 CONFIG_USB_TI_CPPI41_DMA=n \
45 CONFIG_MUSB_PIO_ONLY=y \
46 CONFIG_USB_MUSB_DUAL_ROLE=y \
47 CONFIG_USB_MUSB_GADGET=n \
48 CONFIG_USB_MUSB_HOST=n \
49 CONFIG_USB_MUSB_DEBUG=y
50 DEPENDS:= \
51 @(TARGET_omap||TARGET_omap24xx) +kmod-usb-gadget \
52 +TARGET_omap24xx:kmod-usb-musb-tusb6010
53 FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
54 AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
55 $(call AddDepends/usb)
56 endef
57
58 define KernelPackage/usb-musb-hdrc/description
59 Kernel support for Mentor Graphics silicon dual role USB device.
60 endef
61
62 $(eval $(call KernelPackage,usb-musb-hdrc))
63
64
65 define KernelPackage/usb-musb-platformglue
66 TITLE:=MUSB platform glue layer
67 KCONFIG:= \
68 CONFIG_USB_MUSB_TUSB6010=n \
69 CONFIG_USB_MUSB_OMAP2PLUS=n \
70 CONFIG_USB_MUSB_AM35X=n \
71 CONFIG_USB_MUSB_DSPS \
72 CONFIG_USB_MUSB_UX500=n
73 DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-musb-hdrc +kmod-usb-phy-am335x
74 FILES:= \
75 $(LINUX_DIR)/drivers/usb/musb/musb_dsps.ko \
76 $(LINUX_DIR)/drivers/usb/musb/musb_am335x.ko
77 AUTOLOAD:=$(call AutoLoad,45,phy-omap-control musb_dsps musb_am335x)
78 $(call AddDepends/usb)
79 endef
80
81 define KernelPackage/usb-musb-platformglue/description
82 MUSB platform glue modules
83 endef
84
85 $(eval $(call KernelPackage,usb-musb-platformglue))
86
87
88 define KernelPackage/usb-musb-tusb6010
89 TITLE:=Support for TUSB 6010
90 KCONFIG:=CONFIG_USB_MUSB_TUSB6010
91 DEPENDS:=@TARGET_omap24xx
92 $(call AddDepends/usb)
93 endef
94
95 define KernelPackage/usb-musb-tusb6010/description
96 TUSB6010 support
97 endef
98
99 $(eval $(call KernelPackage,usb-musb-tusb6010))
100
101
102 define KernelPackage/usb-phy-nop
103 TITLE:=Support for USB NOP transceiver
104 KCONFIG:=CONFIG_NOP_USB_XCEIV
105 HIDDEN:=1
106 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko
107 AUTOLOAD:=$(call AutoLoad,43,phy-generic)
108 $(call AddDepends/usb)
109 endef
110
111 define KernelPackage/usb-phy-nop/description
112 Support for USB NOP transceiver
113 endef
114
115 $(eval $(call KernelPackage,usb-phy-nop))
116
117
118 define KernelPackage/usb-phy-am335x
119 TITLE:=Support for AM335x USB PHY
120 KCONFIG:= \
121 CONFIG_AM335X_PHY_USB \
122 CONFIG_AM335X_CONTROL_USB
123 DEPENDS:=@TARGET_omap +kmod-usb-phy-nop
124 FILES:= \
125 $(LINUX_DIR)/drivers/usb/phy/phy-am335x.ko \
126 $(LINUX_DIR)/drivers/usb/phy/phy-am335x-control.ko
127 AUTOLOAD:=$(call AutoLoad,44,phy-am335x)
128 $(call AddDepends/usb)
129 endef
130
131 define KernelPackage/usb-phy-am335x/description
132 Support for AM335x USB PHY
133 endef
134
135 $(eval $(call KernelPackage,usb-phy-am335x))
136
137
138 define KernelPackage/usb-phy-omap-usb2
139 TITLE:=Support for OMAP2 USB PHY
140 KCONFIG:= \
141 CONFIG_OMAP_USB2 \
142 CONFIG_OMAP_CONTROL_PHY
143 DEPENDS:=@TARGET_omap
144 FILES:= \
145 $(LINUX_DIR)/drivers/phy/phy-omap-usb2.ko \
146 $(LINUX_DIR)/drivers/phy/phy-omap-control.ko
147 AUTOLOAD:=$(call AutoLoad,45,phy-omap-control phy-omap-usb2)
148 $(call AddDepends/usb)
149 endef
150
151 define KernelPackage/usb-phy-omap-usb2/description
152 Support for AM335x USB PHY
153 endef
154
155 $(eval $(call KernelPackage,usb-phy-omap-usb2))
156
157
158 define KernelPackage/usb-phy-omap-usb3
159 TITLE:=Support for OMAP USB3 PHY
160 KCONFIG:=CONFIG_OMAP_USB3
161 DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2
162 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-omap-usb3.ko
163 AUTOLOAD:=$(call AutoLoad,45,phy-omap-usb3)
164 $(call AddDepends/usb)
165 endef
166
167 define KernelPackage/usb-phy-omap-usb3/description
168 Support for OMAP USB3 PHY
169 endef
170
171 $(eval $(call KernelPackage,usb-phy-omap-usb3))
172
173
174 define KernelPackage/usb-phy-twl4030
175 TITLE:=Support for TWL4030 OTG PHY
176 KCONFIG:=CONFIG_TWL4030_USB
177 DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 +kmod-usb-musb-hdrc
178 FILES:=$(LINUX_DIR)/drivers/phy/phy-twl4030-usb.ko
179 AUTOLOAD:=$(call AutoLoad,45,phy-twl4030-usb)
180 $(call AddDepends/usb)
181 endef
182
183 define KernelPackage/usb-phy-twl4030/description
184 Support for TWL4030/TWL5030/TPS659x0 OTG PHY
185 endef
186
187 $(eval $(call KernelPackage,usb-phy-twl4030))
188
189
190 define KernelPackage/usb-phy-twl6030
191 TITLE:=Support for TWL6030 OTG PHY
192 KCONFIG:=CONFIG_TWL6030_USB
193 DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 +kmod-usb-musb-hdrc
194 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-twl6030-usb.ko
195 AUTOLOAD:=$(call AutoLoad,45,phy-twl6030-usb)
196 $(call AddDepends/usb)
197 endef
198
199 define KernelPackage/usb-phy-twl6030/description
200 Support for TWL6030 OTG PHY
201 endef
202
203 $(eval $(call KernelPackage,usb-phy-twl6030))
204
205
206 define KernelPackage/usb-gadget
207 TITLE:=USB Gadget support
208 KCONFIG:=CONFIG_USB_GADGET
209 FILES:=\
210 $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko
211 AUTOLOAD:=$(call AutoLoad,45,udc-core)
212 DEPENDS:=@USB_GADGET_SUPPORT
213 $(call AddDepends/usb)
214 endef
215
216 define KernelPackage/usb-gadget/description
217 Kernel support for USB Gadget mode
218 endef
219
220 $(eval $(call KernelPackage,usb-gadget))
221
222 define KernelPackage/usb-lib-composite
223 TITLE:=USB lib composite
224 KCONFIG:=CONFIG_USB_LIBCOMPOSITE
225 DEPENDS:=+kmod-usb-gadget +kmod-fs-configfs
226 FILES:=$(LINUX_DIR)/drivers/usb/gadget/libcomposite.ko
227 AUTOLOAD:=$(call AutoLoad,50,libcomposite)
228 $(call AddDepends/usb)
229 endef
230
231 define KernelPackage/usb-lib-composite/description
232 Lib Composite
233 endef
234
235 $(eval $(call KernelPackage,usb-lib-composite))
236
237 define KernelPackage/usb-ehci-debug-gadget
238 TITLE:=USB EHCI debug port Gadget support
239 KCONFIG:=\
240 CONFIG_USB_G_DBGP \
241 CONFIG_USB_G_DBGP_SERIAL=y \
242 CONFIG_USB_G_DBGP_PRINTK=n
243 DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite +kmod-usb-serial-gadget
244 FILES:=$(LINUX_DIR)/drivers/usb/gadget/legacy/g_dbgp.ko
245 AUTOLOAD:=$(call AutoLoad,52,g_dbgp)
246 $(call AddDepends/usb)
247 endef
248
249 define KernelPackage/usb-ehci-debug-gadget/description
250 Kernel support for USB EHCI debug port Gadget.
251 endef
252
253 $(eval $(call KernelPackage,usb-ehci-debug-gadget))
254
255 define KernelPackage/usb-eth-gadget
256 TITLE:=USB Ethernet Gadget support
257 KCONFIG:= \
258 CONFIG_USB_ETH \
259 CONFIG_USB_ETH_RNDIS=y \
260 CONFIG_USB_ETH_EEM=n
261 DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
262 FILES:= \
263 $(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko \
264 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko \
265 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
266 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
267 $(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
268 AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
269 $(call AddDepends/usb)
270 endef
271
272 define KernelPackage/usb-eth-gadget/description
273 Kernel support for USB Ethernet Gadget
274 endef
275
276 $(eval $(call KernelPackage,usb-eth-gadget))
277
278
279 define KernelPackage/usb-serial-gadget
280 TITLE:=USB Serial Gadget support
281 KCONFIG:=CONFIG_USB_G_SERIAL
282 DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
283 FILES:= \
284 $(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko \
285 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko \
286 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
287 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
288 $(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
289 AUTOLOAD:=$(call AutoLoad,52,usb_f_acm g_serial)
290 $(call AddDepends/usb)
291 endef
292
293 define KernelPackage/usb-serial-gadget/description
294 Kernel support for USB Serial Gadget.
295 endef
296
297 $(eval $(call KernelPackage,usb-serial-gadget))
298
299 define KernelPackage/usb-mass-storage-gadget
300 TITLE:=USB Mass Storage support
301 KCONFIG:=CONFIG_USB_MASS_STORAGE
302 DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
303 FILES:= \
304 $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_mass_storage.ko \
305 $(LINUX_DIR)/drivers/usb/gadget/legacy/g_mass_storage.ko
306 AUTOLOAD:=$(call AutoLoad,52,usb_f_mass_storage g_mass_storage)
307 $(call AddDepends/usb)
308 endef
309
310 define KernelPackage/usb-mass-storage-gadget/description
311 Kernel support for USB Gadget Mass Storage
312 endef
313
314 $(eval $(call KernelPackage,usb-mass-storage-gadget))
315
316
317 define KernelPackage/usb-uhci
318 TITLE:=Support for UHCI controllers
319 KCONFIG:= \
320 CONFIG_USB_UHCI_ALT \
321 CONFIG_USB_UHCI_HCD
322 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
323 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
324 $(call AddDepends/usb)
325 endef
326
327 define KernelPackage/usb-uhci/description
328 Kernel support for USB UHCI controllers
329 endef
330
331 $(eval $(call KernelPackage,usb-uhci,1))
332
333
334 define KernelPackage/usb-ohci
335 TITLE:=Support for OHCI controllers
336 DEPENDS:= \
337 +TARGET_bcm53xx:kmod-usb-bcma \
338 +TARGET_brcm47xx:kmod-usb-bcma \
339 +TARGET_brcm47xx:kmod-usb-ssb
340 KCONFIG:= \
341 CONFIG_USB_OHCI \
342 CONFIG_USB_OHCI_HCD \
343 CONFIG_USB_OHCI_ATH79=y \
344 CONFIG_USB_OHCI_HCD_AT91=y \
345 CONFIG_USB_OHCI_BCM63XX=y \
346 CONFIG_USB_OCTEON_OHCI=y \
347 CONFIG_USB_OHCI_HCD_OMAP3=y \
348 CONFIG_USB_OHCI_HCD_PLATFORM=y
349 FILES:= \
350 $(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko \
351 $(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
352 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ohci-at91.ko),)
353 FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-at91.ko
354 endif
355 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform ohci-at91,1)
356 $(call AddDepends/usb)
357 endef
358
359 define KernelPackage/usb-ohci/description
360 Kernel support for USB OHCI controllers
361 endef
362
363 $(eval $(call KernelPackage,usb-ohci,1))
364
365
366 define KernelPackage/usb-ohci-pci
367 TITLE:=Support for PCI OHCI controllers
368 DEPENDS:=@PCI_SUPPORT +kmod-usb-ohci
369 KCONFIG:=CONFIG_USB_OHCI_HCD_PCI
370 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-pci.ko
371 AUTOLOAD:=$(call AutoLoad,51,ohci-pci,1)
372 $(call AddDepends/usb)
373 endef
374
375 define KernelPackage/usb-ohci-pci/description
376 Kernel support for PCI OHCI controllers
377 endef
378
379 $(eval $(call KernelPackage,usb-ohci-pci))
380
381
382 define KernelPackage/usb2-fsl
383 TITLE:=Support for Freescale USB2 controllers
384 DEPENDS:=@TARGET_mpc85xx
385 HIDDEN:=1
386 KCONFIG:=CONFIG_USB_FSL_MPH_DR_OF
387 FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
388 AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
389 $(call AddDepends/usb)
390 endef
391
392 define KernelPackage/usb2-fsl/description
393 Kernel support for Freescale USB2 (EHCI) controllers
394 endef
395
396 $(eval $(call KernelPackage,usb2-fsl))
397
398
399 define KernelPackage/usb2-omap
400 TITLE:=Support for USB2 for OMAP
401 DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x +kmod-usb2
402 KCONFIG:=\
403 CONFIG_MFD_OMAP_USB_HOST=y \
404 CONFIG_USB_EHCI_HCD_OMAP
405 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-omap.ko
406 AUTOLOAD:=$(call AutoLoad,39,ehci-omap)
407 $(call AddDepends/usb)
408 endef
409
410 define KernelPackage/usb2-omap/description
411 Kernel support for OMAP USB2 (EHCI) controllers
412 endef
413
414 $(eval $(call KernelPackage,usb2-omap))
415
416 define KernelPackage/usb-bcma
417 TITLE:=Support for BCMA USB controllers
418 DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx||TARGET_bcm53xx
419 HIDDEN:=1
420 KCONFIG:=CONFIG_USB_HCD_BCMA
421 FILES:= \
422 $(if $(CONFIG_USB_HCD_BCMA),$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko)
423 AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd),1)
424 $(call AddDepends/usb)
425 endef
426 $(eval $(call KernelPackage,usb-bcma))
427
428 define KernelPackage/usb-ssb
429 TITLE:=Support for SSB USB controllers
430 DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
431 HIDDEN:=1
432 KCONFIG:=CONFIG_USB_HCD_SSB
433 FILES:= \
434 $(if $(CONFIG_USB_HCD_SSB),$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko)
435 AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_SSB),ssb-hcd),1)
436 $(call AddDepends/usb)
437 endef
438 $(eval $(call KernelPackage,usb-ssb))
439
440 define KernelPackage/usb2
441 TITLE:=Support for USB2 controllers
442 DEPENDS:=\
443 +TARGET_brcm47xx:kmod-usb-bcma \
444 +TARGET_brcm47xx:kmod-usb-ssb \
445 +TARGET_bcm53xx:kmod-usb-bcma \
446 +TARGET_mpc85xx:kmod-usb2-fsl
447 KCONFIG:=\
448 CONFIG_USB_EHCI_HCD \
449 CONFIG_USB_EHCI_ATH79=y \
450 CONFIG_USB_EHCI_BCM63XX=y \
451 CONFIG_USB_IMX21_HCD=y \
452 CONFIG_USB_EHCI_MXC=y \
453 CONFIG_USB_OCTEON_EHCI=y \
454 CONFIG_USB_EHCI_HCD_ORION=y \
455 CONFIG_USB_EHCI_HCD_PLATFORM=y \
456 CONFIG_USB_EHCI_HCD_AT91=y \
457 CONFIG_USB_EHCI_FSL
458 FILES:= \
459 $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
460 $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
461 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-orion.ko),)
462 FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-orion.ko
463 endif
464 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko),)
465 FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko
466 endif
467 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-fsl.ko),)
468 FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-fsl.ko
469 endif
470 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform ehci-orion ehci-atmel ehci-fsl,1)
471 $(call AddDepends/usb)
472 endef
473
474 define KernelPackage/usb2/description
475 Kernel support for USB2 (EHCI) controllers
476 endef
477
478 $(eval $(call KernelPackage,usb2))
479
480
481 define KernelPackage/usb2-pci
482 TITLE:=Support for PCI USB2 controllers
483 DEPENDS:=@PCI_SUPPORT +kmod-usb2
484 KCONFIG:=CONFIG_USB_EHCI_PCI
485 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
486 AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
487 $(call AddDepends/usb)
488 endef
489
490 define KernelPackage/usb2-pci/description
491 Kernel support for PCI USB2 (EHCI) controllers
492 endef
493
494 $(eval $(call KernelPackage,usb2-pci))
495
496
497 define KernelPackage/usb-dwc2
498 TITLE:=DWC2 USB controller driver
499 DEPENDS:=+(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs||TARGET_imx6||TARGET_omap):kmod-usb-gadget
500 KCONFIG:= \
501 CONFIG_USB_DWC2 \
502 CONFIG_USB_DWC2_PCI \
503 CONFIG_USB_DWC2_PLATFORM \
504 CONFIG_USB_DWC2_DEBUG=n \
505 CONFIG_USB_DWC2_VERBOSE=n \
506 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
507 CONFIG_USB_DWC2_DEBUG_PERIODIC=n
508 FILES:= \
509 $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
510 $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko@lt4.3
511 AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform@lt4.3,1)
512 $(call AddDepends/usb)
513 endef
514
515 define KernelPackage/usb-dwc2/description
516 This driver provides USB Device Controller support for the
517 Synopsys DesignWare USB OTG Core
518 endef
519
520 $(eval $(call KernelPackage,usb-dwc2))
521
522
523 define KernelPackage/usb-dwc3
524 TITLE:=DWC3 USB controller driver
525 KCONFIG:= \
526 CONFIG_USB_DWC3 \
527 CONFIG_USB_DWC3_HOST=y \
528 CONFIG_USB_DWC3_GADGET=n \
529 CONFIG_USB_DWC3_DUAL_ROLE=n \
530 CONFIG_USB_DWC3_DEBUG=n \
531 CONFIG_USB_DWC3_VERBOSE=n
532 FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3.ko
533 AUTOLOAD:=$(call AutoLoad,54,dwc3,1)
534 $(call AddDepends/usb)
535 endef
536
537 define KernelPackage/usb-dwc3/description
538 This driver provides support for the Dual Role SuperSpeed
539 USB Controller based on the Synopsys DesignWare USB3 IP Core
540 endef
541
542 $(eval $(call KernelPackage,usb-dwc3))
543
544
545 define KernelPackage/usb-acm
546 TITLE:=Support for modems/isdn controllers
547 KCONFIG:=CONFIG_USB_ACM
548 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
549 AUTOLOAD:=$(call AutoProbe,cdc-acm)
550 $(call AddDepends/usb)
551 endef
552
553 define KernelPackage/usb-acm/description
554 Kernel support for USB ACM devices (modems/isdn controllers)
555 endef
556
557 $(eval $(call KernelPackage,usb-acm))
558
559
560 define KernelPackage/usb-wdm
561 TITLE:=USB Wireless Device Management
562 KCONFIG:=CONFIG_USB_WDM
563 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
564 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
565 $(call AddDepends/usb)
566 $(call AddDepends/usb-net)
567 endef
568
569 define KernelPackage/usb-wdm/description
570 USB Wireless Device Management support
571 endef
572
573 $(eval $(call KernelPackage,usb-wdm))
574
575
576 define KernelPackage/usb-audio
577 TITLE:=Support for USB audio devices
578 KCONFIG:= \
579 CONFIG_USB_AUDIO \
580 CONFIG_SND_USB=y \
581 CONFIG_SND_USB_AUDIO
582 $(call AddDepends/usb)
583 $(call AddDepends/sound)
584 FILES:= \
585 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
586 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
587 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
588 endef
589
590 define KernelPackage/usb-audio/description
591 Kernel support for USB audio devices
592 endef
593
594 $(eval $(call KernelPackage,usb-audio))
595
596
597 define KernelPackage/usb-printer
598 TITLE:=Support for printers
599 KCONFIG:=CONFIG_USB_PRINTER
600 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
601 AUTOLOAD:=$(call AutoProbe,usblp)
602 $(call AddDepends/usb)
603 endef
604
605 define KernelPackage/usb-printer/description
606 Kernel support for USB printers
607 endef
608
609 $(eval $(call KernelPackage,usb-printer))
610
611
612 define KernelPackage/usb-serial
613 TITLE:=Support for USB-to-Serial converters
614 KCONFIG:=CONFIG_USB_SERIAL
615 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
616 AUTOLOAD:=$(call AutoProbe,usbserial)
617 $(call AddDepends/usb)
618 endef
619
620 define KernelPackage/usb-serial/description
621 Kernel support for USB-to-Serial converters
622 endef
623
624 $(eval $(call KernelPackage,usb-serial))
625
626
627 define AddDepends/usb-serial
628 SUBMENU:=$(USB_MENU)
629 DEPENDS+=kmod-usb-serial $(1)
630 endef
631
632
633 define KernelPackage/usb-serial-belkin
634 TITLE:=Support for Belkin devices
635 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
636 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
637 AUTOLOAD:=$(call AutoProbe,belkin_sa)
638 $(call AddDepends/usb-serial)
639 endef
640
641 define KernelPackage/usb-serial-belkin/description
642 Kernel support for Belkin USB-to-Serial converters
643 endef
644
645 $(eval $(call KernelPackage,usb-serial-belkin))
646
647
648 define KernelPackage/usb-serial-ch341
649 TITLE:=Support for CH341 devices
650 KCONFIG:=CONFIG_USB_SERIAL_CH341
651 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
652 AUTOLOAD:=$(call AutoProbe,ch341)
653 $(call AddDepends/usb-serial)
654 endef
655
656 define KernelPackage/usb-serial-ch341/description
657 Kernel support for Winchiphead CH341 USB-to-Serial converters
658 endef
659
660 $(eval $(call KernelPackage,usb-serial-ch341))
661
662
663 define KernelPackage/usb-serial-ftdi
664 TITLE:=Support for FTDI devices
665 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
666 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
667 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
668 $(call AddDepends/usb-serial)
669 endef
670
671 define KernelPackage/usb-serial-ftdi/description
672 Kernel support for FTDI USB-to-Serial converters
673 endef
674
675 $(eval $(call KernelPackage,usb-serial-ftdi))
676
677
678 define KernelPackage/usb-serial-garmin
679 TITLE:=Support for Garmin GPS devices
680 KCONFIG:=CONFIG_USB_SERIAL_GARMIN
681 FILES:=$(LINUX_DIR)/drivers/usb/serial/garmin_gps.ko
682 AUTOLOAD:=$(call AutoProbe,garmin_gps)
683 $(call AddDepends/usb-serial)
684 endef
685
686 define KernelPackage/usb-serial-garmin/description
687 Should work with most Garmin GPS devices which have a native USB port.
688 endef
689
690 $(eval $(call KernelPackage,usb-serial-garmin))
691
692
693 define KernelPackage/usb-serial-simple
694 TITLE:=USB Serial Simple (Motorola phone)
695 KCONFIG:=CONFIG_USB_SERIAL_SIMPLE
696 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb-serial-simple.ko
697 AUTOLOAD:=$(call AutoProbe,usb-serial-simple)
698 $(call AddDepends/usb-serial)
699 endef
700
701 define KernelPackage/usb-serial-simple/description
702 Kernel support for "very simple devices".
703
704 Specifically, it supports:
705 - Suunto ANT+ USB device.
706 - Medtronic CareLink USB device (3.18)
707 - Fundamental Software dongle.
708 - Google USB serial devices (3.19)
709 - HP4x calculators
710 - a number of Motorola phones
711 - Novatel Wireless GPS receivers (3.18)
712 - Siemens USB/MPI adapter.
713 - ViVOtech ViVOpay USB device.
714 - Infineon Modem Flashloader USB interface
715 - ZIO Motherboard USB serial interface
716 endef
717
718 $(eval $(call KernelPackage,usb-serial-simple))
719
720
721 define KernelPackage/usb-serial-ti-usb
722 TITLE:=Support for TI USB 3410/5052
723 KCONFIG:=CONFIG_USB_SERIAL_TI
724 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
725 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
726 $(call AddDepends/usb-serial)
727 endef
728
729 define KernelPackage/usb-serial-ti-usb/description
730 Kernel support for TI USB 3410/5052 devices
731 endef
732
733 $(eval $(call KernelPackage,usb-serial-ti-usb))
734
735
736 define KernelPackage/usb-serial-ipw
737 TITLE:=Support for IPWireless 3G devices
738 KCONFIG:=CONFIG_USB_SERIAL_IPW
739 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
740 AUTOLOAD:=$(call AutoProbe,ipw)
741 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
742 endef
743
744 $(eval $(call KernelPackage,usb-serial-ipw))
745
746
747 define KernelPackage/usb-serial-mct
748 TITLE:=Support for Magic Control Tech. devices
749 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
750 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
751 AUTOLOAD:=$(call AutoProbe,mct_u232)
752 $(call AddDepends/usb-serial)
753 endef
754
755 define KernelPackage/usb-serial-mct/description
756 Kernel support for Magic Control Technology USB-to-Serial converters
757 endef
758
759 $(eval $(call KernelPackage,usb-serial-mct))
760
761
762 define KernelPackage/usb-serial-mos7720
763 TITLE:=Support for Moschip MOS7720 devices
764 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
765 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
766 AUTOLOAD:=$(call AutoProbe,mos7720)
767 $(call AddDepends/usb-serial)
768 endef
769
770 define KernelPackage/usb-serial-mos7720/description
771 Kernel support for Moschip MOS7720 USB-to-Serial converters
772 endef
773
774 $(eval $(call KernelPackage,usb-serial-mos7720))
775
776
777 define KernelPackage/usb-serial-pl2303
778 TITLE:=Support for Prolific PL2303 devices
779 KCONFIG:=CONFIG_USB_SERIAL_PL2303
780 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
781 AUTOLOAD:=$(call AutoProbe,pl2303)
782 $(call AddDepends/usb-serial)
783 endef
784
785 define KernelPackage/usb-serial-pl2303/description
786 Kernel support for Prolific PL2303 USB-to-Serial converters
787 endef
788
789 $(eval $(call KernelPackage,usb-serial-pl2303))
790
791
792 define KernelPackage/usb-serial-cp210x
793 TITLE:=Support for Silicon Labs cp210x devices
794 KCONFIG:=CONFIG_USB_SERIAL_CP210X
795 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
796 AUTOLOAD:=$(call AutoProbe,cp210x)
797 $(call AddDepends/usb-serial)
798 endef
799
800 define KernelPackage/usb-serial-cp210x/description
801 Kernel support for Silicon Labs cp210x USB-to-Serial converters
802 endef
803
804 $(eval $(call KernelPackage,usb-serial-cp210x))
805
806
807 define KernelPackage/usb-serial-ark3116
808 TITLE:=Support for ArkMicroChips ARK3116 devices
809 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
810 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
811 AUTOLOAD:=$(call AutoProbe,ark3116)
812 $(call AddDepends/usb-serial)
813 endef
814
815 define KernelPackage/usb-serial-ark3116/description
816 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
817 endef
818
819 $(eval $(call KernelPackage,usb-serial-ark3116))
820
821
822 define KernelPackage/usb-serial-oti6858
823 TITLE:=Support for Ours Technology OTI6858 devices
824 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
825 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
826 AUTOLOAD:=$(call AutoProbe,oti6858)
827 $(call AddDepends/usb-serial)
828 endef
829
830 define KernelPackage/usb-serial-oti6858/description
831 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
832 endef
833
834 $(eval $(call KernelPackage,usb-serial-oti6858))
835
836
837 define KernelPackage/usb-serial-sierrawireless
838 TITLE:=Support for Sierra Wireless devices
839 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
840 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
841 AUTOLOAD:=$(call AutoProbe,sierra)
842 $(call AddDepends/usb-serial)
843 endef
844
845 define KernelPackage/usb-serial-sierrawireless/description
846 Kernel support for Sierra Wireless devices
847 endef
848
849 $(eval $(call KernelPackage,usb-serial-sierrawireless))
850
851
852 define KernelPackage/usb-serial-visor
853 TITLE:=Support for Handspring Visor devices
854 KCONFIG:=CONFIG_USB_SERIAL_VISOR
855 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
856 AUTOLOAD:=$(call AutoProbe,visor)
857 $(call AddDepends/usb-serial)
858 endef
859
860 define KernelPackage/usb-serial-visor/description
861 Kernel support for Handspring Visor PDAs
862 endef
863
864 $(eval $(call KernelPackage,usb-serial-visor))
865
866
867 define KernelPackage/usb-serial-cypress-m8
868 TITLE:=Support for CypressM8 USB-Serial
869 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
870 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
871 AUTOLOAD:=$(call AutoProbe,cypress_m8)
872 $(call AddDepends/usb-serial)
873 endef
874
875 define KernelPackage/usb-serial-cypress-m8/description
876 Kernel support for devices with Cypress M8 USB to Serial chip
877 (for example, the Delorme Earthmate LT-20 GPS)
878 Supported microcontrollers in the CY4601 family are:
879 CY7C63741 CY7C63742 CY7C63743 CY7C64013
880 endef
881
882 $(eval $(call KernelPackage,usb-serial-cypress-m8))
883
884
885 define KernelPackage/usb-serial-keyspan
886 TITLE:=Support for Keyspan USB-to-Serial devices
887 KCONFIG:= \
888 CONFIG_USB_SERIAL_KEYSPAN \
889 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
890 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
891 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
892 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
893 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
894 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
895 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
896 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
897 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
898 CONFIG_USB_SERIAL_KEYSPAN_MPR \
899 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
900 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
901 FILES:= \
902 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
903 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
904 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
905 $(call AddDepends/usb-serial)
906 endef
907
908 define KernelPackage/usb-serial-keyspan/description
909 Kernel support for Keyspan USB-to-Serial devices
910 endef
911
912 $(eval $(call KernelPackage,usb-serial-keyspan))
913
914
915 define KernelPackage/usb-serial-wwan
916 TITLE:=Support for GSM and CDMA modems
917 KCONFIG:=CONFIG_USB_SERIAL_WWAN
918 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
919 AUTOLOAD:=$(call AutoProbe,usb_wwan)
920 $(call AddDepends/usb-serial)
921 endef
922
923 define KernelPackage/usb-serial-wwan/description
924 Kernel support for USB GSM and CDMA modems
925 endef
926
927 $(eval $(call KernelPackage,usb-serial-wwan))
928
929
930 define KernelPackage/usb-serial-option
931 TITLE:=Support for Option HSDPA modems
932 DEPENDS:=+kmod-usb-serial-wwan
933 KCONFIG:=CONFIG_USB_SERIAL_OPTION
934 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
935 AUTOLOAD:=$(call AutoProbe,option)
936 $(call AddDepends/usb-serial)
937 endef
938
939 define KernelPackage/usb-serial-option/description
940 Kernel support for Option HSDPA modems
941 endef
942
943 $(eval $(call KernelPackage,usb-serial-option))
944
945
946 define KernelPackage/usb-serial-qualcomm
947 TITLE:=Support for Qualcomm USB serial
948 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
949 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
950 AUTOLOAD:=$(call AutoProbe,qcserial)
951 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
952 endef
953
954 define KernelPackage/usb-serial-qualcomm/description
955 Kernel support for Qualcomm USB Serial devices (Gobi)
956 endef
957
958 $(eval $(call KernelPackage,usb-serial-qualcomm))
959
960
961 define KernelPackage/usb-storage
962 TITLE:=USB Storage support
963 DEPENDS:= +kmod-scsi-core
964 KCONFIG:=CONFIG_USB_STORAGE
965 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
966 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
967 $(call AddDepends/usb)
968 endef
969
970 define KernelPackage/usb-storage/description
971 Kernel support for USB Mass Storage devices
972 endef
973
974 $(eval $(call KernelPackage,usb-storage))
975
976
977 define KernelPackage/usb-storage-extras
978 SUBMENU:=$(USB_MENU)
979 TITLE:=Extra drivers for usb-storage
980 DEPENDS:=+kmod-usb-storage
981 KCONFIG:= \
982 CONFIG_USB_STORAGE_ALAUDA \
983 CONFIG_USB_STORAGE_CYPRESS_ATACB \
984 CONFIG_USB_STORAGE_DATAFAB \
985 CONFIG_USB_STORAGE_FREECOM \
986 CONFIG_USB_STORAGE_ISD200 \
987 CONFIG_USB_STORAGE_JUMPSHOT \
988 CONFIG_USB_STORAGE_KARMA \
989 CONFIG_USB_STORAGE_SDDR09 \
990 CONFIG_USB_STORAGE_SDDR55 \
991 CONFIG_USB_STORAGE_USBAT
992 FILES:= \
993 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
994 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
995 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
996 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
997 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
998 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
999 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
1000 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
1001 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
1002 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
1003 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
1004 ums-freecom ums-isd200 ums-jumpshot \
1005 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
1006 endef
1007
1008 define KernelPackage/usb-storage-extras/description
1009 Say Y here if you want to have some more drivers,
1010 such as for SmartMedia card readers
1011 endef
1012
1013 $(eval $(call KernelPackage,usb-storage-extras))
1014
1015
1016 define KernelPackage/usb-atm
1017 TITLE:=Support for ATM on USB bus
1018 DEPENDS:=+kmod-atm
1019 KCONFIG:=CONFIG_USB_ATM
1020 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
1021 AUTOLOAD:=$(call AutoProbe,usbatm)
1022 $(call AddDepends/usb)
1023 endef
1024
1025 define KernelPackage/usb-atm/description
1026 Kernel support for USB DSL modems
1027 endef
1028
1029 $(eval $(call KernelPackage,usb-atm))
1030
1031
1032 define AddDepends/usb-atm
1033 SUBMENU:=$(USB_MENU)
1034 DEPENDS+=kmod-usb-atm $(1)
1035 endef
1036
1037
1038 define KernelPackage/usb-atm-speedtouch
1039 TITLE:=SpeedTouch USB ADSL modems support
1040 KCONFIG:=CONFIG_USB_SPEEDTOUCH
1041 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
1042 AUTOLOAD:=$(call AutoProbe,speedtch)
1043 $(call AddDepends/usb-atm)
1044 endef
1045
1046 define KernelPackage/usb-atm-speedtouch/description
1047 Kernel support for SpeedTouch USB ADSL modems
1048 endef
1049
1050 $(eval $(call KernelPackage,usb-atm-speedtouch))
1051
1052
1053 define KernelPackage/usb-atm-ueagle
1054 TITLE:=Eagle 8051 based USB ADSL modems support
1055 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
1056 KCONFIG:=CONFIG_USB_UEAGLEATM
1057 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
1058 $(call AddDepends/usb-atm)
1059 endef
1060
1061 define KernelPackage/usb-atm-ueagle/description
1062 Kernel support for Eagle 8051 based USB ADSL modems
1063 endef
1064
1065 $(eval $(call KernelPackage,usb-atm-ueagle))
1066
1067
1068 define KernelPackage/usb-atm-cxacru
1069 TITLE:=cxacru
1070 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
1071 KCONFIG:=CONFIG_USB_CXACRU
1072 AUTOLOAD:=$(call AutoProbe,cxacru)
1073 $(call AddDepends/usb-atm)
1074 endef
1075
1076 define KernelPackage/usb-atm-cxacru/description
1077 Kernel support for cxacru based USB ADSL modems
1078 endef
1079
1080 $(eval $(call KernelPackage,usb-atm-cxacru))
1081
1082
1083 define KernelPackage/usb-net
1084 TITLE:=Kernel modules for USB-to-Ethernet convertors
1085 DEPENDS:=+kmod-mii
1086 KCONFIG:=CONFIG_USB_USBNET \
1087 CONFIG_USB_NET_DRIVERS
1088 AUTOLOAD:=$(call AutoProbe,usbnet)
1089 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
1090 $(call AddDepends/usb)
1091 endef
1092
1093 define KernelPackage/usb-net/description
1094 Kernel modules for USB-to-Ethernet convertors
1095 endef
1096
1097 $(eval $(call KernelPackage,usb-net))
1098
1099
1100 define AddDepends/usb-net
1101 SUBMENU:=$(USB_MENU)
1102 DEPENDS+=kmod-usb-net $(1)
1103 endef
1104
1105
1106 define KernelPackage/usb-net-asix
1107 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
1108 DEPENDS:=+kmod-libphy
1109 KCONFIG:=CONFIG_USB_NET_AX8817X
1110 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
1111 AUTOLOAD:=$(call AutoProbe,asix)
1112 $(call AddDepends/usb-net)
1113 endef
1114
1115 define KernelPackage/usb-net-asix/description
1116 Kernel module for USB-to-Ethernet Asix convertors
1117 endef
1118
1119 $(eval $(call KernelPackage,usb-net-asix))
1120
1121
1122 define KernelPackage/usb-net-asix-ax88179
1123 TITLE:=Kernel module for USB-to-Gigabit-Ethernet Asix convertors
1124 DEPENDS:=+kmod-libphy
1125 KCONFIG:=CONFIG_USB_NET_AX88179_178A
1126 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/ax88179_178a.ko
1127 AUTOLOAD:=$(call AutoProbe,ax88179_178a)
1128 $(call AddDepends/usb-net)
1129 endef
1130
1131 define KernelPackage/usb-net-asix-ax88179/description
1132 Kernel module for USB-to-Ethernet ASIX AX88179 based USB 3.0/2.0
1133 to Gigabit Ethernet adapters.
1134 endef
1135
1136 $(eval $(call KernelPackage,usb-net-asix-ax88179))
1137
1138
1139 define KernelPackage/usb-net-hso
1140 TITLE:=Kernel module for Option USB High Speed Mobile Devices
1141 KCONFIG:=CONFIG_USB_HSO
1142 FILES:= \
1143 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
1144 AUTOLOAD:=$(call AutoProbe,hso)
1145 $(call AddDepends/usb-net)
1146 $(call AddDepends/rfkill)
1147 endef
1148
1149 define KernelPackage/usb-net-hso/description
1150 Kernel module for Option USB High Speed Mobile Devices
1151 endef
1152
1153 $(eval $(call KernelPackage,usb-net-hso))
1154
1155
1156 define KernelPackage/usb-net-kaweth
1157 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
1158 KCONFIG:=CONFIG_USB_KAWETH
1159 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
1160 AUTOLOAD:=$(call AutoProbe,kaweth)
1161 $(call AddDepends/usb-net)
1162 endef
1163
1164 define KernelPackage/usb-net-kaweth/description
1165 Kernel module for USB-to-Ethernet Kaweth convertors
1166 endef
1167
1168 $(eval $(call KernelPackage,usb-net-kaweth))
1169
1170
1171 define KernelPackage/usb-net-pegasus
1172 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
1173 KCONFIG:=CONFIG_USB_PEGASUS
1174 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
1175 AUTOLOAD:=$(call AutoProbe,pegasus)
1176 $(call AddDepends/usb-net)
1177 endef
1178
1179 define KernelPackage/usb-net-pegasus/description
1180 Kernel module for USB-to-Ethernet Pegasus convertors
1181 endef
1182
1183 $(eval $(call KernelPackage,usb-net-pegasus))
1184
1185
1186 define KernelPackage/usb-net-mcs7830
1187 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
1188 KCONFIG:=CONFIG_USB_NET_MCS7830
1189 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
1190 AUTOLOAD:=$(call AutoProbe,mcs7830)
1191 $(call AddDepends/usb-net)
1192 endef
1193
1194 define KernelPackage/usb-net-mcs7830/description
1195 Kernel module for USB-to-Ethernet MCS7830 convertors
1196 endef
1197
1198 $(eval $(call KernelPackage,usb-net-mcs7830))
1199
1200
1201 define KernelPackage/usb-net-smsc95xx
1202 TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
1203 KCONFIG:=CONFIG_USB_NET_SMSC95XX
1204 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
1205 AUTOLOAD:=$(call AutoProbe,smsc95xx)
1206 $(call AddDepends/usb-net, +kmod-lib-crc16)
1207 endef
1208
1209 define KernelPackage/usb-net-smsc95xx/description
1210 Kernel module for SMSC LAN95XX based devices
1211 endef
1212
1213 $(eval $(call KernelPackage,usb-net-smsc95xx))
1214
1215
1216 define KernelPackage/usb-net-dm9601-ether
1217 TITLE:=Support for DM9601 ethernet connections
1218 KCONFIG:=CONFIG_USB_NET_DM9601
1219 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
1220 AUTOLOAD:=$(call AutoProbe,dm9601)
1221 $(call AddDepends/usb-net)
1222 endef
1223
1224 define KernelPackage/usb-net-dm9601-ether/description
1225 Kernel support for USB DM9601 devices
1226 endef
1227
1228 $(eval $(call KernelPackage,usb-net-dm9601-ether))
1229
1230 define KernelPackage/usb-net-cdc-ether
1231 TITLE:=Support for cdc ethernet connections
1232 KCONFIG:=CONFIG_USB_NET_CDCETHER
1233 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
1234 AUTOLOAD:=$(call AutoProbe,cdc_ether)
1235 $(call AddDepends/usb-net)
1236 endef
1237
1238 define KernelPackage/usb-net-cdc-ether/description
1239 Kernel support for USB CDC Ethernet devices
1240 endef
1241
1242 $(eval $(call KernelPackage,usb-net-cdc-ether))
1243
1244
1245 define KernelPackage/usb-net-cdc-eem
1246 TITLE:=Support for CDC EEM connections
1247 KCONFIG:=CONFIG_USB_NET_CDC_EEM
1248 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_eem.ko
1249 AUTOLOAD:=$(call AutoProbe,cdc_eem)
1250 $(call AddDepends/usb-net)
1251 endef
1252
1253 define KernelPackage/usb-net-cdc-eem/description
1254 Kernel support for USB CDC EEM
1255 endef
1256
1257 $(eval $(call KernelPackage,usb-net-cdc-eem))
1258
1259
1260 define KernelPackage/usb-net-cdc-subset
1261 TITLE:=Support for CDC Ethernet subset connections
1262 KCONFIG:= \
1263 CONFIG_USB_NET_CDC_SUBSET \
1264 CONFIG_USB_ARMLINUX
1265 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_subset.ko
1266 AUTOLOAD:=$(call AutoProbe,cdc_subset)
1267 $(call AddDepends/usb-net)
1268 endef
1269
1270 define KernelPackage/usb-net-cdc-subset/description
1271 Kernel support for Simple USB Network Links (CDC Ethernet subset)
1272 endef
1273
1274 $(eval $(call KernelPackage,usb-net-cdc-subset))
1275
1276
1277 define KernelPackage/usb-net-qmi-wwan
1278 TITLE:=QMI WWAN driver
1279 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
1280 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
1281 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
1282 $(call AddDepends/usb-net,+kmod-usb-wdm)
1283 endef
1284
1285 define KernelPackage/usb-net-qmi-wwan/description
1286 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
1287 endef
1288
1289 $(eval $(call KernelPackage,usb-net-qmi-wwan))
1290
1291
1292 define KernelPackage/usb-net-rtl8150
1293 TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
1294 KCONFIG:=CONFIG_USB_RTL8150
1295 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/rtl8150.ko
1296 AUTOLOAD:=$(call AutoProbe,rtl8150)
1297 $(call AddDepends/usb-net)
1298 endef
1299
1300 define KernelPackage/usb-net-rtl8150/description
1301 Kernel module for USB-to-Ethernet Realtek 8150 convertors
1302 endef
1303
1304 $(eval $(call KernelPackage,usb-net-rtl8150))
1305
1306
1307 define KernelPackage/usb-net-rtl8152
1308 TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
1309 KCONFIG:=CONFIG_USB_RTL8152
1310 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko
1311 AUTOLOAD:=$(call AutoProbe,r8152)
1312 $(call AddDepends/usb-net)
1313 endef
1314
1315 define KernelPackage/usb-net-rtl8152/description
1316 Kernel module for USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors
1317 endef
1318
1319 $(eval $(call KernelPackage,usb-net-rtl8152))
1320
1321
1322 define KernelPackage/usb-net-sr9700
1323 TITLE:=Support for CoreChip SR9700 ethernet devices
1324 KCONFIG:=CONFIG_USB_NET_SR9700
1325 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/sr9700.ko
1326 AUTOLOAD:=$(call AutoProbe,sr9700)
1327 $(call AddDepends/usb-net)
1328 endef
1329
1330 define KernelPackage/usb-net-sr9700/description
1331 Kernel module for CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices
1332 endef
1333
1334 $(eval $(call KernelPackage,usb-net-sr9700))
1335
1336
1337 define KernelPackage/usb-net-rndis
1338 TITLE:=Support for RNDIS connections
1339 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
1340 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
1341 AUTOLOAD:=$(call AutoProbe,rndis_host)
1342 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
1343 endef
1344
1345 define KernelPackage/usb-net-rndis/description
1346 Kernel support for RNDIS connections
1347 endef
1348
1349 $(eval $(call KernelPackage,usb-net-rndis))
1350
1351
1352 define KernelPackage/usb-net-cdc-mbim
1353 SUBMENU:=$(USB_MENU)
1354 TITLE:=Kernel module for MBIM Devices
1355 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
1356 FILES:= \
1357 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
1358 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
1359 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
1360 endef
1361
1362 define KernelPackage/usb-net-cdc-mbim/description
1363 Kernel module for Option USB High Speed Mobile Devices
1364 endef
1365
1366 $(eval $(call KernelPackage,usb-net-cdc-mbim))
1367
1368
1369 define KernelPackage/usb-net-cdc-ncm
1370 TITLE:=Support for CDC NCM connections
1371 KCONFIG:=CONFIG_USB_NET_CDC_NCM
1372 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
1373 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
1374 $(call AddDepends/usb-net)
1375 endef
1376
1377 define KernelPackage/usb-net-cdc-ncm/description
1378 Kernel support for CDC NCM connections
1379 endef
1380
1381 $(eval $(call KernelPackage,usb-net-cdc-ncm))
1382
1383
1384 define KernelPackage/usb-net-huawei-cdc-ncm
1385 TITLE:=Support for Huawei CDC NCM connections
1386 KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
1387 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
1388 AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
1389 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm)
1390 endef
1391
1392 define KernelPackage/usb-net-huawei-cdc-ncm/description
1393 Kernel support for Huawei CDC NCM connections
1394 endef
1395
1396 $(eval $(call KernelPackage,usb-net-huawei-cdc-ncm))
1397
1398
1399 define KernelPackage/usb-net-sierrawireless
1400 TITLE:=Support for Sierra Wireless devices
1401 KCONFIG:=CONFIG_USB_SIERRA_NET
1402 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
1403 AUTOLOAD:=$(call AutoProbe,sierra_net)
1404 $(call AddDepends/usb-net)
1405 endef
1406
1407 define KernelPackage/usb-net-sierrawireless/description
1408 Kernel support for Sierra Wireless devices
1409 endef
1410
1411 $(eval $(call KernelPackage,usb-net-sierrawireless))
1412
1413
1414 define KernelPackage/usb-net-ipheth
1415 TITLE:=Apple iPhone USB Ethernet driver
1416 KCONFIG:=CONFIG_USB_IPHETH
1417 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
1418 AUTOLOAD:=$(call AutoProbe,ipheth)
1419 $(call AddDepends/usb-net)
1420 endef
1421
1422 define KernelPackage/usb-net-ipheth/description
1423 Kernel support for Apple iPhone USB Ethernet driver
1424 endef
1425
1426 $(eval $(call KernelPackage,usb-net-ipheth))
1427
1428
1429 define KernelPackage/usb-net-kalmia
1430 TITLE:=Samsung Kalmia based LTE USB modem
1431 KCONFIG:=CONFIG_USB_NET_KALMIA
1432 FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
1433 AUTOLOAD:=$(call AutoProbe,kalmia)
1434 $(call AddDepends/usb-net)
1435 endef
1436
1437 define KernelPackage/usb-net-kalmia/description
1438 Kernel support for Samsung Kalmia based LTE USB modem
1439 endef
1440
1441 $(eval $(call KernelPackage,usb-net-kalmia))
1442
1443
1444 define KernelPackage/usb-hid
1445 TITLE:=Support for USB Human Input Devices
1446 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
1447 DEPENDS:=+kmod-hid +kmod-hid-generic +kmod-input-evdev
1448 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
1449 AUTOLOAD:=$(call AutoProbe,usbhid)
1450 $(call AddDepends/usb)
1451 endef
1452
1453 define KernelPackage/usb-hid/description
1454 Kernel support for USB HID devices such as keyboards and mice
1455 endef
1456
1457 $(eval $(call KernelPackage,usb-hid))
1458
1459
1460 define KernelPackage/usb-yealink
1461 TITLE:=USB Yealink VOIP phone
1462 DEPENDS:=+kmod-input-evdev
1463 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1464 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
1465 AUTOLOAD:=$(call AutoProbe,yealink)
1466 $(call AddDepends/usb)
1467 endef
1468
1469 define KernelPackage/usb-yealink/description
1470 Kernel support for Yealink VOIP phone
1471 endef
1472
1473 $(eval $(call KernelPackage,usb-yealink))
1474
1475
1476 define KernelPackage/usb-cm109
1477 TITLE:=Support for CM109 device
1478 DEPENDS:=+kmod-input-evdev
1479 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1480 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
1481 AUTOLOAD:=$(call AutoProbe,cm109)
1482 $(call AddDepends/usb)
1483 endef
1484
1485 define KernelPackage/usb-cm109/description
1486 Kernel support for CM109 VOIP phone
1487 endef
1488
1489 $(eval $(call KernelPackage,usb-cm109))
1490
1491
1492 define KernelPackage/usb-test
1493 TITLE:=USB Testing Driver
1494 DEPENDS:=@DEVEL
1495 KCONFIG:=CONFIG_USB_TEST
1496 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1497 $(call AddDepends/usb)
1498 endef
1499
1500 define KernelPackage/usb-test/description
1501 Kernel support for testing USB Host Controller software
1502 endef
1503
1504 $(eval $(call KernelPackage,usb-test))
1505
1506
1507 define KernelPackage/usbip
1508 TITLE := USB-over-IP kernel support
1509 KCONFIG:= \
1510 CONFIG_USBIP_CORE \
1511 CONFIG_USBIP_DEBUG=n
1512 FILES:=$(LINUX_DIR)/drivers/usb/usbip/usbip-core.ko
1513 AUTOLOAD:=$(call AutoProbe,usbip-core)
1514 $(call AddDepends/usb)
1515 endef
1516
1517 $(eval $(call KernelPackage,usbip))
1518
1519
1520 define KernelPackage/usbip-client
1521 TITLE := USB-over-IP client driver
1522 DEPENDS := +kmod-usbip
1523 KCONFIG := CONFIG_USBIP_VHCI_HCD
1524 FILES :=$(LINUX_DIR)/drivers/usb/usbip/vhci-hcd.ko
1525 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1526 $(call AddDepends/usb)
1527 endef
1528
1529 $(eval $(call KernelPackage,usbip-client))
1530
1531
1532 define KernelPackage/usbip-server
1533 $(call KernelPackage/usbip/Default)
1534 TITLE := USB-over-IP host driver
1535 DEPENDS := +kmod-usbip
1536 KCONFIG := CONFIG_USBIP_HOST
1537 FILES :=$(LINUX_DIR)/drivers/usb/usbip/usbip-host.ko
1538 AUTOLOAD := $(call AutoProbe,usbip-host)
1539 $(call AddDepends/usb)
1540 endef
1541
1542 $(eval $(call KernelPackage,usbip-server))
1543
1544
1545 define KernelPackage/usb-chipidea-imx
1546 TITLE:=Support for ChipIdea controllers
1547 DEPENDS:=@TARGET_imx6||TARGET_mxs +kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
1548 KCONFIG:=\
1549 CONFIG_USB_CHIPIDEA \
1550 CONFIG_USB_CHIPIDEA_HOST=y \
1551 CONFIG_USB_CHIPIDEA_UDC=y \
1552 CONFIG_USB_CHIPIDEA_DEBUG=y
1553 FILES:=\
1554 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1555 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
1556 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
1557 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
1558 $(call AddDepends/usb)
1559 endef
1560
1561 define KernelPackage/usb-chipidea-imx/description
1562 Kernel support for USB ChipIdea controllers
1563 endef
1564
1565 $(eval $(call KernelPackage,usb-chipidea-imx,1))
1566
1567
1568 define KernelPackage/usb-mxs-phy
1569 TITLE:=Support for Freescale MXS USB PHY
1570 DEPENDS:=@TARGET_imx6||TARGET_mxs +TARGET_mxs:kmod-usb-chipidea-imx
1571 KCONFIG:=CONFIG_USB_MXS_PHY
1572 FILES:=\
1573 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1574 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1575 $(call AddDepends/usb)
1576 endef
1577
1578 define KernelPackage/usb-mxs-phy/description
1579 Kernel support for Freescale MXS USB PHY
1580 endef
1581
1582 $(eval $(call KernelPackage,usb-mxs-phy,1))
1583
1584
1585 define KernelPackage/usbmon
1586 TITLE:=USB traffic monitor
1587 KCONFIG:=CONFIG_USB_MON
1588 $(call AddDepends/usb)
1589 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1590 AUTOLOAD:=$(call AutoProbe,usbmon)
1591 endef
1592
1593 define KernelPackage/usbmon/description
1594 Kernel support for USB traffic monitoring
1595 endef
1596
1597 $(eval $(call KernelPackage,usbmon))
1598
1599 XHCI_MODULES := xhci-hcd xhci-pci xhci-plat-hcd
1600 ifdef CONFIG_TARGET_ramips_mt7621
1601 XHCI_MODULES += xhci-mtk
1602 endif
1603 XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,$(XHCI_MODULES)))
1604 XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
1605
1606 define KernelPackage/usb3
1607 TITLE:=Support for USB3 controllers
1608 DEPENDS:= \
1609 +TARGET_bcm53xx:kmod-usb-bcma \
1610 +TARGET_omap:kmod-usb-phy-omap-usb3
1611 KCONFIG:= \
1612 CONFIG_USB_XHCI_HCD \
1613 CONFIG_USB_XHCI_PCI \
1614 CONFIG_USB_XHCI_PLATFORM \
1615 CONFIG_USB_XHCI_MVEBU=y \
1616 CONFIG_USB_XHCI_MTK \
1617 CONFIG_USB_XHCI_HCD_DEBUGGING=n
1618 FILES:= \
1619 $(XHCI_FILES)
1620 AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
1621 $(call AddDepends/usb)
1622 endef
1623
1624 define KernelPackage/usb3/description
1625 Kernel support for USB3 (XHCI) controllers
1626 endef
1627
1628 $(eval $(call KernelPackage,usb3))
1629
1630
1631 define KernelPackage/usb-net2280
1632 TITLE:=Support for NetChip 228x PCI USB peripheral controller
1633 KCONFIG:= CONFIG_USB_NET2280
1634 DEPENDS:=@PCI_SUPPORT +kmod-usb-gadget
1635 FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/net2280.ko
1636 AUTOLOAD:=$(call AutoLoad,46,net2280)
1637 $(call AddDepends/usb)
1638 endef
1639
1640 define KernelPackage/usb-net2280/description
1641 Kernel support for NetChip 228x / PLX USB338x PCI USB peripheral controller.
1642 endef
1643
1644 $(eval $(call KernelPackage,usb-net2280))
1645