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