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