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