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