kernel: remove useless AddDepends/input abstraction
[openwrt/svn-archive/archive.git] / package / kernel / linux / modules / usb.mk
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 USB_MENU:=USB Support
9
10 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define KernelPackage/usb-core
15 SUBMENU:=$(USB_MENU)
16 TITLE:=Support for USB
17 DEPENDS:=@USB_SUPPORT
18 KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
19 FILES:= \
20 $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
21 $(LINUX_DIR)/drivers/usb/usb-common.ko@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/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 FILES:= \
404 $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
405 $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
406 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-orion.ko),)
407 FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-orion.ko
408 endif
409 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform ehci-orion,1)
410 $(call AddDepends/usb)
411 endef
412
413 define KernelPackage/usb2/description
414 Kernel support for USB2 (EHCI) controllers
415 endef
416
417 $(eval $(call KernelPackage,usb2))
418
419
420 define KernelPackage/usb2-pci
421 TITLE:=Support for PCI USB2 controllers
422 DEPENDS:=@PCI_SUPPORT +kmod-usb2
423 KCONFIG:=CONFIG_USB_EHCI_PCI
424 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
425 AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
426 $(call AddDepends/usb)
427 endef
428
429 define KernelPackage/usb2-pci/description
430 Kernel support for PCI USB2 (EHCI) controllers
431 endef
432
433 $(eval $(call KernelPackage,usb2-pci))
434
435
436 define KernelPackage/usb-dwc2
437 TITLE:=DWC2 USB controller driver
438 DEPENDS:=@!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs):kmod-usb-gadget
439 KCONFIG:= \
440 CONFIG_USB_DWC2 \
441 CONFIG_USB_DWC2_PCI \
442 CONFIG_USB_DWC2_PLATFORM \
443 CONFIG_USB_DWC2_DEBUG=n \
444 CONFIG_USB_DWC2_VERBOSE=n \
445 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n
446 FILES:= \
447 $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
448 $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko
449 AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
450 $(call AddDepends/usb)
451 endef
452
453 define KernelPackage/usb-dwc2/description
454 This driver provides USB Device Controller support for the
455 Synopsys DesignWare USB OTG Core
456 endef
457
458 $(eval $(call KernelPackage,usb-dwc2))
459
460
461 define KernelPackage/usb2-oxnas
462 TITLE:=OXNAS USB controller driver
463 DEPENDS:=@TARGET_oxnas +kmod-usb2
464 KCONFIG:=CONFIG_USB_EHCI_OXNAS
465 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-oxnas.ko
466 AUTOLOAD:=$(call AutoLoad,55,ehci-oxnas,1)
467 $(call AddDepends/usb)
468 endef
469
470 define KernelPackage/usb2-oxnas/description
471 This driver provides USB Device Controller support for the
472 EHCI USB host built-in to the PLXTECH NAS782x SoC
473 endef
474
475 $(eval $(call KernelPackage,usb2-oxnas))
476
477
478 define KernelPackage/usb-acm
479 TITLE:=Support for modems/isdn controllers
480 KCONFIG:=CONFIG_USB_ACM
481 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
482 AUTOLOAD:=$(call AutoProbe,cdc-acm)
483 $(call AddDepends/usb)
484 endef
485
486 define KernelPackage/usb-acm/description
487 Kernel support for USB ACM devices (modems/isdn controllers)
488 endef
489
490 $(eval $(call KernelPackage,usb-acm))
491
492
493 define KernelPackage/usb-wdm
494 TITLE:=USB Wireless Device Management
495 KCONFIG:=CONFIG_USB_WDM
496 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
497 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
498 $(call AddDepends/usb)
499 $(call AddDepends/usb-net)
500 endef
501
502 define KernelPackage/usb-wdm/description
503 USB Wireless Device Management support
504 endef
505
506 $(eval $(call KernelPackage,usb-wdm))
507
508
509 define KernelPackage/usb-audio
510 TITLE:=Support for USB audio devices
511 KCONFIG:= \
512 CONFIG_USB_AUDIO \
513 CONFIG_SND_USB_AUDIO
514 $(call AddDepends/usb)
515 $(call AddDepends/sound)
516 # For Linux 2.6.35+
517 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
518 FILES:= \
519 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
520 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
521 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
522 else
523 FILES:= \
524 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
525 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
526 AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
527 endif
528 endef
529
530 define KernelPackage/usb-audio/description
531 Kernel support for USB audio devices
532 endef
533
534 $(eval $(call KernelPackage,usb-audio))
535
536
537 define KernelPackage/usb-printer
538 TITLE:=Support for printers
539 KCONFIG:=CONFIG_USB_PRINTER
540 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
541 AUTOLOAD:=$(call AutoProbe,usblp)
542 $(call AddDepends/usb)
543 endef
544
545 define KernelPackage/usb-printer/description
546 Kernel support for USB printers
547 endef
548
549 $(eval $(call KernelPackage,usb-printer))
550
551
552 define KernelPackage/usb-serial
553 TITLE:=Support for USB-to-Serial converters
554 KCONFIG:=CONFIG_USB_SERIAL
555 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
556 AUTOLOAD:=$(call AutoProbe,usbserial)
557 $(call AddDepends/usb)
558 endef
559
560 define KernelPackage/usb-serial/description
561 Kernel support for USB-to-Serial converters
562 endef
563
564 $(eval $(call KernelPackage,usb-serial))
565
566
567 define AddDepends/usb-serial
568 SUBMENU:=$(USB_MENU)
569 DEPENDS+=kmod-usb-serial $(1)
570 endef
571
572
573 define KernelPackage/usb-serial-belkin
574 TITLE:=Support for Belkin devices
575 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
576 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
577 AUTOLOAD:=$(call AutoProbe,belkin_sa)
578 $(call AddDepends/usb-serial)
579 endef
580
581 define KernelPackage/usb-serial-belkin/description
582 Kernel support for Belkin USB-to-Serial converters
583 endef
584
585 $(eval $(call KernelPackage,usb-serial-belkin))
586
587
588 define KernelPackage/usb-serial-ch341
589 TITLE:=Support for CH341 devices
590 KCONFIG:=CONFIG_USB_SERIAL_CH341
591 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
592 AUTOLOAD:=$(call AutoProbe,ch341)
593 $(call AddDepends/usb-serial)
594 endef
595
596 define KernelPackage/usb-serial-ch341/description
597 Kernel support for Winchiphead CH341 USB-to-Serial converters
598 endef
599
600 $(eval $(call KernelPackage,usb-serial-ch341))
601
602
603 define KernelPackage/usb-serial-ftdi
604 TITLE:=Support for FTDI devices
605 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
606 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
607 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
608 $(call AddDepends/usb-serial)
609 endef
610
611 define KernelPackage/usb-serial-ftdi/description
612 Kernel support for FTDI USB-to-Serial converters
613 endef
614
615 $(eval $(call KernelPackage,usb-serial-ftdi))
616
617
618 define KernelPackage/usb-serial-ti-usb
619 TITLE:=Support for TI USB 3410/5052
620 KCONFIG:=CONFIG_USB_SERIAL_TI
621 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
622 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
623 $(call AddDepends/usb-serial)
624 endef
625
626 define KernelPackage/usb-serial-ti-usb/description
627 Kernel support for TI USB 3410/5052 devices
628 endef
629
630 $(eval $(call KernelPackage,usb-serial-ti-usb))
631
632
633 define KernelPackage/usb-serial-ipw
634 TITLE:=Support for IPWireless 3G devices
635 KCONFIG:=CONFIG_USB_SERIAL_IPW
636 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
637 AUTOLOAD:=$(call AutoProbe,ipw)
638 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
639 endef
640
641 $(eval $(call KernelPackage,usb-serial-ipw))
642
643
644 define KernelPackage/usb-serial-mct
645 TITLE:=Support for Magic Control Tech. devices
646 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
647 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
648 AUTOLOAD:=$(call AutoProbe,mct_u232)
649 $(call AddDepends/usb-serial)
650 endef
651
652 define KernelPackage/usb-serial-mct/description
653 Kernel support for Magic Control Technology USB-to-Serial converters
654 endef
655
656 $(eval $(call KernelPackage,usb-serial-mct))
657
658
659 define KernelPackage/usb-serial-mos7720
660 TITLE:=Support for Moschip MOS7720 devices
661 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
662 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
663 AUTOLOAD:=$(call AutoProbe,mos7720)
664 $(call AddDepends/usb-serial)
665 endef
666
667 define KernelPackage/usb-serial-mos7720/description
668 Kernel support for Moschip MOS7720 USB-to-Serial converters
669 endef
670
671 $(eval $(call KernelPackage,usb-serial-mos7720))
672
673
674 define KernelPackage/usb-serial-pl2303
675 TITLE:=Support for Prolific PL2303 devices
676 KCONFIG:=CONFIG_USB_SERIAL_PL2303
677 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
678 AUTOLOAD:=$(call AutoProbe,pl2303)
679 $(call AddDepends/usb-serial)
680 endef
681
682 define KernelPackage/usb-serial-pl2303/description
683 Kernel support for Prolific PL2303 USB-to-Serial converters
684 endef
685
686 $(eval $(call KernelPackage,usb-serial-pl2303))
687
688
689 define KernelPackage/usb-serial-cp210x
690 TITLE:=Support for Silicon Labs cp210x devices
691 KCONFIG:=CONFIG_USB_SERIAL_CP210X
692 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
693 AUTOLOAD:=$(call AutoProbe,cp210x)
694 $(call AddDepends/usb-serial)
695 endef
696
697 define KernelPackage/usb-serial-cp210x/description
698 Kernel support for Silicon Labs cp210x USB-to-Serial converters
699 endef
700
701 $(eval $(call KernelPackage,usb-serial-cp210x))
702
703
704 define KernelPackage/usb-serial-ark3116
705 TITLE:=Support for ArkMicroChips ARK3116 devices
706 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
707 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
708 AUTOLOAD:=$(call AutoProbe,ark3116)
709 $(call AddDepends/usb-serial)
710 endef
711
712 define KernelPackage/usb-serial-ark3116/description
713 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
714 endef
715
716 $(eval $(call KernelPackage,usb-serial-ark3116))
717
718
719 define KernelPackage/usb-serial-oti6858
720 TITLE:=Support for Ours Technology OTI6858 devices
721 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
722 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
723 AUTOLOAD:=$(call AutoProbe,oti6858)
724 $(call AddDepends/usb-serial)
725 endef
726
727 define KernelPackage/usb-serial-oti6858/description
728 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
729 endef
730
731 $(eval $(call KernelPackage,usb-serial-oti6858))
732
733
734 define KernelPackage/usb-serial-sierrawireless
735 TITLE:=Support for Sierra Wireless devices
736 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
737 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
738 AUTOLOAD:=$(call AutoProbe,sierra)
739 $(call AddDepends/usb-serial)
740 endef
741
742 define KernelPackage/usb-serial-sierrawireless/description
743 Kernel support for Sierra Wireless devices
744 endef
745
746 $(eval $(call KernelPackage,usb-serial-sierrawireless))
747
748
749 define KernelPackage/usb-serial-motorola-phone
750 TITLE:=Support for Motorola usb phone
751 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
752 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
753 AUTOLOAD:=$(call AutoProbe,moto_modem)
754 $(call AddDepends/usb-serial)
755 endef
756
757 define KernelPackage/usb-serial-motorola-phone/description
758 Kernel support for Motorola usb phone
759 endef
760
761 $(eval $(call KernelPackage,usb-serial-motorola-phone))
762
763
764 define KernelPackage/usb-serial-visor
765 TITLE:=Support for Handspring Visor devices
766 KCONFIG:=CONFIG_USB_SERIAL_VISOR
767 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
768 AUTOLOAD:=$(call AutoProbe,visor)
769 $(call AddDepends/usb-serial)
770 endef
771
772 define KernelPackage/usb-serial-visor/description
773 Kernel support for Handspring Visor PDAs
774 endef
775
776 $(eval $(call KernelPackage,usb-serial-visor))
777
778
779 define KernelPackage/usb-serial-cypress-m8
780 TITLE:=Support for CypressM8 USB-Serial
781 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
782 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
783 AUTOLOAD:=$(call AutoProbe,cypress_m8)
784 $(call AddDepends/usb-serial)
785 endef
786
787 define KernelPackage/usb-serial-cypress-m8/description
788 Kernel support for devices with Cypress M8 USB to Serial chip
789 (for example, the Delorme Earthmate LT-20 GPS)
790 Supported microcontrollers in the CY4601 family are:
791 CY7C63741 CY7C63742 CY7C63743 CY7C64013
792 endef
793
794 $(eval $(call KernelPackage,usb-serial-cypress-m8))
795
796
797 define KernelPackage/usb-serial-keyspan
798 TITLE:=Support for Keyspan USB-to-Serial devices
799 KCONFIG:= \
800 CONFIG_USB_SERIAL_KEYSPAN \
801 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
802 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
803 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
804 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
805 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
806 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
807 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
808 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
809 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
810 CONFIG_USB_SERIAL_KEYSPAN_MPR \
811 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
812 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
813 FILES:= \
814 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
815 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
816 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
817 $(call AddDepends/usb-serial)
818 endef
819
820 define KernelPackage/usb-serial-keyspan/description
821 Kernel support for Keyspan USB-to-Serial devices
822 endef
823
824 $(eval $(call KernelPackage,usb-serial-keyspan))
825
826
827 define KernelPackage/usb-serial-wwan
828 TITLE:=Support for GSM and CDMA modems
829 KCONFIG:=CONFIG_USB_SERIAL_WWAN
830 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
831 AUTOLOAD:=$(call AutoProbe,usb_wwan)
832 $(call AddDepends/usb-serial)
833 endef
834
835 define KernelPackage/usb-serial-wwan/description
836 Kernel support for USB GSM and CDMA modems
837 endef
838
839 $(eval $(call KernelPackage,usb-serial-wwan))
840
841
842 define KernelPackage/usb-serial-option
843 TITLE:=Support for Option HSDPA modems
844 DEPENDS:=+kmod-usb-serial-wwan
845 KCONFIG:=CONFIG_USB_SERIAL_OPTION
846 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
847 AUTOLOAD:=$(call AutoProbe,option)
848 $(call AddDepends/usb-serial)
849 endef
850
851 define KernelPackage/usb-serial-option/description
852 Kernel support for Option HSDPA modems
853 endef
854
855 $(eval $(call KernelPackage,usb-serial-option))
856
857
858 define KernelPackage/usb-serial-qualcomm
859 TITLE:=Support for Qualcomm USB serial
860 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
861 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
862 AUTOLOAD:=$(call AutoProbe,qcserial)
863 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
864 endef
865
866 define KernelPackage/usb-serial-qualcomm/description
867 Kernel support for Qualcomm USB Serial devices (Gobi)
868 endef
869
870 $(eval $(call KernelPackage,usb-serial-qualcomm))
871
872
873 define KernelPackage/usb-storage
874 TITLE:=USB Storage support
875 DEPENDS:= +kmod-scsi-core
876 KCONFIG:=CONFIG_USB_STORAGE
877 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
878 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
879 $(call AddDepends/usb)
880 endef
881
882 define KernelPackage/usb-storage/description
883 Kernel support for USB Mass Storage devices
884 endef
885
886 $(eval $(call KernelPackage,usb-storage))
887
888
889 define KernelPackage/usb-storage-extras
890 SUBMENU:=$(USB_MENU)
891 TITLE:=Extra drivers for usb-storage
892 DEPENDS:=+kmod-usb-storage
893 KCONFIG:= \
894 CONFIG_USB_STORAGE_ALAUDA \
895 CONFIG_USB_STORAGE_CYPRESS_ATACB \
896 CONFIG_USB_STORAGE_DATAFAB \
897 CONFIG_USB_STORAGE_FREECOM \
898 CONFIG_USB_STORAGE_ISD200 \
899 CONFIG_USB_STORAGE_JUMPSHOT \
900 CONFIG_USB_STORAGE_KARMA \
901 CONFIG_USB_STORAGE_SDDR09 \
902 CONFIG_USB_STORAGE_SDDR55 \
903 CONFIG_USB_STORAGE_USBAT
904 FILES:= \
905 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
906 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
907 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
908 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
909 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
910 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
911 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
912 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
913 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
914 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
915 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
916 ums-freecom ums-isd200 ums-jumpshot \
917 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
918 endef
919
920 define KernelPackage/usb-storage-extras/description
921 Say Y here if you want to have some more drivers,
922 such as for SmartMedia card readers
923 endef
924
925 $(eval $(call KernelPackage,usb-storage-extras))
926
927
928 define KernelPackage/usb-atm
929 TITLE:=Support for ATM on USB bus
930 DEPENDS:=+kmod-atm
931 KCONFIG:=CONFIG_USB_ATM
932 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
933 AUTOLOAD:=$(call AutoProbe,usbatm)
934 $(call AddDepends/usb)
935 endef
936
937 define KernelPackage/usb-atm/description
938 Kernel support for USB DSL modems
939 endef
940
941 $(eval $(call KernelPackage,usb-atm))
942
943
944 define AddDepends/usb-atm
945 SUBMENU:=$(USB_MENU)
946 DEPENDS+=kmod-usb-atm $(1)
947 endef
948
949
950 define KernelPackage/usb-atm-speedtouch
951 TITLE:=SpeedTouch USB ADSL modems support
952 KCONFIG:=CONFIG_USB_SPEEDTOUCH
953 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
954 AUTOLOAD:=$(call AutoProbe,speedtch)
955 $(call AddDepends/usb-atm)
956 endef
957
958 define KernelPackage/usb-atm-speedtouch/description
959 Kernel support for SpeedTouch USB ADSL modems
960 endef
961
962 $(eval $(call KernelPackage,usb-atm-speedtouch))
963
964
965 define KernelPackage/usb-atm-ueagle
966 TITLE:=Eagle 8051 based USB ADSL modems support
967 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
968 KCONFIG:=CONFIG_USB_UEAGLEATM
969 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
970 $(call AddDepends/usb-atm)
971 endef
972
973 define KernelPackage/usb-atm-ueagle/description
974 Kernel support for Eagle 8051 based USB ADSL modems
975 endef
976
977 $(eval $(call KernelPackage,usb-atm-ueagle))
978
979
980 define KernelPackage/usb-atm-cxacru
981 TITLE:=cxacru
982 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
983 KCONFIG:=CONFIG_USB_CXACRU
984 AUTOLOAD:=$(call AutoProbe,cxacru)
985 $(call AddDepends/usb-atm)
986 endef
987
988 define KernelPackage/usb-atm-cxacru/description
989 Kernel support for cxacru based USB ADSL modems
990 endef
991
992 $(eval $(call KernelPackage,usb-atm-cxacru))
993
994
995 define KernelPackage/usb-net
996 TITLE:=Kernel modules for USB-to-Ethernet convertors
997 DEPENDS:=+kmod-mii
998 KCONFIG:=CONFIG_USB_USBNET \
999 CONFIG_USB_NET_DRIVERS@ge3.18
1000 AUTOLOAD:=$(call AutoProbe,usbnet)
1001 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
1002 $(call AddDepends/usb)
1003 endef
1004
1005 define KernelPackage/usb-net/description
1006 Kernel modules for USB-to-Ethernet convertors
1007 endef
1008
1009 $(eval $(call KernelPackage,usb-net))
1010
1011
1012 define AddDepends/usb-net
1013 SUBMENU:=$(USB_MENU)
1014 DEPENDS+=kmod-usb-net $(1)
1015 endef
1016
1017
1018 define KernelPackage/usb-net-asix
1019 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
1020 DEPENDS:=+kmod-libphy
1021 KCONFIG:=CONFIG_USB_NET_AX8817X
1022 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
1023 AUTOLOAD:=$(call AutoProbe,asix)
1024 $(call AddDepends/usb-net)
1025 endef
1026
1027 define KernelPackage/usb-net-asix/description
1028 Kernel module for USB-to-Ethernet Asix convertors
1029 endef
1030
1031 $(eval $(call KernelPackage,usb-net-asix))
1032
1033
1034 define KernelPackage/usb-net-asix-ax88179
1035 TITLE:=Kernel module for USB-to-Gigabit-Ethernet Asix convertors
1036 DEPENDS:=+kmod-libphy
1037 KCONFIG:=CONFIG_USB_NET_AX88179_178A
1038 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/ax88179_178a.ko
1039 AUTOLOAD:=$(call AutoProbe,ax88179_178a)
1040 $(call AddDepends/usb-net)
1041 endef
1042
1043 define KernelPackage/usb-net-asix-ax88179/description
1044 Kernel module for USB-to-Ethernet ASIX AX88179 based USB 3.0/2.0
1045 to Gigabit Ethernet adapters.
1046 endef
1047
1048 $(eval $(call KernelPackage,usb-net-asix-ax88179))
1049
1050
1051 define KernelPackage/usb-net-hso
1052 TITLE:=Kernel module for Option USB High Speed Mobile Devices
1053 KCONFIG:=CONFIG_USB_HSO
1054 FILES:= \
1055 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
1056 AUTOLOAD:=$(call AutoProbe,hso)
1057 $(call AddDepends/usb-net)
1058 $(call AddDepends/rfkill)
1059 endef
1060
1061 define KernelPackage/usb-net-hso/description
1062 Kernel module for Option USB High Speed Mobile Devices
1063 endef
1064
1065 $(eval $(call KernelPackage,usb-net-hso))
1066
1067
1068 define KernelPackage/usb-net-kaweth
1069 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
1070 KCONFIG:=CONFIG_USB_KAWETH
1071 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
1072 AUTOLOAD:=$(call AutoProbe,kaweth)
1073 $(call AddDepends/usb-net)
1074 endef
1075
1076 define KernelPackage/usb-net-kaweth/description
1077 Kernel module for USB-to-Ethernet Kaweth convertors
1078 endef
1079
1080 $(eval $(call KernelPackage,usb-net-kaweth))
1081
1082
1083 define KernelPackage/usb-net-pegasus
1084 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
1085 KCONFIG:=CONFIG_USB_PEGASUS
1086 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
1087 AUTOLOAD:=$(call AutoProbe,pegasus)
1088 $(call AddDepends/usb-net)
1089 endef
1090
1091 define KernelPackage/usb-net-pegasus/description
1092 Kernel module for USB-to-Ethernet Pegasus convertors
1093 endef
1094
1095 $(eval $(call KernelPackage,usb-net-pegasus))
1096
1097
1098 define KernelPackage/usb-net-mcs7830
1099 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
1100 KCONFIG:=CONFIG_USB_NET_MCS7830
1101 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
1102 AUTOLOAD:=$(call AutoProbe,mcs7830)
1103 $(call AddDepends/usb-net)
1104 endef
1105
1106 define KernelPackage/usb-net-mcs7830/description
1107 Kernel module for USB-to-Ethernet MCS7830 convertors
1108 endef
1109
1110 $(eval $(call KernelPackage,usb-net-mcs7830))
1111
1112
1113 define KernelPackage/usb-net-smsc95xx
1114 TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
1115 KCONFIG:=CONFIG_USB_NET_SMSC95XX
1116 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
1117 AUTOLOAD:=$(call AutoProbe,smsc95xx)
1118 $(call AddDepends/usb-net, +kmod-lib-crc16)
1119 endef
1120
1121 define KernelPackage/usb-net-smsc95xx/description
1122 Kernel module for SMSC LAN95XX based devices
1123 endef
1124
1125 $(eval $(call KernelPackage,usb-net-smsc95xx))
1126
1127
1128 define KernelPackage/usb-net-dm9601-ether
1129 TITLE:=Support for DM9601 ethernet connections
1130 KCONFIG:=CONFIG_USB_NET_DM9601
1131 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
1132 AUTOLOAD:=$(call AutoProbe,dm9601)
1133 $(call AddDepends/usb-net)
1134 endef
1135
1136 define KernelPackage/usb-net-dm9601-ether/description
1137 Kernel support for USB DM9601 devices
1138 endef
1139
1140 $(eval $(call KernelPackage,usb-net-dm9601-ether))
1141
1142 define KernelPackage/usb-net-cdc-ether
1143 TITLE:=Support for cdc ethernet connections
1144 KCONFIG:=CONFIG_USB_NET_CDCETHER
1145 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
1146 AUTOLOAD:=$(call AutoProbe,cdc_ether)
1147 $(call AddDepends/usb-net)
1148 endef
1149
1150 define KernelPackage/usb-net-cdc-ether/description
1151 Kernel support for USB CDC Ethernet devices
1152 endef
1153
1154 $(eval $(call KernelPackage,usb-net-cdc-ether))
1155
1156
1157 define KernelPackage/usb-net-cdc-eem
1158 TITLE:=Support for CDC EEM connections
1159 KCONFIG:=CONFIG_USB_NET_CDC_EEM
1160 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_eem.ko
1161 AUTOLOAD:=$(call AutoProbe,cdc_eem)
1162 $(call AddDepends/usb-net)
1163 endef
1164
1165 define KernelPackage/usb-net-cdc-eem/description
1166 Kernel support for USB CDC EEM
1167 endef
1168
1169 $(eval $(call KernelPackage,usb-net-cdc-eem))
1170
1171
1172 define KernelPackage/usb-net-cdc-subset
1173 TITLE:=Support for CDC Ethernet subset connections
1174 KCONFIG:= \
1175 CONFIG_USB_NET_CDC_SUBSET \
1176 CONFIG_USB_ARMLINUX
1177 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_subset.ko
1178 AUTOLOAD:=$(call AutoProbe,cdc_subset)
1179 $(call AddDepends/usb-net)
1180 endef
1181
1182 define KernelPackage/usb-net-cdc-subset/description
1183 Kernel support for Simple USB Network Links (CDC Ethernet subset)
1184 endef
1185
1186 $(eval $(call KernelPackage,usb-net-cdc-subset))
1187
1188
1189 define KernelPackage/usb-net-qmi-wwan
1190 TITLE:=QMI WWAN driver
1191 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
1192 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
1193 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
1194 $(call AddDepends/usb-net,+kmod-usb-wdm)
1195 endef
1196
1197 define KernelPackage/usb-net-qmi-wwan/description
1198 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
1199 endef
1200
1201 $(eval $(call KernelPackage,usb-net-qmi-wwan))
1202
1203
1204 define KernelPackage/usb-net-rndis
1205 TITLE:=Support for RNDIS connections
1206 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
1207 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
1208 AUTOLOAD:=$(call AutoProbe,rndis_host)
1209 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
1210 endef
1211
1212 define KernelPackage/usb-net-rndis/description
1213 Kernel support for RNDIS connections
1214 endef
1215
1216 $(eval $(call KernelPackage,usb-net-rndis))
1217
1218
1219 define KernelPackage/usb-net-cdc-mbim
1220 SUBMENU:=$(USB_MENU)
1221 TITLE:=Kernel module for MBIM Devices
1222 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
1223 FILES:= \
1224 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
1225 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
1226 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
1227 endef
1228
1229 define KernelPackage/usb-net-cdc-mbim/description
1230 Kernel module for Option USB High Speed Mobile Devices
1231 endef
1232
1233 $(eval $(call KernelPackage,usb-net-cdc-mbim))
1234
1235
1236 define KernelPackage/usb-net-cdc-ncm
1237 TITLE:=Support for CDC NCM connections
1238 KCONFIG:=CONFIG_USB_NET_CDC_NCM
1239 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
1240 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
1241 $(call AddDepends/usb-net)
1242 endef
1243
1244 define KernelPackage/usb-net-cdc-ncm/description
1245 Kernel support for CDC NCM connections
1246 endef
1247
1248 $(eval $(call KernelPackage,usb-net-cdc-ncm))
1249
1250
1251 define KernelPackage/usb-net-huawei-cdc-ncm
1252 TITLE:=Support for Huawei CDC NCM connections
1253 KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
1254 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
1255 AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
1256 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm @!LINUX_3_10)
1257 endef
1258
1259 define KernelPackage/usb-net-huawei-cdc-ncm/description
1260 Kernel support for Huawei CDC NCM connections
1261 endef
1262
1263 $(eval $(call KernelPackage,usb-net-huawei-cdc-ncm))
1264
1265
1266 define KernelPackage/usb-net-sierrawireless
1267 TITLE:=Support for Sierra Wireless devices
1268 KCONFIG:=CONFIG_USB_SIERRA_NET
1269 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
1270 AUTOLOAD:=$(call AutoProbe,sierra_net)
1271 $(call AddDepends/usb-net)
1272 endef
1273
1274 define KernelPackage/usb-net-sierrawireless/description
1275 Kernel support for Sierra Wireless devices
1276 endef
1277
1278 $(eval $(call KernelPackage,usb-net-sierrawireless))
1279
1280
1281 define KernelPackage/usb-net-ipheth
1282 TITLE:=Apple iPhone USB Ethernet driver
1283 KCONFIG:=CONFIG_USB_IPHETH
1284 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
1285 AUTOLOAD:=$(call AutoProbe,ipheth)
1286 $(call AddDepends/usb-net)
1287 endef
1288
1289 define KernelPackage/usb-net-ipheth/description
1290 Kernel support for Apple iPhone USB Ethernet driver
1291 endef
1292
1293 $(eval $(call KernelPackage,usb-net-ipheth))
1294
1295
1296 define KernelPackage/usb-net-kalmia
1297 TITLE:=Samsung Kalmia based LTE USB modem
1298 KCONFIG:=CONFIG_USB_NET_KALMIA
1299 FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
1300 AUTOLOAD:=$(call AutoProbe,kalmia)
1301 $(call AddDepends/usb-net)
1302 endef
1303
1304 define KernelPackage/usb-net-kalmia/description
1305 Kernel support for Samsung Kalmia based LTE USB modem
1306 endef
1307
1308 $(eval $(call KernelPackage,usb-net-kalmia))
1309
1310
1311 define KernelPackage/usb-hid
1312 TITLE:=Support for USB Human Input Devices
1313 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
1314 DEPENDS:=+kmod-hid +kmod-hid-generic +kmod-input-evdev
1315 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
1316 AUTOLOAD:=$(call AutoProbe,usbhid)
1317 $(call AddDepends/usb)
1318 endef
1319
1320 define KernelPackage/usb-hid/description
1321 Kernel support for USB HID devices such as keyboards and mice
1322 endef
1323
1324 $(eval $(call KernelPackage,usb-hid))
1325
1326
1327 define KernelPackage/usb-yealink
1328 TITLE:=USB Yealink VOIP phone
1329 DEPENDS:=+kmod-input-evdev
1330 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1331 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
1332 AUTOLOAD:=$(call AutoProbe,yealink)
1333 $(call AddDepends/usb)
1334 endef
1335
1336 define KernelPackage/usb-yealink/description
1337 Kernel support for Yealink VOIP phone
1338 endef
1339
1340 $(eval $(call KernelPackage,usb-yealink))
1341
1342
1343 define KernelPackage/usb-cm109
1344 TITLE:=Support for CM109 device
1345 DEPENDS:=+kmod-input-evdev
1346 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1347 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
1348 AUTOLOAD:=$(call AutoProbe,cm109)
1349 $(call AddDepends/usb)
1350 endef
1351
1352 define KernelPackage/usb-cm109/description
1353 Kernel support for CM109 VOIP phone
1354 endef
1355
1356 $(eval $(call KernelPackage,usb-cm109))
1357
1358
1359 define KernelPackage/usb-test
1360 TITLE:=USB Testing Driver
1361 DEPENDS:=@DEVEL
1362 KCONFIG:=CONFIG_USB_TEST
1363 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1364 $(call AddDepends/usb)
1365 endef
1366
1367 define KernelPackage/usb-test/description
1368 Kernel support for testing USB Host Controller software
1369 endef
1370
1371 $(eval $(call KernelPackage,usb-test))
1372
1373
1374 define KernelPackage/usbip
1375 TITLE := USB-over-IP kernel support
1376 KCONFIG:= \
1377 CONFIG_USBIP_CORE \
1378 CONFIG_USBIP_DEBUG=n
1379 FILES:= \
1380 $(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko@lt3.17 \
1381 $(LINUX_DIR)/drivers/usb/usbip/usbip-core.ko@ge3.17
1382 AUTOLOAD:=$(call AutoProbe,usbip-core)
1383 $(call AddDepends/usb)
1384 endef
1385
1386 $(eval $(call KernelPackage,usbip))
1387
1388
1389 define KernelPackage/usbip-client
1390 TITLE := USB-over-IP client driver
1391 DEPENDS := +kmod-usbip
1392 KCONFIG := CONFIG_USBIP_VHCI_HCD
1393 FILES := \
1394 $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.ko@lt3.17 \
1395 $(LINUX_DIR)/drivers/usb/usbip/vhci-hcd.ko@ge3.17
1396 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1397 $(call AddDepends/usb)
1398 endef
1399
1400 $(eval $(call KernelPackage,usbip-client))
1401
1402
1403 define KernelPackage/usbip-server
1404 $(call KernelPackage/usbip/Default)
1405 TITLE := USB-over-IP host driver
1406 DEPENDS := +kmod-usbip
1407 KCONFIG := CONFIG_USBIP_HOST
1408 FILES := \
1409 $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko@lt3.17 \
1410 $(LINUX_DIR)/drivers/usb/usbip/usbip-host.ko@ge3.17
1411 AUTOLOAD := $(call AutoProbe,usbip-host)
1412 $(call AddDepends/usb)
1413 endef
1414
1415 $(eval $(call KernelPackage,usbip-server))
1416
1417
1418 define KernelPackage/usb-chipidea-imx
1419 TITLE:=Support for ChipIdea controllers
1420 DEPENDS:=@TARGET_imx6||TARGET_mxs +kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
1421 KCONFIG:=\
1422 CONFIG_USB_CHIPIDEA \
1423 CONFIG_USB_CHIPIDEA_HOST=y \
1424 CONFIG_USB_CHIPIDEA_UDC=y \
1425 CONFIG_USB_CHIPIDEA_DEBUG=y
1426 FILES:=\
1427 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1428 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
1429 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
1430 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
1431 $(call AddDepends/usb)
1432 endef
1433
1434 define KernelPackage/usb-chipidea-imx/description
1435 Kernel support for USB ChipIdea controllers
1436 endef
1437
1438 $(eval $(call KernelPackage,usb-chipidea-imx,1))
1439
1440
1441 define KernelPackage/usb-mxs-phy
1442 TITLE:=Support for Freescale MXS USB PHY
1443 DEPENDS:=@TARGET_imx6||TARGET_mxs +TARGET_mxs:kmod-usb-chipidea-imx
1444 KCONFIG:=CONFIG_USB_MXS_PHY
1445 FILES:=\
1446 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1447 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1448 $(call AddDepends/usb)
1449 endef
1450
1451 define KernelPackage/usb-mxs-phy/description
1452 Kernel support for Freescale MXS USB PHY
1453 endef
1454
1455 $(eval $(call KernelPackage,usb-mxs-phy,1))
1456
1457
1458 define KernelPackage/usbmon
1459 TITLE:=USB traffic monitor
1460 KCONFIG:=CONFIG_USB_MON
1461 $(call AddDepends/usb)
1462 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1463 AUTOLOAD:=$(call AutoProbe,usbmon)
1464 endef
1465
1466 define KernelPackage/usbmon/description
1467 Kernel support for USB traffic monitoring
1468 endef
1469
1470 $(eval $(call KernelPackage,usbmon))
1471
1472 XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,xhci-hcd xhci-pci xhci-plat-hcd))
1473 XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
1474
1475 define KernelPackage/usb3
1476 TITLE:=Support for USB3 controllers
1477 DEPENDS:=+TARGET_omap:kmod-usb-phy-omap-usb3
1478 KCONFIG:= \
1479 CONFIG_USB_XHCI_HCD \
1480 CONFIG_USB_XHCI_PCI \
1481 CONFIG_USB_XHCI_PLATFORM \
1482 CONFIG_USB_XHCI_MVEBU=y \
1483 CONFIG_USB_XHCI_HCD_DEBUGGING=n
1484 FILES:= \
1485 $(XHCI_FILES)
1486 AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
1487 $(call AddDepends/usb)
1488 endef
1489
1490 define KernelPackage/usb3/description
1491 Kernel support for USB3 (XHCI) controllers
1492 endef
1493
1494 $(eval $(call KernelPackage,usb3))