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