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