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