[omap]: switch to 3.12, enable support for AM33xx/OMAP3
[openwrt/svn-archive/archive.git] / package / kernel / linux / modules / usb.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 USB_MENU:=USB Support
9
10 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define KernelPackage/usb-core
15 SUBMENU:=$(USB_MENU)
16 TITLE:=Support for USB
17 DEPENDS:=@USB_SUPPORT
18 KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
19 FILES:= \
20 $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
21 $(LINUX_DIR)/drivers/usb/usb-common.ko
22 AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
23 $(call AddDepends/nls)
24 endef
25
26 define KernelPackage/usb-core/description
27 Kernel support for USB
28 endef
29
30 $(eval $(call KernelPackage,usb-core))
31
32
33 define AddDepends/usb
34 SUBMENU:=$(USB_MENU)
35 DEPENDS+=+kmod-usb-core $(1)
36 endef
37
38
39 define KernelPackage/usb-gadget
40 TITLE:=USB Gadget support
41 KCONFIG:=CONFIG_USB_GADGET
42 FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko
43 AUTOLOAD:=$(call AutoLoad,45,udc-core)
44 DEPENDS:=@USB_GADGET_SUPPORT
45 $(call AddDepends/usb)
46 endef
47
48 define KernelPackage/usb-gadget/description
49 Kernel support for USB Gadget mode
50 endef
51
52 $(eval $(call KernelPackage,usb-gadget))
53
54 define KernelPackage/usb-lib-composite
55 TITLE:=USB lib composite
56 KCONFIG:=CONFIG_USB_LIBCOMPOSITE
57 DEPENDS:=+kmod-usb-gadget +kmod-fs-configfs @!LINUX_3_3 @!LINUX_3_6
58 FILES:=$(LINUX_DIR)/drivers/usb/gadget/libcomposite.ko
59 AUTOLOAD:=$(call AutoLoad,50,libcomposite)
60 $(call AddDepends/usb)
61 endef
62
63 define KernelPackage/usb-lib-composite/description
64 Lib Composite
65 endef
66
67 $(eval $(call KernelPackage,usb-lib-composite))
68
69
70 define KernelPackage/usb-eth-gadget
71 TITLE:=USB Ethernet Gadget support
72 KCONFIG:= \
73 CONFIG_USB_ETH \
74 CONFIG_USB_ETH_RNDIS=y \
75 CONFIG_USB_ETH_EEM=y
76 DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite
77 FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
78 AUTOLOAD:=$(call AutoLoad,52,g_ether)
79 $(call AddDepends/usb)
80 endef
81
82 define KernelPackage/usb-eth-gadget/description
83 Kernel support for USB Ethernet Gadget
84 endef
85
86 $(eval $(call KernelPackage,usb-eth-gadget))
87
88
89 define KernelPackage/usb-uhci
90 TITLE:=Support for UHCI controllers
91 KCONFIG:= \
92 CONFIG_USB_UHCI_ALT \
93 CONFIG_USB_UHCI_HCD
94 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
95 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
96 $(call AddDepends/usb)
97 endef
98
99 define KernelPackage/usb-uhci/description
100 Kernel support for USB UHCI controllers
101 endef
102
103 $(eval $(call KernelPackage,usb-uhci,1))
104
105
106 define KernelPackage/usb-ohci
107 TITLE:=Support for OHCI controllers
108 DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
109 KCONFIG:= \
110 CONFIG_USB_OHCI \
111 CONFIG_USB_OHCI_HCD \
112 CONFIG_USB_OHCI_ATH79=y \
113 CONFIG_USB_OHCI_BCM63XX=y \
114 CONFIG_USB_OCTEON_OHCI=y \
115 CONFIG_USB_OHCI_HCD_OMAP3=y \
116 CONFIG_USB_OHCI_HCD_PLATFORM=y
117 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
118 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
119 $(call AddDepends/usb)
120 endef
121
122 define KernelPackage/usb-ohci/description
123 Kernel support for USB OHCI controllers
124 endef
125
126 $(eval $(call KernelPackage,usb-ohci,1))
127
128
129 define KernelPackage/usb2-fsl
130 TITLE:=Support for Freescale USB2 controllers
131 DEPENDS:=@TARGET_mpc85xx
132 KCONFIG:=\
133 CONFIG_USB_FSL_MPH_DR_OF \
134 CONFIG_USB_EHCI_FSL=y
135 FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
136 AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
137 $(call AddDepends/usb)
138 endef
139
140 define KernelPackage/usb2-fsl/description
141 Kernel support for Freescale USB2 (EHCI) controllers
142 endef
143
144 $(eval $(call KernelPackage,usb2-fsl))
145
146
147 define KernelPackage/usb2
148 TITLE:=Support for USB2 controllers
149 DEPENDS:=\
150 +TARGET_brcm47xx:kmod-usb-brcm47xx \
151 +TARGET_mpc85xx:kmod-usb2-fsl
152 KCONFIG:=\
153 CONFIG_USB_EHCI_HCD \
154 CONFIG_USB_EHCI_ATH79=y \
155 CONFIG_USB_EHCI_BCM63XX=y \
156 CONFIG_USB_IMX21_HCD=y \
157 CONFIG_USB_EHCI_MXC=y \
158 CONFIG_USB_OCTEON_EHCI=y \
159 CONFIG_USB_EHCI_HCD_ORION=y \
160 CONFIG_USB_EHCI_HCD_PLATFORM=y
161 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
162 FILES:= \
163 $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
164 $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
165 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform,1)
166 else
167 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
168 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
169 endif
170 $(call AddDepends/usb)
171 endef
172
173 define KernelPackage/usb2/description
174 Kernel support for USB2 (EHCI) controllers
175 endef
176
177 $(eval $(call KernelPackage,usb2))
178
179
180 define KernelPackage/usb2-pci
181 TITLE:=Support for PCI USB2 controllers
182 DEPENDS:=@PCI_SUPPORT @(LINUX_3_8||LINUX_3_9||LINUX_3_10) +kmod-usb2
183 KCONFIG:=CONFIG_USB_EHCI_PCI
184 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
185 AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
186 $(call AddDepends/usb)
187 endef
188
189 define KernelPackage/usb2-pci/description
190 Kernel support for PCI USB2 (EHCI) controllers
191 endef
192
193 $(eval $(call KernelPackage,usb2-pci))
194
195
196 define KernelPackage/usb-dwc2
197 TITLE:=DWC2 USB controller driver
198 DEPENDS:=@LINUX_3_10
199 KCONFIG:= \
200 CONFIG_USB_DWC2 \
201 CONFIG_USB_DWC2_DEBUG=n \
202 CONFIG_USB_DWC2_VERBOSE=n \
203 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n
204 FILES:= \
205 $(LINUX_DIR)/drivers/staging/dwc2/dwc2.ko \
206 $(LINUX_DIR)/drivers/staging/dwc2/dwc2_platform.ko
207 AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
208 $(call AddDepends/usb)
209 endef
210
211 define KernelPackage/usb-dwc2/description
212 This driver provides USB Device Controller support for the
213 Synopsys DesignWare USB OTG Core
214 endef
215
216 $(eval $(call KernelPackage,usb-dwc2))
217
218
219 define KernelPackage/usb-acm
220 TITLE:=Support for modems/isdn controllers
221 KCONFIG:=CONFIG_USB_ACM
222 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
223 AUTOLOAD:=$(call AutoProbe,cdc-acm)
224 $(call AddDepends/usb)
225 endef
226
227 define KernelPackage/usb-acm/description
228 Kernel support for USB ACM devices (modems/isdn controllers)
229 endef
230
231 $(eval $(call KernelPackage,usb-acm))
232
233
234 define KernelPackage/usb-wdm
235 TITLE:=USB Wireless Device Management
236 KCONFIG:=CONFIG_USB_WDM
237 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
238 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
239 $(call AddDepends/usb)
240 $(call AddDepends/usb-net)
241 endef
242
243 define KernelPackage/usb-wdm/description
244 USB Wireless Device Management support
245 endef
246
247 $(eval $(call KernelPackage,usb-wdm))
248
249
250 define KernelPackage/usb-audio
251 TITLE:=Support for USB audio devices
252 KCONFIG:= \
253 CONFIG_USB_AUDIO \
254 CONFIG_SND_USB_AUDIO
255 $(call AddDepends/usb)
256 $(call AddDepends/sound)
257 # For Linux 2.6.35+
258 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
259 FILES:= \
260 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
261 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
262 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
263 else
264 FILES:= \
265 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
266 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
267 AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
268 endif
269 endef
270
271 define KernelPackage/usb-audio/description
272 Kernel support for USB audio devices
273 endef
274
275 $(eval $(call KernelPackage,usb-audio))
276
277
278 define KernelPackage/usb-printer
279 TITLE:=Support for printers
280 KCONFIG:=CONFIG_USB_PRINTER
281 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
282 AUTOLOAD:=$(call AutoProbe,usblp)
283 $(call AddDepends/usb)
284 endef
285
286 define KernelPackage/usb-printer/description
287 Kernel support for USB printers
288 endef
289
290 $(eval $(call KernelPackage,usb-printer))
291
292
293 define KernelPackage/usb-serial
294 TITLE:=Support for USB-to-Serial converters
295 KCONFIG:=CONFIG_USB_SERIAL
296 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
297 AUTOLOAD:=$(call AutoProbe,usbserial)
298 $(call AddDepends/usb)
299 endef
300
301 define KernelPackage/usb-serial/description
302 Kernel support for USB-to-Serial converters
303 endef
304
305 $(eval $(call KernelPackage,usb-serial))
306
307
308 define AddDepends/usb-serial
309 SUBMENU:=$(USB_MENU)
310 DEPENDS+=kmod-usb-serial $(1)
311 endef
312
313
314 define KernelPackage/usb-serial-belkin
315 TITLE:=Support for Belkin devices
316 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
317 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
318 AUTOLOAD:=$(call AutoProbe,belkin_sa)
319 $(call AddDepends/usb-serial)
320 endef
321
322 define KernelPackage/usb-serial-belkin/description
323 Kernel support for Belkin USB-to-Serial converters
324 endef
325
326 $(eval $(call KernelPackage,usb-serial-belkin))
327
328
329 define KernelPackage/usb-serial-ch341
330 TITLE:=Support for CH341 devices
331 KCONFIG:=CONFIG_USB_SERIAL_CH341
332 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
333 AUTOLOAD:=$(call AutoProbe,ch341)
334 $(call AddDepends/usb-serial)
335 endef
336
337 define KernelPackage/usb-serial-ch341/description
338 Kernel support for Winchiphead CH341 USB-to-Serial converters
339 endef
340
341 $(eval $(call KernelPackage,usb-serial-ch341))
342
343
344 define KernelPackage/usb-serial-ftdi
345 TITLE:=Support for FTDI devices
346 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
347 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
348 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
349 $(call AddDepends/usb-serial)
350 endef
351
352 define KernelPackage/usb-serial-ftdi/description
353 Kernel support for FTDI USB-to-Serial converters
354 endef
355
356 $(eval $(call KernelPackage,usb-serial-ftdi))
357
358
359 define KernelPackage/usb-serial-ti-usb
360 TITLE:=Support for TI USB 3410/5052
361 KCONFIG:=CONFIG_USB_SERIAL_TI
362 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
363 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
364 $(call AddDepends/usb-serial)
365 endef
366
367 define KernelPackage/usb-serial-ti-usb/description
368 Kernel support for TI USB 3410/5052 devices
369 endef
370
371 $(eval $(call KernelPackage,usb-serial-ti-usb))
372
373
374 define KernelPackage/usb-serial-ipw
375 TITLE:=Support for IPWireless 3G devices
376 KCONFIG:=CONFIG_USB_SERIAL_IPW
377 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
378 AUTOLOAD:=$(call AutoProbe,ipw)
379 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
380 endef
381
382 $(eval $(call KernelPackage,usb-serial-ipw))
383
384
385 define KernelPackage/usb-serial-mct
386 TITLE:=Support for Magic Control Tech. devices
387 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
388 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
389 AUTOLOAD:=$(call AutoProbe,mct_u232)
390 $(call AddDepends/usb-serial)
391 endef
392
393 define KernelPackage/usb-serial-mct/description
394 Kernel support for Magic Control Technology USB-to-Serial converters
395 endef
396
397 $(eval $(call KernelPackage,usb-serial-mct))
398
399
400 define KernelPackage/usb-serial-mos7720
401 TITLE:=Support for Moschip MOS7720 devices
402 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
403 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
404 AUTOLOAD:=$(call AutoProbe,mos7720)
405 $(call AddDepends/usb-serial)
406 endef
407
408 define KernelPackage/usb-serial-mos7720/description
409 Kernel support for Moschip MOS7720 USB-to-Serial converters
410 endef
411
412 $(eval $(call KernelPackage,usb-serial-mos7720))
413
414
415 define KernelPackage/usb-serial-pl2303
416 TITLE:=Support for Prolific PL2303 devices
417 KCONFIG:=CONFIG_USB_SERIAL_PL2303
418 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
419 AUTOLOAD:=$(call AutoProbe,pl2303)
420 $(call AddDepends/usb-serial)
421 endef
422
423 define KernelPackage/usb-serial-pl2303/description
424 Kernel support for Prolific PL2303 USB-to-Serial converters
425 endef
426
427 $(eval $(call KernelPackage,usb-serial-pl2303))
428
429
430 define KernelPackage/usb-serial-cp210x
431 TITLE:=Support for Silicon Labs cp210x devices
432 KCONFIG:=CONFIG_USB_SERIAL_CP210X
433 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
434 AUTOLOAD:=$(call AutoProbe,cp210x)
435 $(call AddDepends/usb-serial)
436 endef
437
438 define KernelPackage/usb-serial-cp210x/description
439 Kernel support for Silicon Labs cp210x USB-to-Serial converters
440 endef
441
442 $(eval $(call KernelPackage,usb-serial-cp210x))
443
444
445 define KernelPackage/usb-serial-ark3116
446 TITLE:=Support for ArkMicroChips ARK3116 devices
447 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
448 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
449 AUTOLOAD:=$(call AutoProbe,ark3116)
450 $(call AddDepends/usb-serial)
451 endef
452
453 define KernelPackage/usb-serial-ark3116/description
454 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
455 endef
456
457 $(eval $(call KernelPackage,usb-serial-ark3116))
458
459
460 define KernelPackage/usb-serial-oti6858
461 TITLE:=Support for Ours Technology OTI6858 devices
462 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
463 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
464 AUTOLOAD:=$(call AutoProbe,oti6858)
465 $(call AddDepends/usb-serial)
466 endef
467
468 define KernelPackage/usb-serial-oti6858/description
469 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
470 endef
471
472 $(eval $(call KernelPackage,usb-serial-oti6858))
473
474
475 define KernelPackage/usb-serial-sierrawireless
476 TITLE:=Support for Sierra Wireless devices
477 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
478 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
479 AUTOLOAD:=$(call AutoProbe,sierra)
480 $(call AddDepends/usb-serial)
481 endef
482
483 define KernelPackage/usb-serial-sierrawireless/description
484 Kernel support for Sierra Wireless devices
485 endef
486
487 $(eval $(call KernelPackage,usb-serial-sierrawireless))
488
489
490 define KernelPackage/usb-serial-motorola-phone
491 TITLE:=Support for Motorola usb phone
492 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
493 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
494 AUTOLOAD:=$(call AutoProbe,moto_modem)
495 $(call AddDepends/usb-serial)
496 endef
497
498 define KernelPackage/usb-serial-motorola-phone/description
499 Kernel support for Motorola usb phone
500 endef
501
502 $(eval $(call KernelPackage,usb-serial-motorola-phone))
503
504
505 define KernelPackage/usb-serial-visor
506 TITLE:=Support for Handspring Visor devices
507 KCONFIG:=CONFIG_USB_SERIAL_VISOR
508 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
509 AUTOLOAD:=$(call AutoProbe,visor)
510 $(call AddDepends/usb-serial)
511 endef
512
513 define KernelPackage/usb-serial-visor/description
514 Kernel support for Handspring Visor PDAs
515 endef
516
517 $(eval $(call KernelPackage,usb-serial-visor))
518
519
520 define KernelPackage/usb-serial-cypress-m8
521 TITLE:=Support for CypressM8 USB-Serial
522 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
523 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
524 AUTOLOAD:=$(call AutoProbe,cypress_m8)
525 $(call AddDepends/usb-serial)
526 endef
527
528 define KernelPackage/usb-serial-cypress-m8/description
529 Kernel support for devices with Cypress M8 USB to Serial chip
530 (for example, the Delorme Earthmate LT-20 GPS)
531 Supported microcontrollers in the CY4601 family are:
532 CY7C63741 CY7C63742 CY7C63743 CY7C64013
533 endef
534
535 $(eval $(call KernelPackage,usb-serial-cypress-m8))
536
537
538 define KernelPackage/usb-serial-keyspan
539 TITLE:=Support for Keyspan USB-to-Serial devices
540 KCONFIG:= \
541 CONFIG_USB_SERIAL_KEYSPAN \
542 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
543 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
544 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
545 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
546 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
547 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
548 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
549 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
550 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
551 CONFIG_USB_SERIAL_KEYSPAN_MPR \
552 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
553 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
554 FILES:= \
555 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
556 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
557 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
558 $(call AddDepends/usb-serial)
559 endef
560
561 define KernelPackage/usb-serial-keyspan/description
562 Kernel support for Keyspan USB-to-Serial devices
563 endef
564
565 $(eval $(call KernelPackage,usb-serial-keyspan))
566
567
568 define KernelPackage/usb-serial-wwan
569 TITLE:=Support for GSM and CDMA modems
570 KCONFIG:=CONFIG_USB_SERIAL_WWAN
571 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
572 AUTOLOAD:=$(call AutoProbe,usb_wwan)
573 $(call AddDepends/usb-serial)
574 endef
575
576 define KernelPackage/usb-serial-wwan/description
577 Kernel support for USB GSM and CDMA modems
578 endef
579
580 $(eval $(call KernelPackage,usb-serial-wwan))
581
582
583 define KernelPackage/usb-serial-option
584 TITLE:=Support for Option HSDPA modems
585 DEPENDS:=+kmod-usb-serial-wwan
586 KCONFIG:=CONFIG_USB_SERIAL_OPTION
587 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
588 AUTOLOAD:=$(call AutoProbe,option)
589 $(call AddDepends/usb-serial)
590 endef
591
592 define KernelPackage/usb-serial-option/description
593 Kernel support for Option HSDPA modems
594 endef
595
596 $(eval $(call KernelPackage,usb-serial-option))
597
598
599 define KernelPackage/usb-serial-qualcomm
600 TITLE:=Support for Qualcomm USB serial
601 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
602 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
603 AUTOLOAD:=$(call AutoProbe,qcserial)
604 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
605 endef
606
607 define KernelPackage/usb-serial-qualcomm/description
608 Kernel support for Qualcomm USB Serial devices (Gobi)
609 endef
610
611 $(eval $(call KernelPackage,usb-serial-qualcomm))
612
613
614 define KernelPackage/usb-storage
615 TITLE:=USB Storage support
616 DEPENDS:= +kmod-scsi-core
617 KCONFIG:=CONFIG_USB_STORAGE
618 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
619 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
620 $(call AddDepends/usb)
621 endef
622
623 define KernelPackage/usb-storage/description
624 Kernel support for USB Mass Storage devices
625 endef
626
627 $(eval $(call KernelPackage,usb-storage))
628
629
630 define KernelPackage/usb-storage-extras
631 SUBMENU:=$(USB_MENU)
632 TITLE:=Extra drivers for usb-storage
633 DEPENDS:=+kmod-usb-storage
634 KCONFIG:= \
635 CONFIG_USB_STORAGE_ALAUDA \
636 CONFIG_USB_STORAGE_CYPRESS_ATACB \
637 CONFIG_USB_STORAGE_DATAFAB \
638 CONFIG_USB_STORAGE_FREECOM \
639 CONFIG_USB_STORAGE_ISD200 \
640 CONFIG_USB_STORAGE_JUMPSHOT \
641 CONFIG_USB_STORAGE_KARMA \
642 CONFIG_USB_STORAGE_SDDR09 \
643 CONFIG_USB_STORAGE_SDDR55 \
644 CONFIG_USB_STORAGE_USBAT
645 FILES:= \
646 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
647 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
648 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
649 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
650 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
651 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
652 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
653 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
654 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
655 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
656 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
657 ums-freecom ums-isd200 ums-jumpshot \
658 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
659 endef
660
661 define KernelPackage/usb-storage-extras/description
662 Say Y here if you want to have some more drivers,
663 such as for SmartMedia card readers
664 endef
665
666 $(eval $(call KernelPackage,usb-storage-extras))
667
668
669 define KernelPackage/usb-atm
670 TITLE:=Support for ATM on USB bus
671 DEPENDS:=+kmod-atm
672 KCONFIG:=CONFIG_USB_ATM
673 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
674 AUTOLOAD:=$(call AutoProbe,usbatm)
675 $(call AddDepends/usb)
676 endef
677
678 define KernelPackage/usb-atm/description
679 Kernel support for USB DSL modems
680 endef
681
682 $(eval $(call KernelPackage,usb-atm))
683
684
685 define AddDepends/usb-atm
686 SUBMENU:=$(USB_MENU)
687 DEPENDS+=kmod-usb-atm $(1)
688 endef
689
690
691 define KernelPackage/usb-atm-speedtouch
692 TITLE:=SpeedTouch USB ADSL modems support
693 KCONFIG:=CONFIG_USB_SPEEDTOUCH
694 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
695 AUTOLOAD:=$(call AutoProbe,speedtch)
696 $(call AddDepends/usb-atm)
697 endef
698
699 define KernelPackage/usb-atm-speedtouch/description
700 Kernel support for SpeedTouch USB ADSL modems
701 endef
702
703 $(eval $(call KernelPackage,usb-atm-speedtouch))
704
705
706 define KernelPackage/usb-atm-ueagle
707 TITLE:=Eagle 8051 based USB ADSL modems support
708 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
709 KCONFIG:=CONFIG_USB_UEAGLEATM
710 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
711 $(call AddDepends/usb-atm)
712 endef
713
714 define KernelPackage/usb-atm-ueagle/description
715 Kernel support for Eagle 8051 based USB ADSL modems
716 endef
717
718 $(eval $(call KernelPackage,usb-atm-ueagle))
719
720
721 define KernelPackage/usb-atm-cxacru
722 TITLE:=cxacru
723 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
724 KCONFIG:=CONFIG_USB_CXACRU
725 AUTOLOAD:=$(call AutoProbe,cxacru)
726 $(call AddDepends/usb-atm)
727 endef
728
729 define KernelPackage/usb-atm-cxacru/description
730 Kernel support for cxacru based USB ADSL modems
731 endef
732
733 $(eval $(call KernelPackage,usb-atm-cxacru))
734
735
736 define KernelPackage/usb-net
737 TITLE:=Kernel modules for USB-to-Ethernet convertors
738 KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
739 AUTOLOAD:=$(call AutoProbe,usbnet)
740 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
741 $(call AddDepends/usb)
742 endef
743
744 define KernelPackage/usb-net/description
745 Kernel modules for USB-to-Ethernet convertors
746 endef
747
748 $(eval $(call KernelPackage,usb-net))
749
750
751 define AddDepends/usb-net
752 SUBMENU:=$(USB_MENU)
753 DEPENDS+=kmod-usb-net $(1)
754 endef
755
756
757 define KernelPackage/usb-net-asix
758 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
759 DEPENDS:=+!LINUX_3_3:kmod-libphy
760 KCONFIG:=CONFIG_USB_NET_AX8817X
761 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
762 AUTOLOAD:=$(call AutoProbe,asix)
763 $(call AddDepends/usb-net)
764 endef
765
766 define KernelPackage/usb-net-asix/description
767 Kernel module for USB-to-Ethernet Asix convertors
768 endef
769
770 $(eval $(call KernelPackage,usb-net-asix))
771
772
773 define KernelPackage/usb-net-hso
774 TITLE:=Kernel module for Option USB High Speed Mobile Devices
775 KCONFIG:=CONFIG_USB_HSO
776 FILES:= \
777 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
778 AUTOLOAD:=$(call AutoProbe,hso)
779 $(call AddDepends/usb-net)
780 $(call AddDepends/rfkill)
781 endef
782
783 define KernelPackage/usb-net-hso/description
784 Kernel module for Option USB High Speed Mobile Devices
785 endef
786
787 $(eval $(call KernelPackage,usb-net-hso))
788
789
790 define KernelPackage/usb-net-kaweth
791 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
792 KCONFIG:=CONFIG_USB_KAWETH
793 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
794 AUTOLOAD:=$(call AutoProbe,kaweth)
795 $(call AddDepends/usb-net)
796 endef
797
798 define KernelPackage/usb-net-kaweth/description
799 Kernel module for USB-to-Ethernet Kaweth convertors
800 endef
801
802 $(eval $(call KernelPackage,usb-net-kaweth))
803
804
805 define KernelPackage/usb-net-pegasus
806 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
807 KCONFIG:=CONFIG_USB_PEGASUS
808 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
809 AUTOLOAD:=$(call AutoProbe,pegasus)
810 $(call AddDepends/usb-net)
811 endef
812
813 define KernelPackage/usb-net-pegasus/description
814 Kernel module for USB-to-Ethernet Pegasus convertors
815 endef
816
817 $(eval $(call KernelPackage,usb-net-pegasus))
818
819
820 define KernelPackage/usb-net-mcs7830
821 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
822 KCONFIG:=CONFIG_USB_NET_MCS7830
823 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
824 AUTOLOAD:=$(call AutoProbe,mcs7830)
825 $(call AddDepends/usb-net)
826 endef
827
828 define KernelPackage/usb-net-mcs7830/description
829 Kernel module for USB-to-Ethernet MCS7830 convertors
830 endef
831
832 $(eval $(call KernelPackage,usb-net-mcs7830))
833
834
835 define KernelPackage/usb-net-dm9601-ether
836 TITLE:=Support for DM9601 ethernet connections
837 KCONFIG:=CONFIG_USB_NET_DM9601
838 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
839 AUTOLOAD:=$(call AutoProbe,dm9601)
840 $(call AddDepends/usb-net)
841 endef
842
843 define KernelPackage/usb-net-dm9601-ether/description
844 Kernel support for USB DM9601 devices
845 endef
846
847 $(eval $(call KernelPackage,usb-net-dm9601-ether))
848
849 define KernelPackage/usb-net-cdc-ether
850 TITLE:=Support for cdc ethernet connections
851 KCONFIG:=CONFIG_USB_NET_CDCETHER
852 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
853 AUTOLOAD:=$(call AutoProbe,cdc_ether)
854 $(call AddDepends/usb-net)
855 endef
856
857 define KernelPackage/usb-net-cdc-ether/description
858 Kernel support for USB CDC Ethernet devices
859 endef
860
861 $(eval $(call KernelPackage,usb-net-cdc-ether))
862
863
864 define KernelPackage/usb-net-qmi-wwan
865 TITLE:=QMI WWAN driver
866 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
867 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
868 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
869 $(call AddDepends/usb-net,+kmod-usb-wdm)
870 endef
871
872 define KernelPackage/usb-net-qmi-wwan/description
873 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
874 endef
875
876 $(eval $(call KernelPackage,usb-net-qmi-wwan))
877
878
879 define KernelPackage/usb-net-rndis
880 TITLE:=Support for RNDIS connections
881 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
882 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
883 AUTOLOAD:=$(call AutoProbe,rndis_host)
884 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
885 endef
886
887 define KernelPackage/usb-net-rndis/description
888 Kernel support for RNDIS connections
889 endef
890
891 $(eval $(call KernelPackage,usb-net-rndis))
892
893
894 define KernelPackage/usb-net-cdc-mbim
895 SUBMENU:=$(USB_MENU)
896 TITLE:=Kernel module for MBIM Devices
897 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
898 FILES:= \
899 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
900 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
901 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
902 endef
903
904 define KernelPackage/usb-net-cdc-mbim/description
905 Kernel module for Option USB High Speed Mobile Devices
906 endef
907
908 $(eval $(call KernelPackage,usb-net-cdc-mbim))
909
910
911 define KernelPackage/usb-net-cdc-ncm
912 TITLE:=Support for CDC NCM connections
913 KCONFIG:=CONFIG_USB_NET_CDC_NCM
914 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
915 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
916 $(call AddDepends/usb-net)
917 endef
918
919 define KernelPackage/usb-net-cdc-ncm/description
920 Kernel support for CDC NCM connections
921 endef
922
923 $(eval $(call KernelPackage,usb-net-cdc-ncm))
924
925
926 define KernelPackage/usb-net-sierrawireless
927 TITLE:=Support for Sierra Wireless devices
928 KCONFIG:=CONFIG_USB_SIERRA_NET
929 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
930 AUTOLOAD:=$(call AutoProbe,sierra_net)
931 $(call AddDepends/usb-net)
932 endef
933
934 define KernelPackage/usb-net-sierrawireless/description
935 Kernel support for Sierra Wireless devices
936 endef
937
938 $(eval $(call KernelPackage,usb-net-sierrawireless))
939
940
941 define KernelPackage/usb-net-ipheth
942 TITLE:=Apple iPhone USB Ethernet driver
943 KCONFIG:=CONFIG_USB_IPHETH
944 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
945 AUTOLOAD:=$(call AutoProbe,ipheth)
946 $(call AddDepends/usb-net)
947 endef
948
949 define KernelPackage/usb-net-ipheth/description
950 Kernel support for Apple iPhone USB Ethernet driver
951 endef
952
953 $(eval $(call KernelPackage,usb-net-ipheth))
954
955
956 define KernelPackage/usb-hid
957 TITLE:=Support for USB Human Input Devices
958 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
959 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
960 AUTOLOAD:=$(call AutoProbe,usbhid)
961 $(call AddDepends/usb)
962 $(call AddDepends/hid)
963 $(call AddDepends/input,+kmod-input-evdev)
964 endef
965
966 define KernelPackage/usb-hid/description
967 Kernel support for USB HID devices such as keyboards and mice
968 endef
969
970 $(eval $(call KernelPackage,usb-hid))
971
972
973 define KernelPackage/usb-yealink
974 TITLE:=USB Yealink VOIP phone
975 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
976 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
977 AUTOLOAD:=$(call AutoProbe,yealink)
978 $(call AddDepends/usb)
979 $(call AddDepends/input,+kmod-input-evdev)
980 endef
981
982 define KernelPackage/usb-yealink/description
983 Kernel support for Yealink VOIP phone
984 endef
985
986 $(eval $(call KernelPackage,usb-yealink))
987
988
989 define KernelPackage/usb-cm109
990 TITLE:=Support for CM109 device
991 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
992 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
993 AUTOLOAD:=$(call AutoProbe,cm109)
994 $(call AddDepends/usb)
995 $(call AddDepends/input,+kmod-input-evdev)
996 endef
997
998 define KernelPackage/usb-cm109/description
999 Kernel support for CM109 VOIP phone
1000 endef
1001
1002 $(eval $(call KernelPackage,usb-cm109))
1003
1004
1005 define KernelPackage/usb-test
1006 TITLE:=USB Testing Driver
1007 DEPENDS:=@DEVEL
1008 KCONFIG:=CONFIG_USB_TEST
1009 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1010 $(call AddDepends/usb)
1011 endef
1012
1013 define KernelPackage/usb-test/description
1014 Kernel support for testing USB Host Controller software
1015 endef
1016
1017 $(eval $(call KernelPackage,usb-test))
1018
1019
1020 define KernelPackage/usbip
1021 TITLE := USB-over-IP kernel support
1022 KCONFIG:= \
1023 CONFIG_USBIP_CORE \
1024 CONFIG_USBIP_DEBUG=n
1025 FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko
1026 AUTOLOAD:=$(call AutoProbe,usbip-core)
1027 $(call AddDepends/usb)
1028 endef
1029
1030 $(eval $(call KernelPackage,usbip))
1031
1032
1033 define KernelPackage/usbip-client
1034 TITLE := USB-over-IP client driver
1035 DEPENDS := +kmod-usbip
1036 KCONFIG := CONFIG_USBIP_VHCI_HCD
1037 FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX)
1038 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1039 $(call AddDepends/usb)
1040 endef
1041
1042 $(eval $(call KernelPackage,usbip-client))
1043
1044
1045 define KernelPackage/usbip-server
1046 $(call KernelPackage/usbip/Default)
1047 TITLE := USB-over-IP host driver
1048 DEPENDS := +kmod-usbip
1049 KCONFIG := CONFIG_USBIP_HOST
1050 FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko
1051 AUTOLOAD := $(call AutoProbe,usbip-host)
1052 $(call AddDepends/usb)
1053 endef
1054
1055 $(eval $(call KernelPackage,usbip-server))
1056
1057
1058 define KernelPackage/usb-chipidea
1059 TITLE:=Support for ChipIdea controllers
1060 DEPENDS:=+kmod-usb2
1061 KCONFIG:=\
1062 CONFIG_USB_CHIPIDEA \
1063 CONFIG_USB_CHIPIDEA_HOST=y \
1064 CONFIG_USB_CHIPIDEA_UDC=n \
1065 CONFIG_USB_CHIPIDEA_DEBUG=y
1066 FILES:=\
1067 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1068 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko) \
1069 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q).ko)
1070 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q)),1)
1071 $(call AddDepends/usb)
1072 endef
1073
1074 define KernelPackage/usb-chipidea/description
1075 Kernel support for USB ChipIdea controllers
1076 endef
1077
1078 $(eval $(call KernelPackage,usb-chipidea,1))
1079
1080
1081 define KernelPackage/usb-mxs-phy
1082 TITLE:=Support for Freescale MXS USB PHY
1083 DEPENDS:=@TARGET_imx6
1084 KCONFIG:=CONFIG_USB_MXS_PHY
1085 FILES:=\
1086 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1087 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1088 $(call AddDepends/usb)
1089 endef
1090
1091 define KernelPackage/usb-mxs-phy/description
1092 Kernel support for Freescale MXS USB PHY
1093 endef
1094
1095 $(eval $(call KernelPackage,usb-mxs-phy,1))
1096
1097
1098 define KernelPackage/usbmon
1099 TITLE:=USB traffic monitor
1100 KCONFIG:=CONFIG_USB_MON
1101 $(call AddDepends/usb)
1102 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1103 AUTOLOAD:=$(call AutoProbe,usbmon)
1104 endef
1105
1106 define KernelPackage/usbmon/description
1107 Kernel support for USB traffic monitoring
1108 endef
1109
1110 $(eval $(call KernelPackage,usbmon))