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