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