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