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