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

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

add a few missing usb related symbols (relevant for mpc85xx)

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