kmod-usb-core is buildin on etrax target
[openwrt/openwrt.git] / package / kernel / modules / usb.mk
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
8 USB_MENU:=USB Support
9
10 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define 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)
21 endef
22
23 define KernelPackage/usb-core/description
24 Kernel support for USB
25 endef
26
27 $(eval $(call KernelPackage,usb-core))
28
29
30 define AddDepends/usb
31 SUBMENU:=$(USB_MENU)
32 DEPENDS+=+!TARGET_etrax:kmod-usb-core $(1)
33 endef
34
35
36 define 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)
44 endef
45
46 define KernelPackage/usb-uhci/description
47 Kernel support for USB UHCI controllers
48 endef
49
50 $(eval $(call KernelPackage,usb-uhci,1))
51
52
53 define 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)
62 endef
63
64 define KernelPackage/usb-ohci/description
65 Kernel support for USB OHCI controllers
66 endef
67
68 $(eval $(call KernelPackage,usb-ohci,1))
69
70
71 define 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)
81 endef
82
83 define KernelPackage/usb-isp116x-hcd/description
84 Kernel support for the ISP116X USB Host Controller
85 endef
86
87 $(eval $(call KernelPackage,usb-isp116x-hcd))
88
89
90 define 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)
97 endef
98
99 define KernelPackage/usb2/description
100 Kernel support for USB2 (EHCI) controllers
101 endef
102
103 $(eval $(call KernelPackage,usb2))
104
105
106 define 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)
112 endef
113
114 define KernelPackage/usb-acm/description
115 Kernel support for USB ACM devices (modems/isdn controllers)
116 endef
117
118 $(eval $(call KernelPackage,usb-acm))
119
120
121 define 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)
132 endef
133
134 define KernelPackage/usb-audio/description
135 Kernel support for USB audio devices
136 endef
137
138 $(eval $(call KernelPackage,usb-audio))
139
140
141 define 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)
147 endef
148
149 define KernelPackage/usb-printer/description
150 Kernel support for USB printers
151 endef
152
153 $(eval $(call KernelPackage,usb-printer))
154
155
156 define 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)
162 endef
163
164 define KernelPackage/usb-serial/description
165 Kernel support for USB-to-Serial converters
166 endef
167
168 $(eval $(call KernelPackage,usb-serial))
169
170
171 define AddDepends/usb-serial
172 SUBMENU:=$(USB_MENU)
173 DEPENDS+=kmod-usb-serial $(1)
174 endef
175
176
177 define 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)
183 endef
184
185 define KernelPackage/usb-serial-airprime/description
186 Kernel support for Airprime (EVDO)
187 endef
188
189 $(eval $(call KernelPackage,usb-serial-airprime))
190
191
192 define 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)
198 endef
199
200 define KernelPackage/usb-serial-belkin/description
201 Kernel support for Belkin USB-to-Serial converters
202 endef
203
204 $(eval $(call KernelPackage,usb-serial-belkin))
205
206
207 define 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)
213 endef
214
215 define KernelPackage/usb-serial-belkin/description
216 Kernel support for Winchiphead CH341 USB-to-Serial converters
217 endef
218
219 $(eval $(call KernelPackage,usb-serial-ch341))
220
221
222 define 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)
228 endef
229
230 define KernelPackage/usb-serial-ftdi/description
231 Kernel support for FTDI USB-to-Serial converters
232 endef
233
234 $(eval $(call KernelPackage,usb-serial-ftdi))
235
236
237 define 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)
243 endef
244
245 define KernelPackage/usb-serial-mct/description
246 Kernel support for Magic Control Technology USB-to-Serial converters
247 endef
248
249 $(eval $(call KernelPackage,usb-serial-mct))
250
251
252 define 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)
258 endef
259
260 define KernelPackage/usb-serial-pl2303/description
261 Kernel support for Prolific PL2303 USB-to-Serial converters
262 endef
263
264 $(eval $(call KernelPackage,usb-serial-pl2303))
265
266
267 define 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)
273 endef
274
275 define KernelPackage/usb-serial-cp210x/description
276 Kernel support for Silicon Labs cp210x USB-to-Serial converters
277 endef
278
279 $(eval $(call KernelPackage,usb-serial-cp210x))
280
281
282 define 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)
288 endef
289
290 define KernelPackage/usb-serial-ark3116/description
291 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
292 endef
293
294 $(eval $(call KernelPackage,usb-serial-ark3116))
295
296
297 define 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)
303 endef
304
305 define KernelPackage/usb-serial-oti6858/description
306 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
307 endef
308
309 $(eval $(call KernelPackage,usb-serial-oti6858))
310
311
312 define 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)
318 endef
319
320 define KernelPackage/usb-serial-sierrawireless/description
321 Kernel support for Sierra Wireless devices
322 endef
323
324 $(eval $(call KernelPackage,usb-serial-sierrawireless))
325
326
327 define 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)
333 endef
334
335 define KernelPackage/usb-serial-motorola-phone/description
336 Kernel support for Motorola usb phone
337 endef
338
339 $(eval $(call KernelPackage,usb-serial-motorola-phone))
340
341
342 define 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)
348 endef
349
350 define KernelPackage/usb-serial-visor/description
351 Kernel support for Handspring Visor PDAs
352 endef
353
354 $(eval $(call KernelPackage,usb-serial-visor))
355
356
357 define 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)
363 endef
364
365 define 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
370 endef
371
372 $(eval $(call KernelPackage,usb-serial-cypress-m8))
373
374
375 define 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)
394 endef
395
396 define KernelPackage/usb-serial-keyspan/description
397 Kernel support for Keyspan USB-to-Serial devices
398 endef
399
400 $(eval $(call KernelPackage,usb-serial-keyspan))
401
402
403 define 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)
409 endef
410
411 define KernelPackage/usb-serial-option/description
412 Kernel support for Option HSDPA modems
413 endef
414
415 $(eval $(call KernelPackage,usb-serial-option))
416
417
418 define 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)
425 endef
426
427 define KernelPackage/usb-storage/description
428 Kernel support for USB Mass Storage devices
429 endef
430
431 $(eval $(call KernelPackage,usb-storage))
432
433
434 define 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)
463 endef
464
465 define KernelPackage/usb-storage-extras/description
466 Say Y here if you want to have some more drivers,
467 such as for SmartMedia card readers.
468 endef
469
470 $(eval $(call KernelPackage,usb-storage-extras))
471
472
473 define 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)
479 endef
480
481 define KernelPackage/usb-video/description
482 Kernel support for USB video devices
483 endef
484
485 $(eval $(call KernelPackage,usb-video))
486
487
488 define 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)
495 endef
496
497 define KernelPackage/usb-atm/description
498 Kernel support for USB DSL modems
499 endef
500
501 $(eval $(call KernelPackage,usb-atm))
502
503
504 define AddDepends/usb-atm
505 SUBMENU:=$(USB_MENU)
506 DEPENDS+=kmod-usb-atm $(1)
507 endef
508
509
510 define 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)
516 endef
517
518 define KernelPackage/usb-atm-speedtouch/description
519 Kernel support for SpeedTouch USB ADSL modems
520 endef
521
522 $(eval $(call KernelPackage,usb-atm-speedtouch))
523
524
525 define 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)
531 endef
532
533 define KernelPackage/usb-atm-ueagle/description
534 Kernel support for Eagle 8051 based USB ADSL modems
535 endef
536
537 $(eval $(call KernelPackage,usb-atm-ueagle))
538
539
540 define 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)
546 endef
547
548 define KernelPackage/usb-atm-cxacru/description
549 Kernel support for cxacru based USB ADSL modems
550 endef
551
552 $(eval $(call KernelPackage,usb-atm-cxacru))
553
554
555 define 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)
561 endef
562
563 define KernelPackage/usb-net/description
564 Kernel modules for USB-to-Ethernet convertors
565 endef
566
567 $(eval $(call KernelPackage,usb-net))
568
569
570 define AddDepends/usb-net
571 SUBMENU:=$(USB_MENU)
572 DEPENDS+=kmod-usb-net $(1)
573 endef
574
575
576 define 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)
582 endef
583
584 define KernelPackage/usb-net-asix/description
585 Kernel module for USB-to-Ethernet Asix convertors
586 endef
587
588 $(eval $(call KernelPackage,usb-net-asix))
589
590
591 define 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)
599 endef
600
601 define KernelPackage/usb-net-hso/description
602 Kernel module for Option USB High Speed Mobile Devices
603 endef
604
605 $(eval $(call KernelPackage,usb-net-hso))
606
607
608 define 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)
614 endef
615
616 define KernelPackage/usb-net-kaweth/description
617 Kernel module for USB-to-Ethernet Kaweth convertors
618 endef
619
620 $(eval $(call KernelPackage,usb-net-kaweth))
621
622
623 define 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)
629 endef
630
631 define KernelPackage/usb-net-pegasus/description
632 Kernel module for USB-to-Ethernet Pegasus convertors
633 endef
634
635 $(eval $(call KernelPackage,usb-net-pegasus))
636
637
638 define 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)
644 endef
645
646 define KernelPackage/usb-net-mcs7830/description
647 Kernel module for USB-to-Ethernet MCS7830 convertors
648 endef
649
650 $(eval $(call KernelPackage,usb-net-mcs7830))
651
652
653 define 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)
659 endef
660
661 define KernelPackage/usb-net-dm9601-ether/description
662 Kernel support for USB DM9601 devices
663 endef
664
665 $(eval $(call KernelPackage,usb-net-dm9601-ether))
666
667 define 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)
673 endef
674
675 define KernelPackage/usb-net-cdc-ether/description
676 Kernel support for USB CDC Ethernet devices
677 endef
678
679 $(eval $(call KernelPackage,usb-net-cdc-ether))
680
681
682 define 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)
688 endef
689
690 define KernelPackage/usb-net-rndis/description
691 Kernel support for RNDIS connections
692 endef
693
694 $(eval $(call KernelPackage,usb-net-rndis))
695
696
697 define 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)
705 endef
706
707
708 define KernelPackage/usb-hid/description
709 Kernel support for USB HID devices such as keyboards and mice
710 endef
711
712 $(eval $(call KernelPackage,usb-hid))
713
714
715 define 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)
722 endef
723
724 define KernelPackage/usb-yealink/description
725 Kernel support for Yealink VOIP phone
726 endef
727
728 $(eval $(call KernelPackage,usb-yealink))
729
730
731 define 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)
738 endef
739
740 define KernelPackage/usb-cm109/description
741 Kernel support for CM109 VOIP phone
742 endef
743
744 $(eval $(call KernelPackage,usb-cm109))
745
746
747 define 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)
753 endef
754
755 define KernelPackage/usb-test/description
756 Kernel support for testing USB Host Controller software.
757 endef
758
759 $(eval $(call KernelPackage,usb-test))
760
761
762 define 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)
767 endef
768
769 define KernelPackage/usb-phidget/description
770 Kernel support for USB Phidget devices.
771 endef
772
773 $(eval $(call KernelPackage,usb-phidget))
774