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