Root/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
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-cypress-m8
473$(call KernelPackage/usb-serial/Depends,)
474  TITLE:=Support for CypressM8 USB-Serial
475  KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
476  FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.$(LINUX_KMOD_SUFFIX)
477  AUTOLOAD:=$(call AutoLoad,65,cypress_m8)
478endef
479
480define KernelPackage/usb-serial-cypress-m8/description
481 Kernel support for devices with Cypress M8 USB to Serial chip
482 (for example, the Delorme Earthmate LT-20 GPS)
483 Supported microcontrollers in the CY4601 family are:
484       CY7C63741 CY7C63742 CY7C63743 CY7C64013
485endef
486
487$(eval $(call KernelPackage,usb-serial-cypress-m8))
488
489
490define KernelPackage/usb-serial-keyspan
491$(call KernelPackage/usb-serial/Depends,)
492  TITLE:=Support for Keyspan USB-to-Serial devices
493  KCONFIG:= \
494    CONFIG_USB_SERIAL_KEYSPAN \
495    CONFIG_USB_SERIAL_KEYSPAN_USA28 \
496    CONFIG_USB_SERIAL_KEYSPAN_USA28X \
497    CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
498    CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
499    CONFIG_USB_SERIAL_KEYSPAN_USA19 \
500    CONFIG_USB_SERIAL_KEYSPAN_USA18X \
501    CONFIG_USB_SERIAL_KEYSPAN_USA19W \
502    CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
503    CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
504    CONFIG_USB_SERIAL_KEYSPAN_MPR \
505    CONFIG_USB_SERIAL_KEYSPAN_USA49W \
506    CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
507  FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
508  AUTOLOAD:=$(call AutoLoad,65,keyspan)
509endef
510
511define KernelPackage/usb-serial-keyspan/description
512 Kernel support for Keyspan USB-to-Serial devices
513endef
514
515$(eval $(call KernelPackage,usb-serial-keyspan))
516
517
518define KernelPackage/usb-serial-option
519$(call KernelPackage/usb-serial/Depends,@LINUX_2_6)
520  TITLE:=Support for Option HSDPA modems
521  KCONFIG:=CONFIG_USB_SERIAL_OPTION
522  FILES:=$(LINUX_DIR)/drivers/usb/serial/option.$(LINUX_KMOD_SUFFIX)
523  AUTOLOAD:=$(call AutoLoad,65,option)
524endef
525
526define KernelPackage/usb-serial-option/description
527 Kernel support for Option HSDPA modems
528endef
529
530$(eval $(call KernelPackage,usb-serial-option))
531
532
533define KernelPackage/usb-storage
534$(call KernelPackage/usb/Depends,+!TARGET_x86:kmod-scsi-core)
535  TITLE:=USB Storage support
536  KCONFIG:=CONFIG_USB_STORAGE
537  FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
538  AUTOLOAD:=$(call AutoLoad,60,usb-storage,1)
539endef
540
541define KernelPackage/usb-storage/description
542 Kernel support for USB Mass Storage devices
543endef
544
545$(eval $(call KernelPackage,usb-storage))
546
547define KernelPackage/usb-storage-extras
548  SUBMENU:=$(USB_MENU)
549  TITLE:=Extra drivers for usb-storage
550  DEPENDS:=@LINUX_2_6 +kmod-usb-storage
551  KCONFIG:= \
552    CONFIG_USB_STORAGE_ALAUDA \
553    CONFIG_USB_STORAGE_CYPRESS_ATACB \
554    CONFIG_USB_STORAGE_DATAFAB \
555    CONFIG_USB_STORAGE_FREECOM \
556    CONFIG_USB_STORAGE_ISD200 \
557    CONFIG_USB_STORAGE_JUMPSHOT \
558    CONFIG_USB_STORAGE_KARMA \
559    CONFIG_USB_STORAGE_SDDR09 \
560    CONFIG_USB_STORAGE_SDDR55 \
561    CONFIG_USB_STORAGE_USBAT
562  FILES:= \
563    $(LINUX_DIR)/drivers/usb/storage/ums-alauda.$(LINUX_KMOD_SUFFIX) \
564    $(LINUX_DIR)/drivers/usb/storage/ums-cypress.$(LINUX_KMOD_SUFFIX) \
565    $(LINUX_DIR)/drivers/usb/storage/ums-datafab.$(LINUX_KMOD_SUFFIX) \
566    $(LINUX_DIR)/drivers/usb/storage/ums-freecom.$(LINUX_KMOD_SUFFIX) \
567    $(LINUX_DIR)/drivers/usb/storage/ums-isd200.$(LINUX_KMOD_SUFFIX) \
568    $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.$(LINUX_KMOD_SUFFIX) \
569    $(LINUX_DIR)/drivers/usb/storage/ums-karma.$(LINUX_KMOD_SUFFIX) \
570    $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.$(LINUX_KMOD_SUFFIX) \
571    $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.$(LINUX_KMOD_SUFFIX) \
572    $(LINUX_DIR)/drivers/usb/storage/ums-usbat.$(LINUX_KMOD_SUFFIX)
573  AUTOLOAD:=$(call AutoLoad,60,ums-alauda ums-cypress ums-datafab \
574                ums-freecom ums-isd200 ums-jumpshot \
575                ums-karma ums-sddr09 ums-sddr55 ums-usbat)
576endef
577
578define KernelPackage/usb-storage-extras/description
579  Say Y here if you want to have some more drivers,
580  such as for SmartMedia card readers.
581endef
582
583$(eval $(call KernelPackage,usb-storage-extras))
584
585
586define KernelPackage/usb-video
587$(call KernelPackage/usb/Depends,@LINUX_2_6)
588  TITLE:=Support for USB video devices
589  KCONFIG:=CONFIG_VIDEO_USBVIDEO
590  FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.$(LINUX_KMOD_SUFFIX)
591  AUTOLOAD:=$(call AutoLoad,61,usbvideo)
592endef
593
594define KernelPackage/usb-video/description
595 Kernel support for USB video devices
596endef
597
598$(eval $(call KernelPackage,usb-video))
599
600
601define KernelPackage/usb-atm
602$(call KernelPackage/usb/Depends,@LINUX_2_6 +kmod-atm)
603  TITLE:=Support for ATM on USB bus
604  KCONFIG:=CONFIG_USB_ATM
605  FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.$(LINUX_KMOD_SUFFIX)
606  AUTOLOAD:=$(call AutoLoad,60,usbatm)
607endef
608
609define KernelPackage/usb-atm/description
610 Kernel support for USB DSL modems
611endef
612
613$(eval $(call KernelPackage,usb-atm))
614
615
616define KernelPackage/usb-atm/Depends
617  SUBMENU:=$(USB_MENU)
618  DEPENDS:=kmod-usb-atm $(1)
619endef
620
621
622define KernelPackage/usb-atm-speedtouch
623$(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
624  TITLE:=SpeedTouch USB ADSL modems support
625  KCONFIG:=CONFIG_USB_SPEEDTOUCH
626  FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
627  AUTOLOAD:=$(call AutoLoad,70,speedtch)
628endef
629
630define KernelPackage/usb-atm-speedtouch/description
631 Kernel support for SpeedTouch USB ADSL modems
632endef
633
634$(eval $(call KernelPackage,usb-atm-speedtouch))
635
636
637define KernelPackage/usb-atm-ueagle
638$(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
639  TITLE:=Eagle 8051 based USB ADSL modems support
640  FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
641  KCONFIG:=CONFIG_USB_UEAGLEATM
642  AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
643endef
644
645define KernelPackage/usb-atm-ueagle/description
646 Kernel support for Eagle 8051 based USB ADSL modems
647endef
648
649$(eval $(call KernelPackage,usb-atm-ueagle))
650
651
652define KernelPackage/usb-atm-cxacru
653$(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
654  TITLE:=cxacru
655  FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.$(LINUX_KMOD_SUFFIX)
656  KCONFIG:=CONFIG_USB_CXACRU
657  AUTOLOAD:=$(call AutoLoad,70,cxacru)
658endef
659
660define KernelPackage/usb-atm-cxacru/description
661 Kernel support for cxacru based USB ADSL modems
662endef
663
664$(eval $(call KernelPackage,usb-atm-cxacru))
665
666
667define KernelPackage/usb-net
668$(call KernelPackage/usb/Depends,)
669  TITLE:=Kernel modules for USB-to-Ethernet convertors
670  KCONFIG:=CONFIG_USB_USBNET
671  AUTOLOAD:=$(call AutoLoad,60,usbnet)
672endef
673
674define KernelPackage/usb-net/2.4
675  FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
676endef
677
678define KernelPackage/usb-net/2.6
679  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
680endef
681
682define KernelPackage/usb-net/description
683 Kernel modules for USB-to-Ethernet convertors
684endef
685
686$(eval $(call KernelPackage,usb-net))
687
688
689define KernelPackage/usb-net/Depends
690  SUBMENU:=$(USB_MENU)
691  DEPENDS:=kmod-usb-net $(1)
692endef
693
694
695define KernelPackage/usb-net-asix
696$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
697  TITLE:=Kernel module for USB-to-Ethernet Asix convertors
698  KCONFIG:=CONFIG_USB_NET_AX8817X
699  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
700  AUTOLOAD:=$(call AutoLoad,61,asix)
701endef
702
703define KernelPackage/usb-net-asix/description
704 Kernel module for USB-to-Ethernet Asix convertors
705endef
706
707$(eval $(call KernelPackage,usb-net-asix))
708
709
710define KernelPackage/usb-net-hso
711$(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)
712  TITLE:=Kernel module for Option USB High Speed Mobile Devices
713  KCONFIG:=CONFIG_USB_HSO
714  FILES:= \
715    $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
716  AUTOLOAD:=$(call AutoLoad,61,hso)
717endef
718
719define KernelPackage/usb-net-hso/description
720 Kernel module for Option USB High Speed Mobile Devices
721endef
722
723$(eval $(call KernelPackage,usb-net-hso))
724
725
726define KernelPackage/usb-net-kaweth
727$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
728  TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
729  KCONFIG:=CONFIG_USB_KAWETH
730  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
731  AUTOLOAD:=$(call AutoLoad,61,kaweth)
732endef
733
734define KernelPackage/usb-net-kaweth/description
735 Kernel module for USB-to-Ethernet Kaweth convertors
736endef
737
738$(eval $(call KernelPackage,usb-net-kaweth))
739
740
741define KernelPackage/usb-net-pegasus
742$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
743  TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
744  KCONFIG:=CONFIG_USB_PEGASUS
745  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
746  AUTOLOAD:=$(call AutoLoad,61,pegasus)
747endef
748
749define KernelPackage/usb-net-pegasus/description
750 Kernel module for USB-to-Ethernet Pegasus convertors
751endef
752
753$(eval $(call KernelPackage,usb-net-pegasus))
754
755
756define KernelPackage/usb-net-mcs7830
757$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
758  TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
759  KCONFIG:=CONFIG_USB_NET_MCS7830
760  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
761  AUTOLOAD:=$(call AutoLoad,61,mcs7830)
762endef
763
764define KernelPackage/usb-net-mcs7830/description
765 Kernel module for USB-to-Ethernet MCS7830 convertors
766endef
767
768$(eval $(call KernelPackage,usb-net-mcs7830))
769
770
771define KernelPackage/usb-net-dm9601-ether
772$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
773  TITLE:=Support for DM9601 ethernet connections
774  KCONFIG:=CONFIG_USB_NET_DM9601
775  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
776  AUTOLOAD:=$(call AutoLoad,61,dm9601)
777endef
778
779define KernelPackage/usb-net-dm9601-ether/description
780  Kernel support for USB DM9601 devices
781endef
782
783$(eval $(call KernelPackage,usb-net-dm9601-ether))
784
785define KernelPackage/usb-net-cdc-ether
786$(call KernelPackage/usb-net/Depends,@LINUX_2_6)
787  TITLE:=Support for cdc ethernet connections
788  KCONFIG:=CONFIG_USB_NET_CDCETHER
789  FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
790  AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
791endef
792
793define KernelPackage/usb-net-cdc-ether/description
794 Kernel support for USB CDC Ethernet devices
795endef
796
797$(eval $(call KernelPackage,usb-net-cdc-ether))
798
799
800define KernelPackage/usb-net-rndis
801$(call KernelPackage/usb-net/Depends,@LINUX_2_6 +kmod-usb-net-cdc-ether)
802  TITLE:=Support for RNDIS connections
803  KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
804  FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
805  AUTOLOAD:=$(call AutoLoad,62,rndis_host)
806endef
807
808define KernelPackage/usb-net-rndis/description
809 Kernel support for RNDIS connections
810endef
811
812$(eval $(call KernelPackage,usb-net-rndis))
813
814
815define KernelPackage/usb-hid
816$(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev +!TARGET_x86:kmod-hid)
817  TITLE:=Support for USB Human Input Devices
818  KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
819  FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
820  AUTOLOAD:=$(call AutoLoad,70,usbhid)
821endef
822
823
824define KernelPackage/usb-hid/description
825 Kernel support for USB HID devices such as keyboards and mice
826endef
827
828$(eval $(call KernelPackage,usb-hid))
829
830
831define KernelPackage/usb-yealink
832$(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev)
833  TITLE:=USB Yealink VOIP phone
834  KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
835  FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
836  AUTOLOAD:=$(call AutoLoad,70,yealink)
837endef
838
839define KernelPackage/usb-yealink/description
840 Kernel support for Yealink VOIP phone
841endef
842
843$(eval $(call KernelPackage,usb-yealink))
844
845
846define KernelPackage/usb-cm109
847$(call KernelPackage/usb/Depends,@LINUX_2_6 +!TARGET_x86:kmod-input-core +kmod-input-evdev)
848  TITLE:=Support for CM109 device
849  KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
850  FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
851  AUTOLOAD:=$(call AutoLoad,70,cm109)
852endef
853
854define KernelPackage/usb-cm109/description
855 Kernel support for CM109 VOIP phone
856endef
857
858$(eval $(call KernelPackage,usb-cm109))
859
860
861define KernelPackage/usb-test
862$(call KernelPackage/usb/Depends,@LINUX_2_6 @DEVEL)
863  TITLE:=USB Testing Driver
864  KCONFIG:=CONFIG_USB_TEST
865  FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
866endef
867
868define KernelPackage/usb-test/description
869 Kernel support for testing USB Host Controller software.
870endef
871
872$(eval $(call KernelPackage,usb-test))
873
874
875define KernelPackage/usb-phidget
876$(call KernelPackage/usb/Depends,@LINUX_2_6)
877  TITLE:=USB Phidget Driver
878  KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
879  FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
880endef
881
882define KernelPackage/usb-phidget/description
883 Kernel support for USB Phidget devices.
884endef
885
886$(eval $(call KernelPackage,usb-phidget))
887
888

Archive Download this file



interactive