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