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

Last change on this file since 21956 was 21956, checked in by nbd, 6 years ago

remove obsolete kernel dependencies and version checks

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