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