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