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

Last change on this file since 26900 was 26900, checked in by acinonyx, 6 years ago

package/kernel: Remove $(KMOD_SUFFIX) usage

Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@…>

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