02c6ba88923f10404884332c103955042ec6ad99
[openwrt.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)
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 $(call AddDepends/rfkill)
700 endef
701
702 define KernelPackage/usb-net-hso/description
703 Kernel module for Option USB High Speed Mobile Devices
704 endef
705
706 $(eval $(call KernelPackage,usb-net-hso))
707
708
709 define KernelPackage/usb-net-kaweth
710 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
711 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
712 KCONFIG:=CONFIG_USB_KAWETH
713 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
714 AUTOLOAD:=$(call AutoLoad,61,kaweth)
715 endef
716
717 define KernelPackage/usb-net-kaweth/description
718 Kernel module for USB-to-Ethernet Kaweth convertors
719 endef
720
721 $(eval $(call KernelPackage,usb-net-kaweth))
722
723
724 define KernelPackage/usb-net-pegasus
725 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
726 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
727 KCONFIG:=CONFIG_USB_PEGASUS
728 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
729 AUTOLOAD:=$(call AutoLoad,61,pegasus)
730 endef
731
732 define KernelPackage/usb-net-pegasus/description
733 Kernel module for USB-to-Ethernet Pegasus convertors
734 endef
735
736 $(eval $(call KernelPackage,usb-net-pegasus))
737
738
739 define KernelPackage/usb-net-mcs7830
740 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
741 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
742 KCONFIG:=CONFIG_USB_NET_MCS7830
743 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
744 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
745 endef
746
747 define KernelPackage/usb-net-mcs7830/description
748 Kernel module for USB-to-Ethernet MCS7830 convertors
749 endef
750
751 $(eval $(call KernelPackage,usb-net-mcs7830))
752
753
754 define KernelPackage/usb-net-dm9601-ether
755 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
756 TITLE:=Support for DM9601 ethernet connections
757 KCONFIG:=CONFIG_USB_NET_DM9601
758 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
759 AUTOLOAD:=$(call AutoLoad,61,dm9601)
760 endef
761
762 define KernelPackage/usb-net-dm9601-ether/description
763 Kernel support for USB DM9601 devices
764 endef
765
766 $(eval $(call KernelPackage,usb-net-dm9601-ether))
767
768 define KernelPackage/usb-net-cdc-ether
769 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
770 TITLE:=Support for cdc ethernet connections
771 KCONFIG:=CONFIG_USB_NET_CDCETHER
772 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
773 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
774 endef
775
776 define KernelPackage/usb-net-cdc-ether/description
777 Kernel support for USB CDC Ethernet devices
778 endef
779
780 $(eval $(call KernelPackage,usb-net-cdc-ether))
781
782
783 define KernelPackage/usb-net-rndis
784 $(call KernelPackage/usb-net/Depends,@LINUX_2_6 +kmod-usb-net-cdc-ether)
785 TITLE:=Support for RNDIS connections
786 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
787 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
788 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
789 endef
790
791 define KernelPackage/usb-net-rndis/description
792 Kernel support for RNDIS connections
793 endef
794
795 $(eval $(call KernelPackage,usb-net-rndis))
796
797
798 define KernelPackage/usb-hid
799 $(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev +!TARGET_x86:kmod-hid)
800 TITLE:=Support for USB Human Input Devices
801 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
802 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
803 AUTOLOAD:=$(call AutoLoad,70,usbhid)
804 endef
805
806
807 define KernelPackage/usb-hid/description
808 Kernel support for USB HID devices such as keyboards and mice
809 endef
810
811 $(eval $(call KernelPackage,usb-hid))
812
813
814 define KernelPackage/usb-yealink
815 $(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev)
816 TITLE:=USB Yealink VOIP phone
817 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
818 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
819 AUTOLOAD:=$(call AutoLoad,70,yealink)
820 endef
821
822 define KernelPackage/usb-yealink/description
823 Kernel support for Yealink VOIP phone
824 endef
825
826 $(eval $(call KernelPackage,usb-yealink))
827
828
829 define KernelPackage/usb-cm109
830 $(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev)
831 TITLE:=Support for CM109 device
832 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
833 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
834 AUTOLOAD:=$(call AutoLoad,70,cm109)
835 endef
836
837 define KernelPackage/usb-cm109/description
838 Kernel support for CM109 VOIP phone
839 endef
840
841 $(eval $(call KernelPackage,usb-cm109))
842
843
844 define KernelPackage/usb-test
845 $(call KernelPackage/usb/Depends,@LINUX_2_6 @DEVEL)
846 TITLE:=USB Testing Driver
847 KCONFIG:=CONFIG_USB_TEST
848 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
849 endef
850
851 define KernelPackage/usb-test/description
852 Kernel support for testing USB Host Controller software.
853 endef
854
855 $(eval $(call KernelPackage,usb-test))
856
857
858 define KernelPackage/usb-phidget
859 $(call KernelPackage/usb/Depends,@LINUX_2_6)
860 TITLE:=USB Phidget Driver
861 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
862 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
863 endef
864
865 define KernelPackage/usb-phidget/description
866 Kernel support for USB Phidget devices.
867 endef
868
869 $(eval $(call KernelPackage,usb-phidget))
870
This page took 0.069562 seconds and 3 git commands to generate.