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