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