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