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

Last change on this file since 21248 was 21248, checked in by nico, 6 years ago

package/kernel: move AddDepends calls at the end of package definitions, move back some dependencies in DEPENDS for clarity

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