move some omap24xx modules to the generic Makefile
[openwrt/openwrt.git] / package / kernel / linux / modules / usb.mk
1 #
2 # Copyright (C) 2006-2012 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
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/musb-hdrc
40 TITLE:=Support for Mentor Graphics silicon dual role USB
41 KCONFIG:= \
42 CONFIG_USB_MUSB_HDRC \
43 CONFIG_MUSB_PIO_ONLY=n \
44 CONFIG_USB_MUSB_OTG=y \
45 CONFIG_USB_MUSB_DEBUG=y
46 DEPENDS:=@TARGET_omap24xx
47 FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
48 AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
49 $(call AddDepends/usb)
50 endef
51
52 define KernelPackage/musb-hdrc/description
53 Kernel support for Mentor Graphics silicon dual role USB device.
54 endef
55
56 $(eval $(call KernelPackage,musb-hdrc))
57
58
59
60 define KernelPackage/nop-usb-xceiv
61 TITLE:=Support for USB OTG NOP transceiver
62 KCONFIG:= \
63 CONFIG_NOP_USB_XCEIV
64 DEPENDS:=@TARGET_omap24xx
65 FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
66 AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv)
67 $(call AddDepends/usb)
68 endef
69
70 define KernelPackage/nop-usb-xceiv/description
71 Support for USB OTG NOP transceiver
72 endef
73
74 $(eval $(call KernelPackage,nop-usb-xceiv))
75
76
77 define KernelPackage/usb-gadget
78 TITLE:=USB Gadget support
79 KCONFIG:=CONFIG_USB_GADGET
80 FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko
81 AUTOLOAD:=$(call AutoLoad,45,udc-core)
82 DEPENDS:=@USB_GADGET_SUPPORT
83 $(call AddDepends/usb)
84 endef
85
86 define KernelPackage/usb-gadget/description
87 Kernel support for USB Gadget mode
88 endef
89
90 $(eval $(call KernelPackage,usb-gadget))
91
92 define KernelPackage/usb-lib-composite
93 TITLE:=USB lib composite
94 KCONFIG:=CONFIG_USB_LIBCOMPOSITE
95 DEPENDS:=+kmod-usb-gadget +kmod-fs-configfs @!LINUX_3_3 @!LINUX_3_6
96 FILES:=$(LINUX_DIR)/drivers/usb/gadget/libcomposite.ko
97 AUTOLOAD:=$(call AutoLoad,50,libcomposite)
98 $(call AddDepends/usb)
99 endef
100
101 define KernelPackage/usb-lib-composite/description
102 Lib Composite
103 endef
104
105 $(eval $(call KernelPackage,usb-lib-composite))
106
107
108 define KernelPackage/usb-eth-gadget
109 TITLE:=USB Ethernet Gadget support
110 KCONFIG:= \
111 CONFIG_USB_ETH \
112 CONFIG_USB_ETH_RNDIS=y \
113 CONFIG_USB_ETH_EEM=y
114 DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite
115 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko),)
116 FILES:= \
117 $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko \
118 $(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko \
119 $(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko \
120 $(LINUX_DIR)/drivers/usb/gadget/usb_f_eem.ko \
121 $(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
122 AUTOLOAD:=$(call AutoLoad,52,g_ether)
123 else
124 FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
125 AUTOLOAD:=$(call AutoLoad,52,g_ether)
126 endif
127 $(call AddDepends/usb)
128 endef
129
130 define KernelPackage/usb-eth-gadget/description
131 Kernel support for USB Ethernet Gadget
132 endef
133
134 $(eval $(call KernelPackage,usb-eth-gadget))
135
136
137 define KernelPackage/usb-uhci
138 TITLE:=Support for UHCI controllers
139 KCONFIG:= \
140 CONFIG_USB_UHCI_ALT \
141 CONFIG_USB_UHCI_HCD
142 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
143 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
144 $(call AddDepends/usb)
145 endef
146
147 define KernelPackage/usb-uhci/description
148 Kernel support for USB UHCI controllers
149 endef
150
151 $(eval $(call KernelPackage,usb-uhci,1))
152
153
154 define KernelPackage/usb-ohci
155 TITLE:=Support for OHCI controllers
156 DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
157 KCONFIG:= \
158 CONFIG_USB_OHCI \
159 CONFIG_USB_OHCI_HCD \
160 CONFIG_USB_OHCI_ATH79=y \
161 CONFIG_USB_OHCI_BCM63XX=y \
162 CONFIG_USB_OCTEON_OHCI=y \
163 CONFIG_USB_OHCI_HCD_OMAP3=y \
164 CONFIG_USB_OHCI_HCD_PLATFORM=y
165 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
166 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
167 $(call AddDepends/usb)
168 endef
169
170 define KernelPackage/usb-ohci/description
171 Kernel support for USB OHCI controllers
172 endef
173
174 $(eval $(call KernelPackage,usb-ohci,1))
175
176
177 define KernelPackage/usb2-fsl
178 TITLE:=Support for Freescale USB2 controllers
179 DEPENDS:=@TARGET_mpc85xx
180 KCONFIG:=\
181 CONFIG_USB_FSL_MPH_DR_OF \
182 CONFIG_USB_EHCI_FSL=y
183 FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
184 AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
185 $(call AddDepends/usb)
186 endef
187
188 define KernelPackage/usb2-fsl/description
189 Kernel support for Freescale USB2 (EHCI) controllers
190 endef
191
192 $(eval $(call KernelPackage,usb2-fsl))
193
194
195 define KernelPackage/usb2
196 TITLE:=Support for USB2 controllers
197 DEPENDS:=\
198 +TARGET_brcm47xx:kmod-usb-brcm47xx \
199 +TARGET_mpc85xx:kmod-usb2-fsl
200 KCONFIG:=\
201 CONFIG_USB_EHCI_HCD \
202 CONFIG_USB_EHCI_ATH79=y \
203 CONFIG_USB_EHCI_BCM63XX=y \
204 CONFIG_USB_IMX21_HCD=y \
205 CONFIG_USB_EHCI_MXC=y \
206 CONFIG_USB_OCTEON_EHCI=y \
207 CONFIG_USB_EHCI_HCD_ORION=y \
208 CONFIG_USB_EHCI_HCD_PLATFORM=y
209 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
210 FILES:= \
211 $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
212 $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
213 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform,1)
214 else
215 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
216 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
217 endif
218 $(call AddDepends/usb)
219 endef
220
221 define KernelPackage/usb2/description
222 Kernel support for USB2 (EHCI) controllers
223 endef
224
225 $(eval $(call KernelPackage,usb2))
226
227
228 define KernelPackage/usb2-pci
229 TITLE:=Support for PCI USB2 controllers
230 DEPENDS:=@PCI_SUPPORT @(!LINUX_3_3&&!LINUX_3_6) +kmod-usb2
231 KCONFIG:=CONFIG_USB_EHCI_PCI
232 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
233 AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
234 $(call AddDepends/usb)
235 endef
236
237 define KernelPackage/usb2-pci/description
238 Kernel support for PCI USB2 (EHCI) controllers
239 endef
240
241 $(eval $(call KernelPackage,usb2-pci))
242
243
244 define KernelPackage/usb-dwc2
245 TITLE:=DWC2 USB controller driver
246 DEPENDS:=@(!LINUX_3_3&&!LINUX_3_6&&!LINUX_3_8&&!LINUX_3_9)
247 KCONFIG:= \
248 CONFIG_USB_DWC2 \
249 CONFIG_USB_DWC2_DEBUG=n \
250 CONFIG_USB_DWC2_VERBOSE=n \
251 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n
252 FILES:= \
253 $(LINUX_DIR)/drivers/staging/dwc2/dwc2.ko \
254 $(LINUX_DIR)/drivers/staging/dwc2/dwc2_platform.ko
255 AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
256 $(call AddDepends/usb)
257 endef
258
259 define KernelPackage/usb-dwc2/description
260 This driver provides USB Device Controller support for the
261 Synopsys DesignWare USB OTG Core
262 endef
263
264 $(eval $(call KernelPackage,usb-dwc2))
265
266
267 define KernelPackage/usb-acm
268 TITLE:=Support for modems/isdn controllers
269 KCONFIG:=CONFIG_USB_ACM
270 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
271 AUTOLOAD:=$(call AutoProbe,cdc-acm)
272 $(call AddDepends/usb)
273 endef
274
275 define KernelPackage/usb-acm/description
276 Kernel support for USB ACM devices (modems/isdn controllers)
277 endef
278
279 $(eval $(call KernelPackage,usb-acm))
280
281
282 define KernelPackage/usb-wdm
283 TITLE:=USB Wireless Device Management
284 KCONFIG:=CONFIG_USB_WDM
285 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
286 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
287 $(call AddDepends/usb)
288 $(call AddDepends/usb-net)
289 endef
290
291 define KernelPackage/usb-wdm/description
292 USB Wireless Device Management support
293 endef
294
295 $(eval $(call KernelPackage,usb-wdm))
296
297
298 define KernelPackage/usb-audio
299 TITLE:=Support for USB audio devices
300 KCONFIG:= \
301 CONFIG_USB_AUDIO \
302 CONFIG_SND_USB_AUDIO
303 $(call AddDepends/usb)
304 $(call AddDepends/sound)
305 # For Linux 2.6.35+
306 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
307 FILES:= \
308 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
309 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
310 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
311 else
312 FILES:= \
313 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
314 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
315 AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
316 endif
317 endef
318
319 define KernelPackage/usb-audio/description
320 Kernel support for USB audio devices
321 endef
322
323 $(eval $(call KernelPackage,usb-audio))
324
325
326 define KernelPackage/usb-printer
327 TITLE:=Support for printers
328 KCONFIG:=CONFIG_USB_PRINTER
329 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
330 AUTOLOAD:=$(call AutoProbe,usblp)
331 $(call AddDepends/usb)
332 endef
333
334 define KernelPackage/usb-printer/description
335 Kernel support for USB printers
336 endef
337
338 $(eval $(call KernelPackage,usb-printer))
339
340
341 define KernelPackage/usb-serial
342 TITLE:=Support for USB-to-Serial converters
343 KCONFIG:=CONFIG_USB_SERIAL
344 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
345 AUTOLOAD:=$(call AutoProbe,usbserial)
346 $(call AddDepends/usb)
347 endef
348
349 define KernelPackage/usb-serial/description
350 Kernel support for USB-to-Serial converters
351 endef
352
353 $(eval $(call KernelPackage,usb-serial))
354
355
356 define AddDepends/usb-serial
357 SUBMENU:=$(USB_MENU)
358 DEPENDS+=kmod-usb-serial $(1)
359 endef
360
361
362 define KernelPackage/usb-serial-belkin
363 TITLE:=Support for Belkin devices
364 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
365 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
366 AUTOLOAD:=$(call AutoProbe,belkin_sa)
367 $(call AddDepends/usb-serial)
368 endef
369
370 define KernelPackage/usb-serial-belkin/description
371 Kernel support for Belkin USB-to-Serial converters
372 endef
373
374 $(eval $(call KernelPackage,usb-serial-belkin))
375
376
377 define KernelPackage/usb-serial-ch341
378 TITLE:=Support for CH341 devices
379 KCONFIG:=CONFIG_USB_SERIAL_CH341
380 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
381 AUTOLOAD:=$(call AutoProbe,ch341)
382 $(call AddDepends/usb-serial)
383 endef
384
385 define KernelPackage/usb-serial-ch341/description
386 Kernel support for Winchiphead CH341 USB-to-Serial converters
387 endef
388
389 $(eval $(call KernelPackage,usb-serial-ch341))
390
391
392 define KernelPackage/usb-serial-ftdi
393 TITLE:=Support for FTDI devices
394 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
395 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
396 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
397 $(call AddDepends/usb-serial)
398 endef
399
400 define KernelPackage/usb-serial-ftdi/description
401 Kernel support for FTDI USB-to-Serial converters
402 endef
403
404 $(eval $(call KernelPackage,usb-serial-ftdi))
405
406
407 define KernelPackage/usb-serial-ti-usb
408 TITLE:=Support for TI USB 3410/5052
409 KCONFIG:=CONFIG_USB_SERIAL_TI
410 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
411 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
412 $(call AddDepends/usb-serial)
413 endef
414
415 define KernelPackage/usb-serial-ti-usb/description
416 Kernel support for TI USB 3410/5052 devices
417 endef
418
419 $(eval $(call KernelPackage,usb-serial-ti-usb))
420
421
422 define KernelPackage/usb-serial-ipw
423 TITLE:=Support for IPWireless 3G devices
424 KCONFIG:=CONFIG_USB_SERIAL_IPW
425 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
426 AUTOLOAD:=$(call AutoProbe,ipw)
427 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
428 endef
429
430 $(eval $(call KernelPackage,usb-serial-ipw))
431
432
433 define KernelPackage/usb-serial-mct
434 TITLE:=Support for Magic Control Tech. devices
435 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
436 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
437 AUTOLOAD:=$(call AutoProbe,mct_u232)
438 $(call AddDepends/usb-serial)
439 endef
440
441 define KernelPackage/usb-serial-mct/description
442 Kernel support for Magic Control Technology USB-to-Serial converters
443 endef
444
445 $(eval $(call KernelPackage,usb-serial-mct))
446
447
448 define KernelPackage/usb-serial-mos7720
449 TITLE:=Support for Moschip MOS7720 devices
450 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
451 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
452 AUTOLOAD:=$(call AutoProbe,mos7720)
453 $(call AddDepends/usb-serial)
454 endef
455
456 define KernelPackage/usb-serial-mos7720/description
457 Kernel support for Moschip MOS7720 USB-to-Serial converters
458 endef
459
460 $(eval $(call KernelPackage,usb-serial-mos7720))
461
462
463 define KernelPackage/usb-serial-pl2303
464 TITLE:=Support for Prolific PL2303 devices
465 KCONFIG:=CONFIG_USB_SERIAL_PL2303
466 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
467 AUTOLOAD:=$(call AutoProbe,pl2303)
468 $(call AddDepends/usb-serial)
469 endef
470
471 define KernelPackage/usb-serial-pl2303/description
472 Kernel support for Prolific PL2303 USB-to-Serial converters
473 endef
474
475 $(eval $(call KernelPackage,usb-serial-pl2303))
476
477
478 define KernelPackage/usb-serial-cp210x
479 TITLE:=Support for Silicon Labs cp210x devices
480 KCONFIG:=CONFIG_USB_SERIAL_CP210X
481 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
482 AUTOLOAD:=$(call AutoProbe,cp210x)
483 $(call AddDepends/usb-serial)
484 endef
485
486 define KernelPackage/usb-serial-cp210x/description
487 Kernel support for Silicon Labs cp210x USB-to-Serial converters
488 endef
489
490 $(eval $(call KernelPackage,usb-serial-cp210x))
491
492
493 define KernelPackage/usb-serial-ark3116
494 TITLE:=Support for ArkMicroChips ARK3116 devices
495 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
496 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
497 AUTOLOAD:=$(call AutoProbe,ark3116)
498 $(call AddDepends/usb-serial)
499 endef
500
501 define KernelPackage/usb-serial-ark3116/description
502 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
503 endef
504
505 $(eval $(call KernelPackage,usb-serial-ark3116))
506
507
508 define KernelPackage/usb-serial-oti6858
509 TITLE:=Support for Ours Technology OTI6858 devices
510 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
511 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
512 AUTOLOAD:=$(call AutoProbe,oti6858)
513 $(call AddDepends/usb-serial)
514 endef
515
516 define KernelPackage/usb-serial-oti6858/description
517 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
518 endef
519
520 $(eval $(call KernelPackage,usb-serial-oti6858))
521
522
523 define KernelPackage/usb-serial-sierrawireless
524 TITLE:=Support for Sierra Wireless devices
525 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
526 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
527 AUTOLOAD:=$(call AutoProbe,sierra)
528 $(call AddDepends/usb-serial)
529 endef
530
531 define KernelPackage/usb-serial-sierrawireless/description
532 Kernel support for Sierra Wireless devices
533 endef
534
535 $(eval $(call KernelPackage,usb-serial-sierrawireless))
536
537
538 define KernelPackage/usb-serial-motorola-phone
539 TITLE:=Support for Motorola usb phone
540 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
541 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
542 AUTOLOAD:=$(call AutoProbe,moto_modem)
543 $(call AddDepends/usb-serial)
544 endef
545
546 define KernelPackage/usb-serial-motorola-phone/description
547 Kernel support for Motorola usb phone
548 endef
549
550 $(eval $(call KernelPackage,usb-serial-motorola-phone))
551
552
553 define KernelPackage/usb-serial-visor
554 TITLE:=Support for Handspring Visor devices
555 KCONFIG:=CONFIG_USB_SERIAL_VISOR
556 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
557 AUTOLOAD:=$(call AutoProbe,visor)
558 $(call AddDepends/usb-serial)
559 endef
560
561 define KernelPackage/usb-serial-visor/description
562 Kernel support for Handspring Visor PDAs
563 endef
564
565 $(eval $(call KernelPackage,usb-serial-visor))
566
567
568 define KernelPackage/usb-serial-cypress-m8
569 TITLE:=Support for CypressM8 USB-Serial
570 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
571 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
572 AUTOLOAD:=$(call AutoProbe,cypress_m8)
573 $(call AddDepends/usb-serial)
574 endef
575
576 define KernelPackage/usb-serial-cypress-m8/description
577 Kernel support for devices with Cypress M8 USB to Serial chip
578 (for example, the Delorme Earthmate LT-20 GPS)
579 Supported microcontrollers in the CY4601 family are:
580 CY7C63741 CY7C63742 CY7C63743 CY7C64013
581 endef
582
583 $(eval $(call KernelPackage,usb-serial-cypress-m8))
584
585
586 define KernelPackage/usb-serial-keyspan
587 TITLE:=Support for Keyspan USB-to-Serial devices
588 KCONFIG:= \
589 CONFIG_USB_SERIAL_KEYSPAN \
590 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
591 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
592 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
593 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
594 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
595 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
596 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
597 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
598 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
599 CONFIG_USB_SERIAL_KEYSPAN_MPR \
600 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
601 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
602 FILES:= \
603 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
604 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
605 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
606 $(call AddDepends/usb-serial)
607 endef
608
609 define KernelPackage/usb-serial-keyspan/description
610 Kernel support for Keyspan USB-to-Serial devices
611 endef
612
613 $(eval $(call KernelPackage,usb-serial-keyspan))
614
615
616 define KernelPackage/usb-serial-wwan
617 TITLE:=Support for GSM and CDMA modems
618 KCONFIG:=CONFIG_USB_SERIAL_WWAN
619 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
620 AUTOLOAD:=$(call AutoProbe,usb_wwan)
621 $(call AddDepends/usb-serial)
622 endef
623
624 define KernelPackage/usb-serial-wwan/description
625 Kernel support for USB GSM and CDMA modems
626 endef
627
628 $(eval $(call KernelPackage,usb-serial-wwan))
629
630
631 define KernelPackage/usb-serial-option
632 TITLE:=Support for Option HSDPA modems
633 DEPENDS:=+kmod-usb-serial-wwan
634 KCONFIG:=CONFIG_USB_SERIAL_OPTION
635 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
636 AUTOLOAD:=$(call AutoProbe,option)
637 $(call AddDepends/usb-serial)
638 endef
639
640 define KernelPackage/usb-serial-option/description
641 Kernel support for Option HSDPA modems
642 endef
643
644 $(eval $(call KernelPackage,usb-serial-option))
645
646
647 define KernelPackage/usb-serial-qualcomm
648 TITLE:=Support for Qualcomm USB serial
649 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
650 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
651 AUTOLOAD:=$(call AutoProbe,qcserial)
652 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
653 endef
654
655 define KernelPackage/usb-serial-qualcomm/description
656 Kernel support for Qualcomm USB Serial devices (Gobi)
657 endef
658
659 $(eval $(call KernelPackage,usb-serial-qualcomm))
660
661
662 define KernelPackage/usb-storage
663 TITLE:=USB Storage support
664 DEPENDS:= +kmod-scsi-core
665 KCONFIG:=CONFIG_USB_STORAGE
666 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
667 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
668 $(call AddDepends/usb)
669 endef
670
671 define KernelPackage/usb-storage/description
672 Kernel support for USB Mass Storage devices
673 endef
674
675 $(eval $(call KernelPackage,usb-storage))
676
677
678 define KernelPackage/usb-storage-extras
679 SUBMENU:=$(USB_MENU)
680 TITLE:=Extra drivers for usb-storage
681 DEPENDS:=+kmod-usb-storage
682 KCONFIG:= \
683 CONFIG_USB_STORAGE_ALAUDA \
684 CONFIG_USB_STORAGE_CYPRESS_ATACB \
685 CONFIG_USB_STORAGE_DATAFAB \
686 CONFIG_USB_STORAGE_FREECOM \
687 CONFIG_USB_STORAGE_ISD200 \
688 CONFIG_USB_STORAGE_JUMPSHOT \
689 CONFIG_USB_STORAGE_KARMA \
690 CONFIG_USB_STORAGE_SDDR09 \
691 CONFIG_USB_STORAGE_SDDR55 \
692 CONFIG_USB_STORAGE_USBAT
693 FILES:= \
694 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
695 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
696 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
697 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
698 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
699 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
700 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
701 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
702 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
703 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
704 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
705 ums-freecom ums-isd200 ums-jumpshot \
706 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
707 endef
708
709 define KernelPackage/usb-storage-extras/description
710 Say Y here if you want to have some more drivers,
711 such as for SmartMedia card readers
712 endef
713
714 $(eval $(call KernelPackage,usb-storage-extras))
715
716
717 define KernelPackage/usb-atm
718 TITLE:=Support for ATM on USB bus
719 DEPENDS:=+kmod-atm
720 KCONFIG:=CONFIG_USB_ATM
721 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
722 AUTOLOAD:=$(call AutoProbe,usbatm)
723 $(call AddDepends/usb)
724 endef
725
726 define KernelPackage/usb-atm/description
727 Kernel support for USB DSL modems
728 endef
729
730 $(eval $(call KernelPackage,usb-atm))
731
732
733 define AddDepends/usb-atm
734 SUBMENU:=$(USB_MENU)
735 DEPENDS+=kmod-usb-atm $(1)
736 endef
737
738
739 define KernelPackage/usb-atm-speedtouch
740 TITLE:=SpeedTouch USB ADSL modems support
741 KCONFIG:=CONFIG_USB_SPEEDTOUCH
742 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
743 AUTOLOAD:=$(call AutoProbe,speedtch)
744 $(call AddDepends/usb-atm)
745 endef
746
747 define KernelPackage/usb-atm-speedtouch/description
748 Kernel support for SpeedTouch USB ADSL modems
749 endef
750
751 $(eval $(call KernelPackage,usb-atm-speedtouch))
752
753
754 define KernelPackage/usb-atm-ueagle
755 TITLE:=Eagle 8051 based USB ADSL modems support
756 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
757 KCONFIG:=CONFIG_USB_UEAGLEATM
758 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
759 $(call AddDepends/usb-atm)
760 endef
761
762 define KernelPackage/usb-atm-ueagle/description
763 Kernel support for Eagle 8051 based USB ADSL modems
764 endef
765
766 $(eval $(call KernelPackage,usb-atm-ueagle))
767
768
769 define KernelPackage/usb-atm-cxacru
770 TITLE:=cxacru
771 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
772 KCONFIG:=CONFIG_USB_CXACRU
773 AUTOLOAD:=$(call AutoProbe,cxacru)
774 $(call AddDepends/usb-atm)
775 endef
776
777 define KernelPackage/usb-atm-cxacru/description
778 Kernel support for cxacru based USB ADSL modems
779 endef
780
781 $(eval $(call KernelPackage,usb-atm-cxacru))
782
783
784 define KernelPackage/usb-net
785 TITLE:=Kernel modules for USB-to-Ethernet convertors
786 KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
787 AUTOLOAD:=$(call AutoProbe,usbnet)
788 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.12.0)),1)
789 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
790 else
791 FILES:=\
792 $(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko \
793 $(LINUX_DIR)/drivers/net/mii.ko
794 endif
795 $(call AddDepends/usb)
796 endef
797
798 define KernelPackage/usb-net/description
799 Kernel modules for USB-to-Ethernet convertors
800 endef
801
802 $(eval $(call KernelPackage,usb-net))
803
804
805 define AddDepends/usb-net
806 SUBMENU:=$(USB_MENU)
807 DEPENDS+=kmod-usb-net $(1)
808 endef
809
810
811 define KernelPackage/usb-net-asix
812 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
813 DEPENDS:=+!LINUX_3_3:kmod-libphy
814 KCONFIG:=CONFIG_USB_NET_AX8817X
815 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
816 AUTOLOAD:=$(call AutoProbe,asix)
817 $(call AddDepends/usb-net)
818 endef
819
820 define KernelPackage/usb-net-asix/description
821 Kernel module for USB-to-Ethernet Asix convertors
822 endef
823
824 $(eval $(call KernelPackage,usb-net-asix))
825
826
827 define KernelPackage/usb-net-hso
828 TITLE:=Kernel module for Option USB High Speed Mobile Devices
829 KCONFIG:=CONFIG_USB_HSO
830 FILES:= \
831 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
832 AUTOLOAD:=$(call AutoProbe,hso)
833 $(call AddDepends/usb-net)
834 $(call AddDepends/rfkill)
835 endef
836
837 define KernelPackage/usb-net-hso/description
838 Kernel module for Option USB High Speed Mobile Devices
839 endef
840
841 $(eval $(call KernelPackage,usb-net-hso))
842
843
844 define KernelPackage/usb-net-kaweth
845 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
846 KCONFIG:=CONFIG_USB_KAWETH
847 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
848 AUTOLOAD:=$(call AutoProbe,kaweth)
849 $(call AddDepends/usb-net)
850 endef
851
852 define KernelPackage/usb-net-kaweth/description
853 Kernel module for USB-to-Ethernet Kaweth convertors
854 endef
855
856 $(eval $(call KernelPackage,usb-net-kaweth))
857
858
859 define KernelPackage/usb-net-pegasus
860 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
861 KCONFIG:=CONFIG_USB_PEGASUS
862 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
863 AUTOLOAD:=$(call AutoProbe,pegasus)
864 $(call AddDepends/usb-net)
865 endef
866
867 define KernelPackage/usb-net-pegasus/description
868 Kernel module for USB-to-Ethernet Pegasus convertors
869 endef
870
871 $(eval $(call KernelPackage,usb-net-pegasus))
872
873
874 define KernelPackage/usb-net-mcs7830
875 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
876 KCONFIG:=CONFIG_USB_NET_MCS7830
877 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
878 AUTOLOAD:=$(call AutoProbe,mcs7830)
879 $(call AddDepends/usb-net)
880 endef
881
882 define KernelPackage/usb-net-mcs7830/description
883 Kernel module for USB-to-Ethernet MCS7830 convertors
884 endef
885
886 $(eval $(call KernelPackage,usb-net-mcs7830))
887
888
889 define KernelPackage/usb-net-dm9601-ether
890 TITLE:=Support for DM9601 ethernet connections
891 KCONFIG:=CONFIG_USB_NET_DM9601
892 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
893 AUTOLOAD:=$(call AutoProbe,dm9601)
894 $(call AddDepends/usb-net)
895 endef
896
897 define KernelPackage/usb-net-dm9601-ether/description
898 Kernel support for USB DM9601 devices
899 endef
900
901 $(eval $(call KernelPackage,usb-net-dm9601-ether))
902
903 define KernelPackage/usb-net-cdc-ether
904 TITLE:=Support for cdc ethernet connections
905 KCONFIG:=CONFIG_USB_NET_CDCETHER
906 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
907 AUTOLOAD:=$(call AutoProbe,cdc_ether)
908 $(call AddDepends/usb-net)
909 endef
910
911 define KernelPackage/usb-net-cdc-ether/description
912 Kernel support for USB CDC Ethernet devices
913 endef
914
915 $(eval $(call KernelPackage,usb-net-cdc-ether))
916
917
918 define KernelPackage/usb-net-qmi-wwan
919 TITLE:=QMI WWAN driver
920 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
921 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
922 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
923 $(call AddDepends/usb-net,+kmod-usb-wdm)
924 endef
925
926 define KernelPackage/usb-net-qmi-wwan/description
927 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
928 endef
929
930 $(eval $(call KernelPackage,usb-net-qmi-wwan))
931
932
933 define KernelPackage/usb-net-rndis
934 TITLE:=Support for RNDIS connections
935 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
936 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
937 AUTOLOAD:=$(call AutoProbe,rndis_host)
938 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
939 endef
940
941 define KernelPackage/usb-net-rndis/description
942 Kernel support for RNDIS connections
943 endef
944
945 $(eval $(call KernelPackage,usb-net-rndis))
946
947
948 define KernelPackage/usb-net-cdc-mbim
949 SUBMENU:=$(USB_MENU)
950 TITLE:=Kernel module for MBIM Devices
951 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
952 FILES:= \
953 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
954 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
955 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
956 endef
957
958 define KernelPackage/usb-net-cdc-mbim/description
959 Kernel module for Option USB High Speed Mobile Devices
960 endef
961
962 $(eval $(call KernelPackage,usb-net-cdc-mbim))
963
964
965 define KernelPackage/usb-net-cdc-ncm
966 TITLE:=Support for CDC NCM connections
967 KCONFIG:=CONFIG_USB_NET_CDC_NCM
968 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
969 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
970 $(call AddDepends/usb-net)
971 endef
972
973 define KernelPackage/usb-net-cdc-ncm/description
974 Kernel support for CDC NCM connections
975 endef
976
977 $(eval $(call KernelPackage,usb-net-cdc-ncm))
978
979
980 define KernelPackage/usb-net-sierrawireless
981 TITLE:=Support for Sierra Wireless devices
982 KCONFIG:=CONFIG_USB_SIERRA_NET
983 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
984 AUTOLOAD:=$(call AutoProbe,sierra_net)
985 $(call AddDepends/usb-net)
986 endef
987
988 define KernelPackage/usb-net-sierrawireless/description
989 Kernel support for Sierra Wireless devices
990 endef
991
992 $(eval $(call KernelPackage,usb-net-sierrawireless))
993
994
995 define KernelPackage/usb-net-ipheth
996 TITLE:=Apple iPhone USB Ethernet driver
997 KCONFIG:=CONFIG_USB_IPHETH
998 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
999 AUTOLOAD:=$(call AutoProbe,ipheth)
1000 $(call AddDepends/usb-net)
1001 endef
1002
1003 define KernelPackage/usb-net-ipheth/description
1004 Kernel support for Apple iPhone USB Ethernet driver
1005 endef
1006
1007 $(eval $(call KernelPackage,usb-net-ipheth))
1008
1009
1010 define KernelPackage/usb-net-kalmia
1011 TITLE:=Samsung Kalmia based LTE USB modem
1012 KCONFIG:=CONFIG_USB_NET_KALMIA
1013 FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
1014 AUTOLOAD:=$(call AutoProbe,kalmia)
1015 $(call AddDepends/usb-net)
1016 endef
1017
1018 define KernelPackage/usb-net-kalmia/description
1019 Kernel support for Samsung Kalmia based LTE USB modem
1020 endef
1021
1022 $(eval $(call KernelPackage,usb-net-kalmia))
1023
1024
1025 define KernelPackage/usb-hid
1026 TITLE:=Support for USB Human Input Devices
1027 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
1028 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
1029 AUTOLOAD:=$(call AutoProbe,usbhid)
1030 $(call AddDepends/usb)
1031 $(call AddDepends/hid)
1032 $(call AddDepends/input,+kmod-input-evdev)
1033 endef
1034
1035 define KernelPackage/usb-hid/description
1036 Kernel support for USB HID devices such as keyboards and mice
1037 endef
1038
1039 $(eval $(call KernelPackage,usb-hid))
1040
1041
1042 define KernelPackage/usb-yealink
1043 TITLE:=USB Yealink VOIP phone
1044 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1045 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
1046 AUTOLOAD:=$(call AutoProbe,yealink)
1047 $(call AddDepends/usb)
1048 $(call AddDepends/input,+kmod-input-evdev)
1049 endef
1050
1051 define KernelPackage/usb-yealink/description
1052 Kernel support for Yealink VOIP phone
1053 endef
1054
1055 $(eval $(call KernelPackage,usb-yealink))
1056
1057
1058 define KernelPackage/usb-cm109
1059 TITLE:=Support for CM109 device
1060 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1061 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
1062 AUTOLOAD:=$(call AutoProbe,cm109)
1063 $(call AddDepends/usb)
1064 $(call AddDepends/input,+kmod-input-evdev)
1065 endef
1066
1067 define KernelPackage/usb-cm109/description
1068 Kernel support for CM109 VOIP phone
1069 endef
1070
1071 $(eval $(call KernelPackage,usb-cm109))
1072
1073
1074 define KernelPackage/usb-test
1075 TITLE:=USB Testing Driver
1076 DEPENDS:=@DEVEL
1077 KCONFIG:=CONFIG_USB_TEST
1078 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1079 $(call AddDepends/usb)
1080 endef
1081
1082 define KernelPackage/usb-test/description
1083 Kernel support for testing USB Host Controller software
1084 endef
1085
1086 $(eval $(call KernelPackage,usb-test))
1087
1088
1089 define KernelPackage/usbip
1090 TITLE := USB-over-IP kernel support
1091 KCONFIG:= \
1092 CONFIG_USBIP_CORE \
1093 CONFIG_USBIP_DEBUG=n
1094 FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko
1095 AUTOLOAD:=$(call AutoProbe,usbip-core)
1096 $(call AddDepends/usb)
1097 endef
1098
1099 $(eval $(call KernelPackage,usbip))
1100
1101
1102 define KernelPackage/usbip-client
1103 TITLE := USB-over-IP client driver
1104 DEPENDS := +kmod-usbip
1105 KCONFIG := CONFIG_USBIP_VHCI_HCD
1106 FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX)
1107 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1108 $(call AddDepends/usb)
1109 endef
1110
1111 $(eval $(call KernelPackage,usbip-client))
1112
1113
1114 define KernelPackage/usbip-server
1115 $(call KernelPackage/usbip/Default)
1116 TITLE := USB-over-IP host driver
1117 DEPENDS := +kmod-usbip
1118 KCONFIG := CONFIG_USBIP_HOST
1119 FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko
1120 AUTOLOAD := $(call AutoProbe,usbip-host)
1121 $(call AddDepends/usb)
1122 endef
1123
1124 $(eval $(call KernelPackage,usbip-server))
1125
1126
1127 define KernelPackage/usb-chipidea
1128 TITLE:=Support for ChipIdea controllers
1129 DEPENDS:=+kmod-usb2
1130 KCONFIG:=\
1131 CONFIG_USB_CHIPIDEA \
1132 CONFIG_USB_CHIPIDEA_HOST=y \
1133 CONFIG_USB_CHIPIDEA_UDC=n \
1134 CONFIG_USB_CHIPIDEA_DEBUG=y
1135 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.11.0)),1)
1136 FILES:=\
1137 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1138 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko) \
1139 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q).ko)
1140 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q)),1)
1141 else
1142 FILES:=\
1143 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1144 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
1145 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
1146 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
1147 endif
1148 $(call AddDepends/usb)
1149 endef
1150
1151 define KernelPackage/usb-chipidea/description
1152 Kernel support for USB ChipIdea controllers
1153 endef
1154
1155 $(eval $(call KernelPackage,usb-chipidea,1))
1156
1157
1158 define KernelPackage/usb-mxs-phy
1159 TITLE:=Support for Freescale MXS USB PHY
1160 DEPENDS:=@TARGET_imx6
1161 KCONFIG:=CONFIG_USB_MXS_PHY
1162 FILES:=\
1163 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1164 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1165 $(call AddDepends/usb)
1166 endef
1167
1168 define KernelPackage/usb-mxs-phy/description
1169 Kernel support for Freescale MXS USB PHY
1170 endef
1171
1172 $(eval $(call KernelPackage,usb-mxs-phy,1))
1173
1174
1175 define KernelPackage/usbmon
1176 TITLE:=USB traffic monitor
1177 KCONFIG:=CONFIG_USB_MON
1178 $(call AddDepends/usb)
1179 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1180 AUTOLOAD:=$(call AutoProbe,usbmon)
1181 endef
1182
1183 define KernelPackage/usbmon/description
1184 Kernel support for USB traffic monitoring
1185 endef
1186
1187 $(eval $(call KernelPackage,usbmon))
1188
1189
1190 define KernelPackage/usb3
1191 TITLE:=Support for USB3 controllers
1192 KCONFIG:= \
1193 CONFIG_USB_XHCI_HCD \
1194 CONFIG_USB_XHCI_HCD_DEBUGGING=n
1195 FILES:= \
1196 $(LINUX_DIR)/drivers/usb/host/xhci-hcd.ko
1197 AUTOLOAD:=$(call AutoLoad,54,xhci-hcd,1)
1198 $(call AddDepends/usb)
1199 endef
1200
1201 define KernelPackage/usb3/description
1202 Kernel support for USB3 (XHCI) controllers
1203 endef
1204
1205 $(eval $(call KernelPackage,usb3))