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

Last change on this file since 19918 was 19918, checked in by florian, 6 years ago

[package] fix kmod-nls-base dependency with usb-core (#6753)

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