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