38b75a32a9332576d879d6681074ae3e88fb64f1
[openwrt/svn-archive/archive.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-acm
497 TITLE:=Support for modems/isdn controllers
498 KCONFIG:=CONFIG_USB_ACM
499 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
500 AUTOLOAD:=$(call AutoProbe,cdc-acm)
501 $(call AddDepends/usb)
502 endef
503
504 define KernelPackage/usb-acm/description
505 Kernel support for USB ACM devices (modems/isdn controllers)
506 endef
507
508 $(eval $(call KernelPackage,usb-acm))
509
510
511 define KernelPackage/usb-wdm
512 TITLE:=USB Wireless Device Management
513 KCONFIG:=CONFIG_USB_WDM
514 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
515 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
516 $(call AddDepends/usb)
517 $(call AddDepends/usb-net)
518 endef
519
520 define KernelPackage/usb-wdm/description
521 USB Wireless Device Management support
522 endef
523
524 $(eval $(call KernelPackage,usb-wdm))
525
526
527 define KernelPackage/usb-audio
528 TITLE:=Support for USB audio devices
529 KCONFIG:= \
530 CONFIG_USB_AUDIO \
531 CONFIG_SND_USB_AUDIO
532 $(call AddDepends/usb)
533 $(call AddDepends/sound)
534 # For Linux 2.6.35+
535 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
536 FILES:= \
537 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
538 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
539 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
540 else
541 FILES:= \
542 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
543 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
544 AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
545 endif
546 endef
547
548 define KernelPackage/usb-audio/description
549 Kernel support for USB audio devices
550 endef
551
552 $(eval $(call KernelPackage,usb-audio))
553
554
555 define KernelPackage/usb-printer
556 TITLE:=Support for printers
557 KCONFIG:=CONFIG_USB_PRINTER
558 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
559 AUTOLOAD:=$(call AutoProbe,usblp)
560 $(call AddDepends/usb)
561 endef
562
563 define KernelPackage/usb-printer/description
564 Kernel support for USB printers
565 endef
566
567 $(eval $(call KernelPackage,usb-printer))
568
569
570 define KernelPackage/usb-serial
571 TITLE:=Support for USB-to-Serial converters
572 KCONFIG:=CONFIG_USB_SERIAL
573 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
574 AUTOLOAD:=$(call AutoProbe,usbserial)
575 $(call AddDepends/usb)
576 endef
577
578 define KernelPackage/usb-serial/description
579 Kernel support for USB-to-Serial converters
580 endef
581
582 $(eval $(call KernelPackage,usb-serial))
583
584
585 define AddDepends/usb-serial
586 SUBMENU:=$(USB_MENU)
587 DEPENDS+=kmod-usb-serial $(1)
588 endef
589
590
591 define KernelPackage/usb-serial-belkin
592 TITLE:=Support for Belkin devices
593 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
594 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
595 AUTOLOAD:=$(call AutoProbe,belkin_sa)
596 $(call AddDepends/usb-serial)
597 endef
598
599 define KernelPackage/usb-serial-belkin/description
600 Kernel support for Belkin USB-to-Serial converters
601 endef
602
603 $(eval $(call KernelPackage,usb-serial-belkin))
604
605
606 define KernelPackage/usb-serial-ch341
607 TITLE:=Support for CH341 devices
608 KCONFIG:=CONFIG_USB_SERIAL_CH341
609 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
610 AUTOLOAD:=$(call AutoProbe,ch341)
611 $(call AddDepends/usb-serial)
612 endef
613
614 define KernelPackage/usb-serial-ch341/description
615 Kernel support for Winchiphead CH341 USB-to-Serial converters
616 endef
617
618 $(eval $(call KernelPackage,usb-serial-ch341))
619
620
621 define KernelPackage/usb-serial-ftdi
622 TITLE:=Support for FTDI devices
623 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
624 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
625 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
626 $(call AddDepends/usb-serial)
627 endef
628
629 define KernelPackage/usb-serial-ftdi/description
630 Kernel support for FTDI USB-to-Serial converters
631 endef
632
633 $(eval $(call KernelPackage,usb-serial-ftdi))
634
635
636 <<<<<<< HEAD
637 define KernelPackage/usb-serial-garmin
638 TITLE:=Support for Garmin GPS devices
639 KCONFIG:=CONFIG_USB_SERIAL_GARMIN
640 FILES:=$(LINUX_DIR)/drivers/usb/serial/garmin_gps.ko
641 AUTOLOAD:=$(call AutoProbe,garmin_gps)
642 $(call AddDepends/usb-serial)
643 endef
644
645 define KernelPackage/usb-serial-garmin/description
646 Should work with most Garmin GPS devices which have a native USB port.
647 endef
648
649 $(eval $(call KernelPackage,usb-serial-garmin))
650 =======
651 define KernelPackage/usb-serial-simple
652 TITLE:=USB Serial Simple (Motorola phone)
653 KCONFIG:=CONFIG_USB_SERIAL_SIMPLE
654 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb-serial-simple.ko
655 AUTOLOAD:=$(call AutoProbe,usb-serial-simple)
656 $(call AddDepends/usb-serial)
657 endef
658
659 define KernelPackage/usb-serial-simple/description
660 Kernel support for "very simple devices".
661
662 Specifically, it supports:
663 - Suunto ANT+ USB device.
664 - Medtronic CareLink USB device (3.18)
665 - Fundamental Software dongle.
666 - Google USB serial devices (3.19)
667 - HP4x calculators
668 - a number of Motorola phones
669 - Novatel Wireless GPS receivers (3.18)
670 - Siemens USB/MPI adapter.
671 - ViVOtech ViVOpay USB device.
672 - Infineon Modem Flashloader USB interface
673 - ZIO Motherboard USB serial interface
674 endef
675
676 $(eval $(call KernelPackage,usb-serial-simple))
677 >>>>>>> kernel: add usb-serial-simple module
678
679
680 define KernelPackage/usb-serial-simple
681 TITLE:=USB Serial Simple (Motorola phone)
682 KCONFIG:=CONFIG_USB_SERIAL_SIMPLE
683 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb-serial-simple.ko
684 AUTOLOAD:=$(call AutoProbe,usb-serial-simple)
685 $(call AddDepends/usb-serial)
686 endef
687
688 define KernelPackage/usb-serial-simple/description
689 Kernel support for "very simple devices".
690
691 Specifically, it supports:
692 - Suunto ANT+ USB device.
693 - Medtronic CareLink USB device (3.18)
694 - Fundamental Software dongle.
695 - Google USB serial devices (3.19)
696 - HP4x calculators
697 - a number of Motorola phones
698 - Novatel Wireless GPS receivers (3.18)
699 - Siemens USB/MPI adapter.
700 - ViVOtech ViVOpay USB device.
701 - Infineon Modem Flashloader USB interface
702 - ZIO Motherboard USB serial interface
703 endef
704
705 $(eval $(call KernelPackage,usb-serial-simple))
706
707
708 define KernelPackage/usb-serial-ti-usb
709 TITLE:=Support for TI USB 3410/5052
710 KCONFIG:=CONFIG_USB_SERIAL_TI
711 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
712 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
713 $(call AddDepends/usb-serial)
714 endef
715
716 define KernelPackage/usb-serial-ti-usb/description
717 Kernel support for TI USB 3410/5052 devices
718 endef
719
720 $(eval $(call KernelPackage,usb-serial-ti-usb))
721
722
723 define KernelPackage/usb-serial-ipw
724 TITLE:=Support for IPWireless 3G devices
725 KCONFIG:=CONFIG_USB_SERIAL_IPW
726 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
727 AUTOLOAD:=$(call AutoProbe,ipw)
728 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
729 endef
730
731 $(eval $(call KernelPackage,usb-serial-ipw))
732
733
734 define KernelPackage/usb-serial-mct
735 TITLE:=Support for Magic Control Tech. devices
736 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
737 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
738 AUTOLOAD:=$(call AutoProbe,mct_u232)
739 $(call AddDepends/usb-serial)
740 endef
741
742 define KernelPackage/usb-serial-mct/description
743 Kernel support for Magic Control Technology USB-to-Serial converters
744 endef
745
746 $(eval $(call KernelPackage,usb-serial-mct))
747
748
749 define KernelPackage/usb-serial-mos7720
750 TITLE:=Support for Moschip MOS7720 devices
751 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
752 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
753 AUTOLOAD:=$(call AutoProbe,mos7720)
754 $(call AddDepends/usb-serial)
755 endef
756
757 define KernelPackage/usb-serial-mos7720/description
758 Kernel support for Moschip MOS7720 USB-to-Serial converters
759 endef
760
761 $(eval $(call KernelPackage,usb-serial-mos7720))
762
763
764 define KernelPackage/usb-serial-pl2303
765 TITLE:=Support for Prolific PL2303 devices
766 KCONFIG:=CONFIG_USB_SERIAL_PL2303
767 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
768 AUTOLOAD:=$(call AutoProbe,pl2303)
769 $(call AddDepends/usb-serial)
770 endef
771
772 define KernelPackage/usb-serial-pl2303/description
773 Kernel support for Prolific PL2303 USB-to-Serial converters
774 endef
775
776 $(eval $(call KernelPackage,usb-serial-pl2303))
777
778
779 define KernelPackage/usb-serial-cp210x
780 TITLE:=Support for Silicon Labs cp210x devices
781 KCONFIG:=CONFIG_USB_SERIAL_CP210X
782 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
783 AUTOLOAD:=$(call AutoProbe,cp210x)
784 $(call AddDepends/usb-serial)
785 endef
786
787 define KernelPackage/usb-serial-cp210x/description
788 Kernel support for Silicon Labs cp210x USB-to-Serial converters
789 endef
790
791 $(eval $(call KernelPackage,usb-serial-cp210x))
792
793
794 define KernelPackage/usb-serial-ark3116
795 TITLE:=Support for ArkMicroChips ARK3116 devices
796 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
797 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
798 AUTOLOAD:=$(call AutoProbe,ark3116)
799 $(call AddDepends/usb-serial)
800 endef
801
802 define KernelPackage/usb-serial-ark3116/description
803 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
804 endef
805
806 $(eval $(call KernelPackage,usb-serial-ark3116))
807
808
809 define KernelPackage/usb-serial-oti6858
810 TITLE:=Support for Ours Technology OTI6858 devices
811 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
812 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
813 AUTOLOAD:=$(call AutoProbe,oti6858)
814 $(call AddDepends/usb-serial)
815 endef
816
817 define KernelPackage/usb-serial-oti6858/description
818 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
819 endef
820
821 $(eval $(call KernelPackage,usb-serial-oti6858))
822
823
824 define KernelPackage/usb-serial-sierrawireless
825 TITLE:=Support for Sierra Wireless devices
826 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
827 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
828 AUTOLOAD:=$(call AutoProbe,sierra)
829 $(call AddDepends/usb-serial)
830 endef
831
832 define KernelPackage/usb-serial-sierrawireless/description
833 Kernel support for Sierra Wireless devices
834 endef
835
836 $(eval $(call KernelPackage,usb-serial-sierrawireless))
837
838
839 define KernelPackage/usb-serial-motorola-phone
840 TITLE:=Support for Motorola usb phone
841 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
842 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
843 AUTOLOAD:=$(call AutoProbe,moto_modem)
844 $(call AddDepends/usb-serial)
845 endef
846
847 define KernelPackage/usb-serial-motorola-phone/description
848 Kernel support for Motorola usb phone
849 endef
850
851 $(eval $(call KernelPackage,usb-serial-motorola-phone))
852
853
854 define KernelPackage/usb-serial-visor
855 TITLE:=Support for Handspring Visor devices
856 KCONFIG:=CONFIG_USB_SERIAL_VISOR
857 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
858 AUTOLOAD:=$(call AutoProbe,visor)
859 $(call AddDepends/usb-serial)
860 endef
861
862 define KernelPackage/usb-serial-visor/description
863 Kernel support for Handspring Visor PDAs
864 endef
865
866 $(eval $(call KernelPackage,usb-serial-visor))
867
868
869 define KernelPackage/usb-serial-cypress-m8
870 TITLE:=Support for CypressM8 USB-Serial
871 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
872 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
873 AUTOLOAD:=$(call AutoProbe,cypress_m8)
874 $(call AddDepends/usb-serial)
875 endef
876
877 define KernelPackage/usb-serial-cypress-m8/description
878 Kernel support for devices with Cypress M8 USB to Serial chip
879 (for example, the Delorme Earthmate LT-20 GPS)
880 Supported microcontrollers in the CY4601 family are:
881 CY7C63741 CY7C63742 CY7C63743 CY7C64013
882 endef
883
884 $(eval $(call KernelPackage,usb-serial-cypress-m8))
885
886
887 define KernelPackage/usb-serial-keyspan
888 TITLE:=Support for Keyspan USB-to-Serial devices
889 KCONFIG:= \
890 CONFIG_USB_SERIAL_KEYSPAN \
891 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
892 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
893 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
894 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
895 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
896 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
897 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
898 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
899 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
900 CONFIG_USB_SERIAL_KEYSPAN_MPR \
901 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
902 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
903 FILES:= \
904 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
905 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
906 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
907 $(call AddDepends/usb-serial)
908 endef
909
910 define KernelPackage/usb-serial-keyspan/description
911 Kernel support for Keyspan USB-to-Serial devices
912 endef
913
914 $(eval $(call KernelPackage,usb-serial-keyspan))
915
916
917 define KernelPackage/usb-serial-wwan
918 TITLE:=Support for GSM and CDMA modems
919 KCONFIG:=CONFIG_USB_SERIAL_WWAN
920 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
921 AUTOLOAD:=$(call AutoProbe,usb_wwan)
922 $(call AddDepends/usb-serial)
923 endef
924
925 define KernelPackage/usb-serial-wwan/description
926 Kernel support for USB GSM and CDMA modems
927 endef
928
929 $(eval $(call KernelPackage,usb-serial-wwan))
930
931
932 define KernelPackage/usb-serial-option
933 TITLE:=Support for Option HSDPA modems
934 DEPENDS:=+kmod-usb-serial-wwan
935 KCONFIG:=CONFIG_USB_SERIAL_OPTION
936 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
937 AUTOLOAD:=$(call AutoProbe,option)
938 $(call AddDepends/usb-serial)
939 endef
940
941 define KernelPackage/usb-serial-option/description
942 Kernel support for Option HSDPA modems
943 endef
944
945 $(eval $(call KernelPackage,usb-serial-option))
946
947
948 define KernelPackage/usb-serial-qualcomm
949 TITLE:=Support for Qualcomm USB serial
950 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
951 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
952 AUTOLOAD:=$(call AutoProbe,qcserial)
953 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
954 endef
955
956 define KernelPackage/usb-serial-qualcomm/description
957 Kernel support for Qualcomm USB Serial devices (Gobi)
958 endef
959
960 $(eval $(call KernelPackage,usb-serial-qualcomm))
961
962
963 define KernelPackage/usb-storage
964 TITLE:=USB Storage support
965 DEPENDS:= +kmod-scsi-core
966 KCONFIG:=CONFIG_USB_STORAGE
967 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
968 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
969 $(call AddDepends/usb)
970 endef
971
972 define KernelPackage/usb-storage/description
973 Kernel support for USB Mass Storage devices
974 endef
975
976 $(eval $(call KernelPackage,usb-storage))
977
978
979 define KernelPackage/usb-storage-extras
980 SUBMENU:=$(USB_MENU)
981 TITLE:=Extra drivers for usb-storage
982 DEPENDS:=+kmod-usb-storage
983 KCONFIG:= \
984 CONFIG_USB_STORAGE_ALAUDA \
985 CONFIG_USB_STORAGE_CYPRESS_ATACB \
986 CONFIG_USB_STORAGE_DATAFAB \
987 CONFIG_USB_STORAGE_FREECOM \
988 CONFIG_USB_STORAGE_ISD200 \
989 CONFIG_USB_STORAGE_JUMPSHOT \
990 CONFIG_USB_STORAGE_KARMA \
991 CONFIG_USB_STORAGE_SDDR09 \
992 CONFIG_USB_STORAGE_SDDR55 \
993 CONFIG_USB_STORAGE_USBAT
994 FILES:= \
995 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
996 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
997 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
998 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
999 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
1000 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
1001 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
1002 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
1003 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
1004 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
1005 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
1006 ums-freecom ums-isd200 ums-jumpshot \
1007 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
1008 endef
1009
1010 define KernelPackage/usb-storage-extras/description
1011 Say Y here if you want to have some more drivers,
1012 such as for SmartMedia card readers
1013 endef
1014
1015 $(eval $(call KernelPackage,usb-storage-extras))
1016
1017
1018 define KernelPackage/usb-atm
1019 TITLE:=Support for ATM on USB bus
1020 DEPENDS:=+kmod-atm
1021 KCONFIG:=CONFIG_USB_ATM
1022 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
1023 AUTOLOAD:=$(call AutoProbe,usbatm)
1024 $(call AddDepends/usb)
1025 endef
1026
1027 define KernelPackage/usb-atm/description
1028 Kernel support for USB DSL modems
1029 endef
1030
1031 $(eval $(call KernelPackage,usb-atm))
1032
1033
1034 define AddDepends/usb-atm
1035 SUBMENU:=$(USB_MENU)
1036 DEPENDS+=kmod-usb-atm $(1)
1037 endef
1038
1039
1040 define KernelPackage/usb-atm-speedtouch
1041 TITLE:=SpeedTouch USB ADSL modems support
1042 KCONFIG:=CONFIG_USB_SPEEDTOUCH
1043 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
1044 AUTOLOAD:=$(call AutoProbe,speedtch)
1045 $(call AddDepends/usb-atm)
1046 endef
1047
1048 define KernelPackage/usb-atm-speedtouch/description
1049 Kernel support for SpeedTouch USB ADSL modems
1050 endef
1051
1052 $(eval $(call KernelPackage,usb-atm-speedtouch))
1053
1054
1055 define KernelPackage/usb-atm-ueagle
1056 TITLE:=Eagle 8051 based USB ADSL modems support
1057 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
1058 KCONFIG:=CONFIG_USB_UEAGLEATM
1059 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
1060 $(call AddDepends/usb-atm)
1061 endef
1062
1063 define KernelPackage/usb-atm-ueagle/description
1064 Kernel support for Eagle 8051 based USB ADSL modems
1065 endef
1066
1067 $(eval $(call KernelPackage,usb-atm-ueagle))
1068
1069
1070 define KernelPackage/usb-atm-cxacru
1071 TITLE:=cxacru
1072 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
1073 KCONFIG:=CONFIG_USB_CXACRU
1074 AUTOLOAD:=$(call AutoProbe,cxacru)
1075 $(call AddDepends/usb-atm)
1076 endef
1077
1078 define KernelPackage/usb-atm-cxacru/description
1079 Kernel support for cxacru based USB ADSL modems
1080 endef
1081
1082 $(eval $(call KernelPackage,usb-atm-cxacru))
1083
1084
1085 define KernelPackage/usb-net
1086 TITLE:=Kernel modules for USB-to-Ethernet convertors
1087 DEPENDS:=+kmod-mii
1088 KCONFIG:=CONFIG_USB_USBNET \
1089 CONFIG_USB_NET_DRIVERS@ge3.18
1090 AUTOLOAD:=$(call AutoProbe,usbnet)
1091 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
1092 $(call AddDepends/usb)
1093 endef
1094
1095 define KernelPackage/usb-net/description
1096 Kernel modules for USB-to-Ethernet convertors
1097 endef
1098
1099 $(eval $(call KernelPackage,usb-net))
1100
1101
1102 define AddDepends/usb-net
1103 SUBMENU:=$(USB_MENU)
1104 DEPENDS+=kmod-usb-net $(1)
1105 endef
1106
1107
1108 define KernelPackage/usb-net-asix
1109 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
1110 DEPENDS:=+kmod-libphy
1111 KCONFIG:=CONFIG_USB_NET_AX8817X
1112 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
1113 AUTOLOAD:=$(call AutoProbe,asix)
1114 $(call AddDepends/usb-net)
1115 endef
1116
1117 define KernelPackage/usb-net-asix/description
1118 Kernel module for USB-to-Ethernet Asix convertors
1119 endef
1120
1121 $(eval $(call KernelPackage,usb-net-asix))
1122
1123
1124 define KernelPackage/usb-net-asix-ax88179
1125 TITLE:=Kernel module for USB-to-Gigabit-Ethernet Asix convertors
1126 DEPENDS:=+kmod-libphy
1127 KCONFIG:=CONFIG_USB_NET_AX88179_178A
1128 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/ax88179_178a.ko
1129 AUTOLOAD:=$(call AutoProbe,ax88179_178a)
1130 $(call AddDepends/usb-net)
1131 endef
1132
1133 define KernelPackage/usb-net-asix-ax88179/description
1134 Kernel module for USB-to-Ethernet ASIX AX88179 based USB 3.0/2.0
1135 to Gigabit Ethernet adapters.
1136 endef
1137
1138 $(eval $(call KernelPackage,usb-net-asix-ax88179))
1139
1140
1141 define KernelPackage/usb-net-hso
1142 TITLE:=Kernel module for Option USB High Speed Mobile Devices
1143 KCONFIG:=CONFIG_USB_HSO
1144 FILES:= \
1145 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
1146 AUTOLOAD:=$(call AutoProbe,hso)
1147 $(call AddDepends/usb-net)
1148 $(call AddDepends/rfkill)
1149 endef
1150
1151 define KernelPackage/usb-net-hso/description
1152 Kernel module for Option USB High Speed Mobile Devices
1153 endef
1154
1155 $(eval $(call KernelPackage,usb-net-hso))
1156
1157
1158 define KernelPackage/usb-net-kaweth
1159 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
1160 KCONFIG:=CONFIG_USB_KAWETH
1161 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
1162 AUTOLOAD:=$(call AutoProbe,kaweth)
1163 $(call AddDepends/usb-net)
1164 endef
1165
1166 define KernelPackage/usb-net-kaweth/description
1167 Kernel module for USB-to-Ethernet Kaweth convertors
1168 endef
1169
1170 $(eval $(call KernelPackage,usb-net-kaweth))
1171
1172
1173 define KernelPackage/usb-net-pegasus
1174 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
1175 KCONFIG:=CONFIG_USB_PEGASUS
1176 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
1177 AUTOLOAD:=$(call AutoProbe,pegasus)
1178 $(call AddDepends/usb-net)
1179 endef
1180
1181 define KernelPackage/usb-net-pegasus/description
1182 Kernel module for USB-to-Ethernet Pegasus convertors
1183 endef
1184
1185 $(eval $(call KernelPackage,usb-net-pegasus))
1186
1187
1188 define KernelPackage/usb-net-mcs7830
1189 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
1190 KCONFIG:=CONFIG_USB_NET_MCS7830
1191 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
1192 AUTOLOAD:=$(call AutoProbe,mcs7830)
1193 $(call AddDepends/usb-net)
1194 endef
1195
1196 define KernelPackage/usb-net-mcs7830/description
1197 Kernel module for USB-to-Ethernet MCS7830 convertors
1198 endef
1199
1200 $(eval $(call KernelPackage,usb-net-mcs7830))
1201
1202
1203 define KernelPackage/usb-net-smsc95xx
1204 TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
1205 KCONFIG:=CONFIG_USB_NET_SMSC95XX
1206 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
1207 AUTOLOAD:=$(call AutoProbe,smsc95xx)
1208 $(call AddDepends/usb-net, +kmod-lib-crc16)
1209 endef
1210
1211 define KernelPackage/usb-net-smsc95xx/description
1212 Kernel module for SMSC LAN95XX based devices
1213 endef
1214
1215 $(eval $(call KernelPackage,usb-net-smsc95xx))
1216
1217
1218 define KernelPackage/usb-net-dm9601-ether
1219 TITLE:=Support for DM9601 ethernet connections
1220 KCONFIG:=CONFIG_USB_NET_DM9601
1221 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
1222 AUTOLOAD:=$(call AutoProbe,dm9601)
1223 $(call AddDepends/usb-net)
1224 endef
1225
1226 define KernelPackage/usb-net-dm9601-ether/description
1227 Kernel support for USB DM9601 devices
1228 endef
1229
1230 $(eval $(call KernelPackage,usb-net-dm9601-ether))
1231
1232 define KernelPackage/usb-net-cdc-ether
1233 TITLE:=Support for cdc ethernet connections
1234 KCONFIG:=CONFIG_USB_NET_CDCETHER
1235 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
1236 AUTOLOAD:=$(call AutoProbe,cdc_ether)
1237 $(call AddDepends/usb-net)
1238 endef
1239
1240 define KernelPackage/usb-net-cdc-ether/description
1241 Kernel support for USB CDC Ethernet devices
1242 endef
1243
1244 $(eval $(call KernelPackage,usb-net-cdc-ether))
1245
1246
1247 define KernelPackage/usb-net-cdc-eem
1248 TITLE:=Support for CDC EEM connections
1249 KCONFIG:=CONFIG_USB_NET_CDC_EEM
1250 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_eem.ko
1251 AUTOLOAD:=$(call AutoProbe,cdc_eem)
1252 $(call AddDepends/usb-net)
1253 endef
1254
1255 define KernelPackage/usb-net-cdc-eem/description
1256 Kernel support for USB CDC EEM
1257 endef
1258
1259 $(eval $(call KernelPackage,usb-net-cdc-eem))
1260
1261
1262 define KernelPackage/usb-net-cdc-subset
1263 TITLE:=Support for CDC Ethernet subset connections
1264 KCONFIG:= \
1265 CONFIG_USB_NET_CDC_SUBSET \
1266 CONFIG_USB_ARMLINUX
1267 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_subset.ko
1268 AUTOLOAD:=$(call AutoProbe,cdc_subset)
1269 $(call AddDepends/usb-net)
1270 endef
1271
1272 define KernelPackage/usb-net-cdc-subset/description
1273 Kernel support for Simple USB Network Links (CDC Ethernet subset)
1274 endef
1275
1276 $(eval $(call KernelPackage,usb-net-cdc-subset))
1277
1278
1279 define KernelPackage/usb-net-qmi-wwan
1280 TITLE:=QMI WWAN driver
1281 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
1282 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
1283 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
1284 $(call AddDepends/usb-net,+kmod-usb-wdm)
1285 endef
1286
1287 define KernelPackage/usb-net-qmi-wwan/description
1288 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
1289 endef
1290
1291 $(eval $(call KernelPackage,usb-net-qmi-wwan))
1292
1293
1294 define KernelPackage/usb-net-rndis
1295 TITLE:=Support for RNDIS connections
1296 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
1297 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
1298 AUTOLOAD:=$(call AutoProbe,rndis_host)
1299 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
1300 endef
1301
1302 define KernelPackage/usb-net-rndis/description
1303 Kernel support for RNDIS connections
1304 endef
1305
1306 $(eval $(call KernelPackage,usb-net-rndis))
1307
1308
1309 define KernelPackage/usb-net-cdc-mbim
1310 SUBMENU:=$(USB_MENU)
1311 TITLE:=Kernel module for MBIM Devices
1312 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
1313 FILES:= \
1314 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
1315 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
1316 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
1317 endef
1318
1319 define KernelPackage/usb-net-cdc-mbim/description
1320 Kernel module for Option USB High Speed Mobile Devices
1321 endef
1322
1323 $(eval $(call KernelPackage,usb-net-cdc-mbim))
1324
1325
1326 define KernelPackage/usb-net-cdc-ncm
1327 TITLE:=Support for CDC NCM connections
1328 KCONFIG:=CONFIG_USB_NET_CDC_NCM
1329 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
1330 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
1331 $(call AddDepends/usb-net)
1332 endef
1333
1334 define KernelPackage/usb-net-cdc-ncm/description
1335 Kernel support for CDC NCM connections
1336 endef
1337
1338 $(eval $(call KernelPackage,usb-net-cdc-ncm))
1339
1340
1341 define KernelPackage/usb-net-huawei-cdc-ncm
1342 TITLE:=Support for Huawei CDC NCM connections
1343 KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
1344 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
1345 AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
1346 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm @!LINUX_3_10)
1347 endef
1348
1349 define KernelPackage/usb-net-huawei-cdc-ncm/description
1350 Kernel support for Huawei CDC NCM connections
1351 endef
1352
1353 $(eval $(call KernelPackage,usb-net-huawei-cdc-ncm))
1354
1355
1356 define KernelPackage/usb-net-sierrawireless
1357 TITLE:=Support for Sierra Wireless devices
1358 KCONFIG:=CONFIG_USB_SIERRA_NET
1359 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
1360 AUTOLOAD:=$(call AutoProbe,sierra_net)
1361 $(call AddDepends/usb-net)
1362 endef
1363
1364 define KernelPackage/usb-net-sierrawireless/description
1365 Kernel support for Sierra Wireless devices
1366 endef
1367
1368 $(eval $(call KernelPackage,usb-net-sierrawireless))
1369
1370
1371 define KernelPackage/usb-net-ipheth
1372 TITLE:=Apple iPhone USB Ethernet driver
1373 KCONFIG:=CONFIG_USB_IPHETH
1374 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
1375 AUTOLOAD:=$(call AutoProbe,ipheth)
1376 $(call AddDepends/usb-net)
1377 endef
1378
1379 define KernelPackage/usb-net-ipheth/description
1380 Kernel support for Apple iPhone USB Ethernet driver
1381 endef
1382
1383 $(eval $(call KernelPackage,usb-net-ipheth))
1384
1385
1386 define KernelPackage/usb-net-kalmia
1387 TITLE:=Samsung Kalmia based LTE USB modem
1388 KCONFIG:=CONFIG_USB_NET_KALMIA
1389 FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
1390 AUTOLOAD:=$(call AutoProbe,kalmia)
1391 $(call AddDepends/usb-net)
1392 endef
1393
1394 define KernelPackage/usb-net-kalmia/description
1395 Kernel support for Samsung Kalmia based LTE USB modem
1396 endef
1397
1398 $(eval $(call KernelPackage,usb-net-kalmia))
1399
1400
1401 define KernelPackage/usb-hid
1402 TITLE:=Support for USB Human Input Devices
1403 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
1404 DEPENDS:=+kmod-hid +kmod-hid-generic +kmod-input-evdev
1405 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
1406 AUTOLOAD:=$(call AutoProbe,usbhid)
1407 $(call AddDepends/usb)
1408 endef
1409
1410 define KernelPackage/usb-hid/description
1411 Kernel support for USB HID devices such as keyboards and mice
1412 endef
1413
1414 $(eval $(call KernelPackage,usb-hid))
1415
1416
1417 define KernelPackage/usb-yealink
1418 TITLE:=USB Yealink VOIP phone
1419 DEPENDS:=+kmod-input-evdev
1420 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1421 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
1422 AUTOLOAD:=$(call AutoProbe,yealink)
1423 $(call AddDepends/usb)
1424 endef
1425
1426 define KernelPackage/usb-yealink/description
1427 Kernel support for Yealink VOIP phone
1428 endef
1429
1430 $(eval $(call KernelPackage,usb-yealink))
1431
1432
1433 define KernelPackage/usb-cm109
1434 TITLE:=Support for CM109 device
1435 DEPENDS:=+kmod-input-evdev
1436 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1437 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
1438 AUTOLOAD:=$(call AutoProbe,cm109)
1439 $(call AddDepends/usb)
1440 endef
1441
1442 define KernelPackage/usb-cm109/description
1443 Kernel support for CM109 VOIP phone
1444 endef
1445
1446 $(eval $(call KernelPackage,usb-cm109))
1447
1448
1449 define KernelPackage/usb-test
1450 TITLE:=USB Testing Driver
1451 DEPENDS:=@DEVEL
1452 KCONFIG:=CONFIG_USB_TEST
1453 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1454 $(call AddDepends/usb)
1455 endef
1456
1457 define KernelPackage/usb-test/description
1458 Kernel support for testing USB Host Controller software
1459 endef
1460
1461 $(eval $(call KernelPackage,usb-test))
1462
1463
1464 define KernelPackage/usbip
1465 TITLE := USB-over-IP kernel support
1466 KCONFIG:= \
1467 CONFIG_USBIP_CORE \
1468 CONFIG_USBIP_DEBUG=n
1469 FILES:= \
1470 $(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko@lt3.17 \
1471 $(LINUX_DIR)/drivers/usb/usbip/usbip-core.ko@ge3.17
1472 AUTOLOAD:=$(call AutoProbe,usbip-core)
1473 $(call AddDepends/usb)
1474 endef
1475
1476 $(eval $(call KernelPackage,usbip))
1477
1478
1479 define KernelPackage/usbip-client
1480 TITLE := USB-over-IP client driver
1481 DEPENDS := +kmod-usbip
1482 KCONFIG := CONFIG_USBIP_VHCI_HCD
1483 FILES := \
1484 $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.ko@lt3.17 \
1485 $(LINUX_DIR)/drivers/usb/usbip/vhci-hcd.ko@ge3.17
1486 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1487 $(call AddDepends/usb)
1488 endef
1489
1490 $(eval $(call KernelPackage,usbip-client))
1491
1492
1493 define KernelPackage/usbip-server
1494 $(call KernelPackage/usbip/Default)
1495 TITLE := USB-over-IP host driver
1496 DEPENDS := +kmod-usbip
1497 KCONFIG := CONFIG_USBIP_HOST
1498 FILES := \
1499 $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko@lt3.17 \
1500 $(LINUX_DIR)/drivers/usb/usbip/usbip-host.ko@ge3.17
1501 AUTOLOAD := $(call AutoProbe,usbip-host)
1502 $(call AddDepends/usb)
1503 endef
1504
1505 $(eval $(call KernelPackage,usbip-server))
1506
1507
1508 define KernelPackage/usb-chipidea-imx
1509 TITLE:=Support for ChipIdea controllers
1510 DEPENDS:=@TARGET_imx6||TARGET_mxs +kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
1511 KCONFIG:=\
1512 CONFIG_USB_CHIPIDEA \
1513 CONFIG_USB_CHIPIDEA_HOST=y \
1514 CONFIG_USB_CHIPIDEA_UDC=y \
1515 CONFIG_USB_CHIPIDEA_DEBUG=y
1516 FILES:=\
1517 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1518 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
1519 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
1520 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
1521 $(call AddDepends/usb)
1522 endef
1523
1524 define KernelPackage/usb-chipidea-imx/description
1525 Kernel support for USB ChipIdea controllers
1526 endef
1527
1528 $(eval $(call KernelPackage,usb-chipidea-imx,1))
1529
1530
1531 define KernelPackage/usb-mxs-phy
1532 TITLE:=Support for Freescale MXS USB PHY
1533 DEPENDS:=@TARGET_imx6||TARGET_mxs +TARGET_mxs:kmod-usb-chipidea-imx
1534 KCONFIG:=CONFIG_USB_MXS_PHY
1535 FILES:=\
1536 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1537 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1538 $(call AddDepends/usb)
1539 endef
1540
1541 define KernelPackage/usb-mxs-phy/description
1542 Kernel support for Freescale MXS USB PHY
1543 endef
1544
1545 $(eval $(call KernelPackage,usb-mxs-phy,1))
1546
1547
1548 define KernelPackage/usbmon
1549 TITLE:=USB traffic monitor
1550 KCONFIG:=CONFIG_USB_MON
1551 $(call AddDepends/usb)
1552 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1553 AUTOLOAD:=$(call AutoProbe,usbmon)
1554 endef
1555
1556 define KernelPackage/usbmon/description
1557 Kernel support for USB traffic monitoring
1558 endef
1559
1560 $(eval $(call KernelPackage,usbmon))
1561
1562 XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat-hcd))
1563 XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
1564
1565 define KernelPackage/usb3
1566 TITLE:=Support for USB3 controllers
1567 DEPENDS:=+TARGET_omap:kmod-usb-phy-omap-usb3
1568 KCONFIG:= \
1569 CONFIG_USB_XHCI_HCD \
1570 CONFIG_USB_XHCI_PCI \
1571 CONFIG_USB_XHCI_PLATFORM \
1572 CONFIG_USB_XHCI_MVEBU=y \
1573 CONFIG_USB_XHCI_HCD_DEBUGGING=n
1574 FILES:= \
1575 $(XHCI_FILES)
1576 AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
1577 $(call AddDepends/usb)
1578 endef
1579
1580 define KernelPackage/usb3/description
1581 Kernel support for USB3 (XHCI) controllers
1582 endef
1583
1584 $(eval $(call KernelPackage,usb3))