source: trunk/package/kernel/modules/usb.mk @ 21102

Last change on this file since 21102 was 21102, checked in by nico, 7 years ago

package/kernel: use macros for kmod-rfkill depends

  • Property svn:eol-style set to native
File size: 23.9 KB
Line 
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
8USB_MENU:=USB Support
9
10ifneq ($(CONFIG_LINUX_2_4),)
11  USBNET_DIR:=usb/net
12endif
13
14USBNET_DIR?=net/usb
15USBHID_DIR?=hid/usbhid
16USBINPUT_DIR?=input/misc
17
18define 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)
24endef
25
26define KernelPackage/usb-core/2.4
27  FILES:=$(LINUX_DIR)/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
28endef
29
30define KernelPackage/usb-core/2.6
31  FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX)
32endef
33
34define KernelPackage/usb-core/description
35 Kernel support for USB
36endef
37
38$(eval $(call KernelPackage,usb-core))
39
40
41define KernelPackage/usb/Depends
42  SUBMENU:=$(USB_MENU)
43  DEPENDS:=kmod-usb-core $(1)
44endef
45
46
47define 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
53endef
54
55define 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)
59endef
60
61define 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)
65endef
66
67define KernelPackage/usb-uhci/description
68 Kernel support for USB UHCI controllers
69endef
70
71$(eval $(call KernelPackage,usb-uhci,1))
72
73
74define 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)
80endef
81
82define KernelPackage/usb-uhci-iv/description
83 Kernel support for Intel/VIA USB UHCI controllers
84endef
85
86$(eval $(call KernelPackage,usb-uhci-iv,1))
87
88
89define 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
96endef
97
98define 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)
102endef
103
104define 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)
108endef
109
110define KernelPackage/usb-ohci/description
111 Kernel support for USB OHCI controllers
112endef
113
114$(eval $(call KernelPackage,usb-ohci,1))
115
116
117define 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)
123endef
124
125define KernelPackage/usb-adm5120/description
126 Kernel support for the ADM5120 HCD USB controller
127endef
128
129$(eval $(call KernelPackage,usb-adm5120))
130
131define 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)
138endef
139
140define KernelPackage/usb-etrax/description
141 Kernel support for the ETRAX USB host controller
142endef
143
144$(eval $(call KernelPackage,usb-etrax))
145
146define 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)
152endef
153
154define KernelPackage/usb-octeon/description
155  Kernel support for the Octeon USB host controller
156endef
157
158$(eval $(call KernelPackage,usb-octeon))
159
160
161define 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)
170endef
171
172define KernelPackage/usb-isp116x-hcd/description
173  Kernel support for the ISP116X USB Host Controller
174endef
175
176$(eval $(call KernelPackage,usb-isp116x-hcd))
177
178
179define 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)
186endef
187
188define KernelPackage/usb2/description
189 Kernel support for USB2 (EHCI) controllers
190endef
191
192$(eval $(call KernelPackage,usb2))
193
194
195define KernelPackage/usb-acm
196$(call KernelPackage/usb/Depends,)
197  TITLE:=Support for modems/isdn controllers
198  KCONFIG:=CONFIG_USB_ACM
199endef
200
201define KernelPackage/usb-acm/2.4
202  FILES:=$(LINUX_DIR)/drivers/usb/acm.o
203  AUTOLOAD:=$(call AutoLoad,60,acm)
204endef
205
206define KernelPackage/usb-acm/2.6
207  FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
208  AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
209endef
210
211define KernelPackage/usb-acm/description
212 Kernel support for USB ACM devices (modems/isdn controllers)
213endef
214
215$(eval $(call KernelPackage,usb-acm))
216
217
218define 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
224endef
225
226define KernelPackage/usb-audio/2.4
227#  KCONFIG:=CONFIG_USB_AUDIO
228  FILES:=$(LINUX_DIR)/drivers/usb/audio.o
229  AUTOLOAD:=$(call AutoLoad,60,audio)
230endef
231
232define 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)
238endef
239
240define KernelPackage/usb-audio/description
241 Kernel support for USB audio devices
242endef
243
244$(eval $(call KernelPackage,usb-audio))
245
246
247define KernelPackage/usb-printer
248$(call KernelPackage/usb/Depends,)
249  TITLE:=Support for printers
250  KCONFIG:=CONFIG_USB_PRINTER
251endef
252
253define KernelPackage/usb-printer/2.4
254  FILES:=$(LINUX_DIR)/drivers/usb/printer.o
255  AUTOLOAD:=$(call AutoLoad,60,printer)
256endef
257
258define KernelPackage/usb-printer/2.6
259  FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
260  AUTOLOAD:=$(call AutoLoad,60,usblp)
261endef
262
263define KernelPackage/usb-printer/description
264 Kernel support for USB printers
265endef
266
267$(eval $(call KernelPackage,usb-printer))
268
269
270define 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)
276endef
277
278define KernelPackage/usb-serial/description
279 Kernel support for USB-to-Serial converters
280endef
281
282$(eval $(call KernelPackage,usb-serial))
283
284
285define KernelPackage/usb-serial/Depends
286  SUBMENU:=$(USB_MENU)
287  DEPENDS:=kmod-usb-serial $(1)
288endef
289
290
291define 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)
297endef
298
299define KernelPackage/usb-serial-airprime/description
300 Kernel support for Airprime (EVDO)
301endef
302
303$(eval $(call KernelPackage,usb-serial-airprime))
304
305
306define 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)
312endef
313
314define KernelPackage/usb-serial-belkin/description
315 Kernel support for Belkin USB-to-Serial converters
316endef
317
318$(eval $(call KernelPackage,usb-serial-belkin))
319
320
321define 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)
327endef
328
329define KernelPackage/usb-serial-belkin/description
330 Kernel support for Winchiphead CH341 USB-to-Serial converters
331endef
332
333$(eval $(call KernelPackage,usb-serial-ch341))
334
335
336define 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)
342endef
343
344define KernelPackage/usb-serial-ftdi/description
345 Kernel support for FTDI USB-to-Serial converters
346endef
347
348$(eval $(call KernelPackage,usb-serial-ftdi))
349
350
351define 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)
357endef
358
359define KernelPackage/usb-serial-mct/description
360 Kernel support for Magic Control Technology USB-to-Serial converters
361endef
362
363$(eval $(call KernelPackage,usb-serial-mct))
364
365
366define 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)
372endef
373
374define KernelPackage/usb-serial-pl2303/description
375 Kernel support for Prolific PL2303 USB-to-Serial converters
376endef
377
378$(eval $(call KernelPackage,usb-serial-pl2303))
379
380
381define 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)
387endef
388
389define KernelPackage/usb-serial-cp210x/description
390 Kernel support for Silicon Labs cp210x USB-to-Serial converters
391endef
392
393$(eval $(call KernelPackage,usb-serial-cp210x))
394
395
396define 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)
402endef
403
404define KernelPackage/usb-serial-ark3116/description
405 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
406endef
407
408$(eval $(call KernelPackage,usb-serial-ark3116))
409
410
411define 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)
417endef
418
419define KernelPackage/usb-serial-oti6858/description
420 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
421endef
422
423$(eval $(call KernelPackage,usb-serial-oti6858))
424
425
426define 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)
432endef
433
434define KernelPackage/usb-serial-sierrawireless/description
435 Kernel support for Sierra Wireless devices
436endef
437
438$(eval $(call KernelPackage,usb-serial-sierrawireless))
439
440
441define 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)
447endef
448
449define KernelPackage/usb-serial-motorola-phone/description
450 Kernel support for Motorola usb phone
451endef
452
453$(eval $(call KernelPackage,usb-serial-motorola-phone))
454
455
456
457define 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)
463endef
464
465define KernelPackage/usb-serial-visor/description
466 Kernel support for Handspring Visor PDAs
467endef
468
469$(eval $(call KernelPackage,usb-serial-visor))
470
471
472define 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)
491endef
492
493define KernelPackage/usb-serial-keyspan/description
494 Kernel support for Keyspan USB-to-Serial devices
495endef
496
497$(eval $(call KernelPackage,usb-serial-keyspan))
498
499
500define 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)
506endef
507
508define KernelPackage/usb-serial-option/description
509 Kernel support for Option HSDPA modems
510endef
511
512$(eval $(call KernelPackage,usb-serial-option))
513
514
515define 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)
521endef
522
523define KernelPackage/usb-storage/description
524 Kernel support for USB Mass Storage devices
525endef
526
527$(eval $(call KernelPackage,usb-storage))
528
529define 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)
558endef
559
560define KernelPackage/usb-storage-extras/description
561  Say Y here if you want to have some more drivers,
562  such as for SmartMedia card readers.
563endef
564
565$(eval $(call KernelPackage,usb-storage-extras))
566
567
568define 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)
574endef
575
576define KernelPackage/usb-video/description
577 Kernel support for USB video devices
578endef
579
580$(eval $(call KernelPackage,usb-video))
581
582
583define 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)
589endef
590
591define KernelPackage/usb-atm/description
592 Kernel support for USB DSL modems
593endef
594
595$(eval $(call KernelPackage,usb-atm))
596
597
598define KernelPackage/usb-atm/Depends
599  SUBMENU:=$(USB_MENU)
600  DEPENDS:=kmod-usb-atm $(1)
601endef
602
603
604define 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)
610endef
611
612define KernelPackage/usb-atm-speedtouch/description
613 Kernel support for SpeedTouch USB ADSL modems
614endef
615
616$(eval $(call KernelPackage,usb-atm-speedtouch))
617
618
619define 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)
625endef
626
627define KernelPackage/usb-atm-ueagle/description
628 Kernel support for Eagle 8051 based USB ADSL modems
629endef
630
631$(eval $(call KernelPackage,usb-atm-ueagle))
632
633
634define 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)
640endef
641
642define KernelPackage/usb-atm-cxacru/description
643 Kernel support for cxacru based USB ADSL modems
644endef
645
646$(eval $(call KernelPackage,usb-atm-cxacru))
647
648
649define 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)
654endef
655
656define KernelPackage/usb-net/2.4
657  FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
658endef
659
660define KernelPackage/usb-net/2.6
661  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
662endef
663
664define KernelPackage/usb-net/description
665 Kernel modules for USB-to-Ethernet convertors
666endef
667
668$(eval $(call KernelPackage,usb-net))
669
670
671define KernelPackage/usb-net/Depends
672  SUBMENU:=$(USB_MENU)
673  DEPENDS:=kmod-usb-net $(1)
674endef
675
676
677define 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)
683endef
684
685define KernelPackage/usb-net-asix/description
686 Kernel module for USB-to-Ethernet Asix convertors
687endef
688
689$(eval $(call KernelPackage,usb-net-asix))
690
691
692define 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)
700endef
701
702define KernelPackage/usb-net-hso/description
703 Kernel module for Option USB High Speed Mobile Devices
704endef
705
706$(eval $(call KernelPackage,usb-net-hso))
707
708
709define 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)
715endef
716
717define KernelPackage/usb-net-kaweth/description
718 Kernel module for USB-to-Ethernet Kaweth convertors
719endef
720
721$(eval $(call KernelPackage,usb-net-kaweth))
722
723
724define 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)
730endef
731
732define KernelPackage/usb-net-pegasus/description
733 Kernel module for USB-to-Ethernet Pegasus convertors
734endef
735
736$(eval $(call KernelPackage,usb-net-pegasus))
737
738
739define 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)
745endef
746
747define KernelPackage/usb-net-mcs7830/description
748 Kernel module for USB-to-Ethernet MCS7830 convertors
749endef
750
751$(eval $(call KernelPackage,usb-net-mcs7830))
752
753
754define 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)
760endef
761
762define KernelPackage/usb-net-dm9601-ether/description
763  Kernel support for USB DM9601 devices
764endef
765
766$(eval $(call KernelPackage,usb-net-dm9601-ether))
767
768define 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)
774endef
775
776define KernelPackage/usb-net-cdc-ether/description
777 Kernel support for USB CDC Ethernet devices
778endef
779
780$(eval $(call KernelPackage,usb-net-cdc-ether))
781
782
783define 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)
789endef
790
791define KernelPackage/usb-net-rndis/description
792 Kernel support for RNDIS connections
793endef
794
795$(eval $(call KernelPackage,usb-net-rndis))
796
797
798define 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)
804endef
805
806
807define KernelPackage/usb-hid/description
808 Kernel support for USB HID devices such as keyboards and mice
809endef
810
811$(eval $(call KernelPackage,usb-hid))
812
813
814define 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)
820endef
821
822define KernelPackage/usb-yealink/description
823 Kernel support for Yealink VOIP phone
824endef
825
826$(eval $(call KernelPackage,usb-yealink))
827
828
829define 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)
835endef
836
837define KernelPackage/usb-cm109/description
838 Kernel support for CM109 VOIP phone
839endef
840
841$(eval $(call KernelPackage,usb-cm109))
842
843
844define 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
849endef
850
851define KernelPackage/usb-test/description
852 Kernel support for testing USB Host Controller software.
853endef
854
855$(eval $(call KernelPackage,usb-test))
856
857
858define 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
863endef
864
865define KernelPackage/usb-phidget/description
866 Kernel support for USB Phidget devices.
867endef
868
869$(eval $(call KernelPackage,usb-phidget))
870
Note: See TracBrowser for help on using the repository browser.