Export USB host driver as kernel package
[openwrt/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 define KernelPackage/usb-etrax
138 $(call usbdep,@TARGET_etrax)
139 DEPENDS=kmod-usb-core
140 TITLE:=Support for the ETRAX USB host controller
141 KCONFIG:=CONFIG_ETRAX_USB_HOST \
142 CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y
143 FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX)
144 AUTOLOAD:=$(call AutoLoad,50,hc-crisv10)
145 endef
146
147 define KernelPackage/usb-etrax/description
148 Kernel support for the ETRAX USB host controller
149 endef
150
151 $(eval $(call KernelPackage,usb-etrax))
152
153
154 define KernelPackage/usb2
155 $(call usbdep,)
156 TITLE:=Support for USB2 controllers
157 KCONFIG:=CONFIG_USB_EHCI_HCD \
158 CONFIG_USB_EHCI_AR71XX=y
159 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.$(LINUX_KMOD_SUFFIX)
160 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd)
161 endef
162
163 define KernelPackage/usb2/description
164 Kernel support for USB2 (EHCI) controllers
165 endef
166
167 $(eval $(call KernelPackage,usb2))
168
169
170 define KernelPackage/usb-acm
171 $(call usbdep,)
172 TITLE:=Support for modems/isdn controllers
173 KCONFIG:=CONFIG_USB_ACM
174 endef
175
176 define KernelPackage/usb-acm/2.4
177 FILES:=$(LINUX_DIR)/drivers/usb/acm.o
178 AUTOLOAD:=$(call AutoLoad,60,acm)
179 endef
180
181 define KernelPackage/usb-acm/2.6
182 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
183 AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
184 endef
185
186 define KernelPackage/usb-acm/description
187 Kernel support for USB ACM devices (modems/isdn controllers)
188 endef
189
190 $(eval $(call KernelPackage,usb-acm))
191
192
193 define KernelPackage/usb-audio
194 $(call usbdep,+kmod-sound-core)
195 TITLE:=Support for USB audio devices
196 KCONFIG:= \
197 CONFIG_USB_AUDIO \
198 CONFIG_SND_USB_AUDIO
199 endef
200
201 define KernelPackage/usb-audio/2.4
202 # KCONFIG:=CONFIG_USB_AUDIO
203 FILES:=$(LINUX_DIR)/drivers/usb/audio.o
204 AUTOLOAD:=$(call AutoLoad,60,audio)
205 endef
206
207 define KernelPackage/usb-audio/2.6
208 # KCONFIG:=CONFIG_SND_USB_AUDIO
209 FILES:= \
210 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
211 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
212 AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
213 endef
214
215 define KernelPackage/usb-audio/description
216 Kernel support for USB audio devices
217 endef
218
219 $(eval $(call KernelPackage,usb-audio))
220
221
222 define KernelPackage/usb-printer
223 $(call usbdep,)
224 TITLE:=Support for printers
225 KCONFIG:=CONFIG_USB_PRINTER
226 endef
227
228 define KernelPackage/usb-printer/2.4
229 FILES:=$(LINUX_DIR)/drivers/usb/printer.o
230 AUTOLOAD:=$(call AutoLoad,60,printer)
231 endef
232
233 define KernelPackage/usb-printer/2.6
234 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
235 AUTOLOAD:=$(call AutoLoad,60,usblp)
236 endef
237
238 define KernelPackage/usb-printer/description
239 Kernel support for USB printers
240 endef
241
242 $(eval $(call KernelPackage,usb-printer))
243
244
245 define KernelPackage/usb-serial
246 $(call usbdep,)
247 TITLE:=Support for USB-to-Serial converters
248 KCONFIG:=CONFIG_USB_SERIAL
249 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.$(LINUX_KMOD_SUFFIX)
250 AUTOLOAD:=$(call AutoLoad,60,usbserial)
251 endef
252
253 define KernelPackage/usb-serial/description
254 Kernel support for USB-to-Serial converters
255 endef
256
257 $(eval $(call KernelPackage,usb-serial))
258
259
260 define KernelPackage/usb-serial-airprime
261 $(call usbdep,kmod-usb-serial @LINUX_2_6)
262 TITLE:=Support for Airprime (EVDO)
263 KCONFIG:=CONFIG_USB_SERIAL_AIRPRIME
264 FILES:=$(LINUX_DIR)/drivers/usb/serial/airprime.$(LINUX_KMOD_SUFFIX)
265 AUTOLOAD:=$(call AutoLoad,65,airprime)
266 endef
267
268 define KernelPackage/usb-serial-airprime/description
269 Kernel support for Airprime (EVDO)
270 endef
271
272 $(eval $(call KernelPackage,usb-serial-airprime))
273
274
275 define KernelPackage/usb-serial-belkin
276 $(call usbdep,kmod-usb-serial)
277 TITLE:=Support for Belkin devices
278 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
279 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.$(LINUX_KMOD_SUFFIX)
280 AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
281 endef
282
283 define KernelPackage/usb-serial-belkin/description
284 Kernel support for Belkin USB-to-Serial converters
285 endef
286
287 $(eval $(call KernelPackage,usb-serial-belkin))
288
289
290 define KernelPackage/usb-serial-ch341
291 $(call usbdep,kmod-usb-serial @LINUX_2_6&&@!LINUX_2_6_23)
292 TITLE:=Support for CH341 devices
293 KCONFIG:=CONFIG_USB_SERIAL_CH341
294 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.$(LINUX_KMOD_SUFFIX)
295 AUTOLOAD:=$(call AutoLoad,65,ch341)
296 endef
297
298 define KernelPackage/usb-serial-belkin/description
299 Kernel support for Winchiphead CH341 USB-to-Serial converters
300 endef
301
302 $(eval $(call KernelPackage,usb-serial-ch341))
303
304
305 define KernelPackage/usb-serial-ftdi
306 $(call usbdep,kmod-usb-serial)
307 TITLE:=Support for FTDI devices
308 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
309 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.$(LINUX_KMOD_SUFFIX)
310 AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
311 endef
312
313 define KernelPackage/usb-serial-ftdi/description
314 Kernel support for FTDI USB-to-Serial converters
315 endef
316
317 $(eval $(call KernelPackage,usb-serial-ftdi))
318
319
320 define KernelPackage/usb-serial-mct
321 $(call usbdep,kmod-usb-serial)
322 TITLE:=Support for Magic Control Tech. devices
323 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
324 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.$(LINUX_KMOD_SUFFIX)
325 AUTOLOAD:=$(call AutoLoad,65,mct_u232)
326 endef
327
328 define KernelPackage/usb-serial-mct/description
329 Kernel support for Magic Control Technology USB-to-Serial converters
330 endef
331
332 $(eval $(call KernelPackage,usb-serial-mct))
333
334
335 define KernelPackage/usb-serial-pl2303
336 $(call usbdep,kmod-usb-serial)
337 TITLE:=Support for Prolific PL2303 devices
338 KCONFIG:=CONFIG_USB_SERIAL_PL2303
339 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.$(LINUX_KMOD_SUFFIX)
340 AUTOLOAD:=$(call AutoLoad,65,pl2303)
341 endef
342
343 define KernelPackage/usb-serial-pl2303/description
344 Kernel support for Prolific PL2303 USB-to-Serial converters
345 endef
346
347 $(eval $(call KernelPackage,usb-serial-pl2303))
348
349
350 define KernelPackage/usb-serial-cp2101
351 $(call usbdep,kmod-usb-serial)
352 TITLE:=Support for Silicon Labs cp2101 devices
353 KCONFIG:=CONFIG_USB_SERIAL_CP2101
354 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp2101.$(LINUX_KMOD_SUFFIX)
355 AUTOLOAD:=$(call AutoLoad,65,cp2101)
356 endef
357
358 define KernelPackage/usb-serial-cp2101/description
359 Kernel support for Silicon Labs cp2101 USB-to-Serial converters
360 endef
361
362 $(eval $(call KernelPackage,usb-serial-cp2101))
363
364
365 define KernelPackage/usb-serial-ark3116
366 $(call usbdep,kmod-usb-serial @LINUX_2_6)
367 TITLE:=Support for ArkMicroChips ARK3116 devices
368 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
369 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.$(LINUX_KMOD_SUFFIX)
370 AUTOLOAD:=$(call AutoLoad,65,ark3116)
371 endef
372
373 define KernelPackage/usb-serial-ark3116/description
374 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
375 endef
376
377 $(eval $(call KernelPackage,usb-serial-ark3116))
378
379
380 define KernelPackage/usb-serial-oti6858
381 $(call usbdep,kmod-usb-serial @LINUX_2_6)
382 TITLE:=Support for Ours Technology OTI6858 devices
383 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
384 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.$(LINUX_KMOD_SUFFIX)
385 AUTOLOAD:=$(call AutoLoad,65,oti6858)
386 endef
387
388 define KernelPackage/usb-serial-oti6858/description
389 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
390 endef
391
392 $(eval $(call KernelPackage,usb-serial-oti6858))
393
394
395 define KernelPackage/usb-serial-sierrawireless
396 $(call usbdep,kmod-usb-serial)
397 TITLE:=Support for Sierra Wireless devices
398 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
399 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.$(LINUX_KMOD_SUFFIX)
400 AUTOLOAD:=$(call AutoLoad,65,sierra)
401 endef
402
403 define KernelPackage/usb-serial-sierrawireless/description
404 Kernel support for Sierra Wireless devices
405 endef
406
407 $(eval $(call KernelPackage,usb-serial-sierrawireless))
408
409
410 define KernelPackage/usb-serial-motorola-phone
411 $(call usbdep,kmod-usb-serial)
412 TITLE:=Support for Motorola usb phone
413 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
414 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.$(LINUX_KMOD_SUFFIX)
415 AUTOLOAD:=$(call AutoLoad,65,moto_modem)
416 endef
417
418 define KernelPackage/usb-serial-motorola-phone/description
419 Kernel support for Motorola usb phone
420 endef
421
422 $(eval $(call KernelPackage,usb-serial-motorola-phone))
423
424
425
426 define KernelPackage/usb-serial-visor
427 $(call usbdep,kmod-usb-serial)
428 TITLE:=Support for Handspring Visor devices
429 KCONFIG:=CONFIG_USB_SERIAL_VISOR
430 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.$(LINUX_KMOD_SUFFIX)
431 AUTOLOAD:=$(call AutoLoad,65,visor)
432 endef
433
434 define KernelPackage/usb-serial-visor/description
435 Kernel support for Handspring Visor PDAs
436 endef
437
438 $(eval $(call KernelPackage,usb-serial-visor))
439
440
441 define KernelPackage/usb-serial-keyspan
442 $(call usbdep,kmod-usb-serial)
443 TITLE:=Support for Keyspan USB-to-Serial devices
444 KCONFIG:= \
445 CONFIG_USB_SERIAL_KEYSPAN \
446 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
447 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
448 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
449 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
450 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
451 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
452 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
453 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
454 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
455 CONFIG_USB_SERIAL_KEYSPAN_MPR \
456 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
457 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
458 FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
459 AUTOLOAD:=$(call AutoLoad,65,keyspan)
460 endef
461
462 define KernelPackage/usb-serial-keyspan/description
463 Kernel support for Keyspan USB-to-Serial devices
464 endef
465
466 $(eval $(call KernelPackage,usb-serial-keyspan))
467
468
469 define KernelPackage/usb-serial-option
470 $(call usbdep,kmod-usb-serial @LINUX_2_6)
471 TITLE:=Support for Option HSDPA modems
472 KCONFIG:=CONFIG_USB_SERIAL_OPTION
473 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.$(LINUX_KMOD_SUFFIX)
474 AUTOLOAD:=$(call AutoLoad,65,option)
475 endef
476
477 define KernelPackage/usb-serial-option/description
478 Kernel support for Option HSDPA modems
479 endef
480
481 $(eval $(call KernelPackage,usb-serial-option))
482
483
484 define KernelPackage/usb-storage
485 $(call usbdep,+kmod-scsi-core)
486 TITLE:=USB Storage support
487 KCONFIG:=CONFIG_USB_STORAGE
488 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
489 AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
490 endef
491
492 define KernelPackage/usb-storage/description
493 Kernel support for USB Mass Storage devices
494 endef
495
496 $(eval $(call KernelPackage,usb-storage))
497
498
499 define KernelPackage/usb-video
500 $(call usbdep,@LINUX_2_6)
501 TITLE:=Support for USB video devices
502 KCONFIG:=CONFIG_VIDEO_USBVIDEO
503 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.$(LINUX_KMOD_SUFFIX)
504 AUTOLOAD:=$(call AutoLoad,60,usbvideo)
505 endef
506
507 define KernelPackage/usb-video/description
508 Kernel support for USB video devices
509 endef
510
511 $(eval $(call KernelPackage,usb-video))
512
513
514 define KernelPackage/usb-atm
515 $(call usbdep,@LINUX_2_6 +kmod-atm)
516 TITLE:=Support for ATM on USB bus
517 KCONFIG:=CONFIG_USB_ATM
518 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.$(LINUX_KMOD_SUFFIX)
519 AUTOLOAD:=$(call AutoLoad,60,usbatm)
520 endef
521
522 define KernelPackage/usb-atm/description
523 Kernel support for USB DSL modems
524 endef
525
526 $(eval $(call KernelPackage,usb-atm))
527
528
529 define KernelPackage/usb-atm-speedtouch
530 $(call usbdep,kmod-usb-atm @LINUX_2_6)
531 TITLE:=SpeedTouch USB ADSL modems support
532 KCONFIG:=CONFIG_USB_SPEEDTOUCH
533 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
534 AUTOLOAD:=$(call AutoLoad,70,speedtch)
535 endef
536
537 define KernelPackage/usb-atm-speedtouch/description
538 Kernel support for SpeedTouch USB ADSL modems
539 endef
540
541 $(eval $(call KernelPackage,usb-atm-speedtouch))
542
543
544 define KernelPackage/usb-atm-ueagle
545 $(call usbdep,kmod-usb-atm @LINUX_2_6)
546 TITLE:=Eagle 8051 based USB ADSL modems support
547 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
548 KCONFIG:=CONFIG_USB_UEAGLEATM
549 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
550 endef
551
552 define KernelPackage/usb-atm-ueagle/description
553 Kernel support for Eagle 8051 based USB ADSL modems
554 endef
555
556 $(eval $(call KernelPackage,usb-atm-ueagle))
557
558 define KernelPackage/usb-atm-cxacru
559 $(call usbdep,kmod-usb-atm @LINUX_2_6)
560 TITLE:=cxacru
561 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.$(LINUX_KMOD_SUFFIX)
562 KCONFIG:=CONFIG_USB_CXACRU
563 AUTOLOAD:=$(call AutoLoad,70,cxacru)
564 endef
565
566 define KernelPackage/usb-atm-cxacru/description
567 Kernel support for cxacru based USB ADSL modems
568 endef
569
570 $(eval $(call KernelPackage,usb-atm-cxacru))
571
572
573 define KernelPackage/usb-net
574 $(call usbdep,)
575 TITLE:=Kernel modules for USB-to-Ethernet convertors
576 KCONFIG:=CONFIG_USB_USBNET
577 AUTOLOAD:=$(call AutoLoad,60,usbnet)
578 endef
579
580 define KernelPackage/usb-net/2.4
581 FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
582 endef
583
584 define KernelPackage/usb-net/2.6
585 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
586 endef
587
588 define KernelPackage/usb-net/description
589 Kernel modules for USB-to-Ethernet convertors
590 endef
591
592 $(eval $(call KernelPackage,usb-net))
593
594
595 define KernelPackage/usb-net-asix
596 $(call usbdep,kmod-usb-net @LINUX_2_6)
597 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
598 KCONFIG:=CONFIG_USB_NET_AX8817X
599 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
600 AUTOLOAD:=$(call AutoLoad,61,asix)
601 endef
602
603 define KernelPackage/usb-net-asix/description
604 Kernel module for USB-to-Ethernet Asix convertors
605 endef
606
607 $(eval $(call KernelPackage,usb-net-asix))
608
609
610 define KernelPackage/usb-net-hso
611 $(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)
612 TITLE:=Kernel module for Option USB High Speed Mobile Devices
613 KCONFIG:=CONFIG_USB_HSO
614 FILES:= \
615 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
616 AUTOLOAD:=$(call AutoLoad,61,hso)
617 endef
618
619 define KernelPackage/usb-net-hso/description
620 Kernel module for Option USB High Speed Mobile Devices
621 endef
622
623 $(eval $(call KernelPackage,usb-net-hso))
624
625
626 define KernelPackage/usb-net-kaweth
627 $(call usbdep,kmod-usb-net @LINUX_2_6)
628 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
629 KCONFIG:=CONFIG_USB_KAWETH
630 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
631 AUTOLOAD:=$(call AutoLoad,61,kaweth)
632 endef
633
634 define KernelPackage/usb-net-kaweth/description
635 Kernel module for USB-to-Ethernet Kaweth convertors
636 endef
637
638 $(eval $(call KernelPackage,usb-net-kaweth))
639
640
641 define KernelPackage/usb-net-pegasus
642 $(call usbdep,kmod-usb-net @LINUX_2_6)
643 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
644 KCONFIG:=CONFIG_USB_PEGASUS
645 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
646 AUTOLOAD:=$(call AutoLoad,61,pegasus)
647 endef
648
649 define KernelPackage/usb-net-pegasus/description
650 Kernel module for USB-to-Ethernet Pegasus convertors
651 endef
652
653 $(eval $(call KernelPackage,usb-net-pegasus))
654
655
656 define KernelPackage/usb-net-mcs7830
657 $(call usbdep,kmod-usb-net @LINUX_2_6)
658 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
659 KCONFIG:=CONFIG_USB_NET_MCS7830
660 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
661 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
662 endef
663
664 define KernelPackage/usb-net-mcs7830/description
665 Kernel module for USB-to-Ethernet MCS7830 convertors
666 endef
667
668 $(eval $(call KernelPackage,usb-net-mcs7830))
669
670 define KernelPackage/usb-net-dm9601-ether
671 $(call usbdep,kmod-usb-net @LINUX_2_6)
672 TITLE:=Support for DM9601 ethernet connections
673 KCONFIG:=CONFIG_USB_NET_DM9601
674 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
675 AUTOLOAD:=$(call AutoLoad,61,dm9601)
676 endef
677
678 define KernelPackage/usb-net-dm9601-ether/description
679 Kernel support for USB DM9601 devices
680 endef
681
682 $(eval $(call KernelPackage,usb-net-dm9601-ether))
683
684 define KernelPackage/usb-net-cdc-ether
685 $(call usbdep,kmod-usb-net @LINUX_2_6)
686 TITLE:=Support for cdc ethernet connections
687 KCONFIG:=CONFIG_USB_NET_CDCETHER
688 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
689 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
690 endef
691
692 define KernelPackage/usb-net-cdc-ether/description
693 Kernel support for USB CDC Ethernet devices
694 endef
695
696 $(eval $(call KernelPackage,usb-net-cdc-ether))
697
698
699 define KernelPackage/usb-net-rndis
700 $(call usbdep,kmod-usb-net @LINUX_2_6)
701 TITLE:=Support for RNDIS connections
702 DEPENDS:=+kmod-usb-net-cdc-ether
703 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
704 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
705 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
706 endef
707
708 define KernelPackage/usb-net-rndis/description
709 Kernel support for RNDIS connections
710 endef
711
712 $(eval $(call KernelPackage,usb-net-rndis))
713
714
715 define KernelPackage/usb-hid
716 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
717 TITLE:=Support for USB Human Input Devices
718 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
719 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
720 AUTOLOAD:=$(call AutoLoad,70,usbhid)
721 endef
722
723
724 define KernelPackage/usb-hid/description
725 Kernel support for USB HID devices such as keyboards and mice
726 endef
727
728 $(eval $(call KernelPackage,usb-hid))
729
730
731 define KernelPackage/usb-yealink
732 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
733 TITLE:=USB Yealink VOIP phone
734 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
735 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
736 AUTOLOAD:=$(call AutoLoad,70,yealink)
737 endef
738
739 define KernelPackage/usb-yealink/description
740 Kernel support for Yealink VOIP phone
741 endef
742
743 $(eval $(call KernelPackage,usb-yealink))
744
745
746 define KernelPackage/usb-cm109
747 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
748 TITLE:=Support for CM109 device
749 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
750 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
751 AUTOLOAD:=$(call AutoLoad,70,cm109)
752 endef
753
754 define KernelPackage/usb-cm109/description
755 Kernel support for CM109 VOIP phone
756 endef
757
758 $(eval $(call KernelPackage,usb-cm109))
759
760
761 define KernelPackage/usb-test
762 $(call usbdep,@LINUX_2_6 @DEVEL)
763 TITLE:=USB Testing Driver
764 KCONFIG:=CONFIG_USB_TEST
765 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
766 endef
767
768 define KernelPackage/usb-test/description
769 Kernel support for testing USB Host Controller software.
770 endef
771
772 $(eval $(call KernelPackage,usb-test))
773
774 define KernelPackage/usb-phidget
775 $(call usbdep,@LINUX_2_6)
776 TITLE:=USB Phidget Driver
777 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
778 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
779 endef
780
781 define KernelPackage/usb-phidget/description
782 Kernel support for USB Phidget devices.
783 endef
784
785 $(eval $(call KernelPackage,usb-phidget))
786