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