fix pdc20xx compile for linux 2.6
[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-motorola-phone
395 $(call usbdep,kmod-usb-serial)
396 TITLE:=Support for Motorola usb phone
397 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
398 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.$(LINUX_KMOD_SUFFIX)
399 AUTOLOAD:=$(call AutoLoad,65,moto_modem)
400 endef
401
402 define KernelPackage/usb-serial-motorola-phone/description
403 Kernel support for Motorola usb phone
404 endef
405
406 $(eval $(call KernelPackage,usb-serial-motorola-phone))
407
408
409
410 define KernelPackage/usb-serial-visor
411 $(call usbdep,kmod-usb-serial)
412 TITLE:=Support for Handspring Visor devices
413 KCONFIG:=CONFIG_USB_SERIAL_VISOR
414 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.$(LINUX_KMOD_SUFFIX)
415 AUTOLOAD:=$(call AutoLoad,65,visor)
416 endef
417
418 define KernelPackage/usb-serial-visor/description
419 Kernel support for Handspring Visor PDAs
420 endef
421
422 $(eval $(call KernelPackage,usb-serial-visor))
423
424
425 define KernelPackage/usb-serial-keyspan
426 $(call usbdep,kmod-usb-serial)
427 TITLE:=Support for Keyspan USB-to-Serial devices
428 KCONFIG:= \
429 CONFIG_USB_SERIAL_KEYSPAN \
430 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
431 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
432 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
433 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
434 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
435 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
436 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
437 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
438 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
439 CONFIG_USB_SERIAL_KEYSPAN_MPR \
440 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
441 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
442 FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
443 AUTOLOAD:=$(call AutoLoad,65,keyspan)
444 endef
445
446 define KernelPackage/usb-serial-keyspan/description
447 Kernel support for Keyspan USB-to-Serial devices
448 endef
449
450 $(eval $(call KernelPackage,usb-serial-keyspan))
451
452
453 define KernelPackage/usb-serial-option
454 $(call usbdep,kmod-usb-serial @LINUX_2_6)
455 TITLE:=Support for Option HSDPA modems
456 KCONFIG:=CONFIG_USB_SERIAL_OPTION
457 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.$(LINUX_KMOD_SUFFIX)
458 AUTOLOAD:=$(call AutoLoad,65,option)
459 endef
460
461 define KernelPackage/usb-serial-option/description
462 Kernel support for Option HSDPA modems
463 endef
464
465 $(eval $(call KernelPackage,usb-serial-option))
466
467
468 define KernelPackage/usb-storage
469 $(call usbdep,+kmod-scsi-core)
470 TITLE:=USB Storage support
471 KCONFIG:=CONFIG_USB_STORAGE
472 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
473 AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
474 endef
475
476 define KernelPackage/usb-storage/description
477 Kernel support for USB Mass Storage devices
478 endef
479
480 $(eval $(call KernelPackage,usb-storage))
481
482
483 define KernelPackage/usb-video
484 $(call usbdep,@LINUX_2_6)
485 TITLE:=Support for USB video devices
486 KCONFIG:=CONFIG_VIDEO_USBVIDEO
487 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.$(LINUX_KMOD_SUFFIX)
488 AUTOLOAD:=$(call AutoLoad,60,usbvideo)
489 endef
490
491 define KernelPackage/usb-video/description
492 Kernel support for USB video devices
493 endef
494
495 $(eval $(call KernelPackage,usb-video))
496
497
498 define KernelPackage/usb-atm
499 $(call usbdep,@LINUX_2_6 +kmod-atm)
500 TITLE:=Support for ATM on USB bus
501 KCONFIG:=CONFIG_USB_ATM
502 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.$(LINUX_KMOD_SUFFIX)
503 AUTOLOAD:=$(call AutoLoad,60,usbatm)
504 endef
505
506 define KernelPackage/usb-atm/description
507 Kernel support for USB DSL modems
508 endef
509
510 $(eval $(call KernelPackage,usb-atm))
511
512
513 define KernelPackage/usb-atm-speedtouch
514 $(call usbdep,kmod-usb-atm @LINUX_2_6)
515 TITLE:=SpeedTouch USB ADSL modems support
516 KCONFIG:=CONFIG_USB_SPEEDTOUCH
517 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
518 AUTOLOAD:=$(call AutoLoad,70,speedtch)
519 endef
520
521 define KernelPackage/usb-atm-speedtouch/description
522 Kernel support for SpeedTouch USB ADSL modems
523 endef
524
525 $(eval $(call KernelPackage,usb-atm-speedtouch))
526
527
528 define KernelPackage/usb-atm-ueagle
529 $(call usbdep,kmod-usb-atm @LINUX_2_6)
530 TITLE:=Eagle 8051 based USB ADSL modems support
531 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
532 KCONFIG:=CONFIG_USB_UEAGLEATM
533 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
534 endef
535
536 define KernelPackage/usb-atm-ueagle/description
537 Kernel support for Eagle 8051 based USB ADSL modems
538 endef
539
540 $(eval $(call KernelPackage,usb-atm-ueagle))
541
542 define KernelPackage/usb-atm-cxacru
543 $(call usbdep,kmod-usb-atm @LINUX_2_6)
544 TITLE:=cxacru
545 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.$(LINUX_KMOD_SUFFIX)
546 KCONFIG:=CONFIG_USB_CXACRU
547 AUTOLOAD:=$(call AutoLoad,70,cxacru)
548 endef
549
550 define KernelPackage/usb-atm-cxacru/description
551 Kernel support for cxacru based USB ADSL modems
552 endef
553
554 $(eval $(call KernelPackage,usb-atm-cxacru))
555
556
557 define KernelPackage/usb-net
558 $(call usbdep,)
559 TITLE:=Kernel modules for USB-to-Ethernet convertors
560 KCONFIG:=CONFIG_USB_USBNET
561 AUTOLOAD:=$(call AutoLoad,60,usbnet)
562 endef
563
564 define KernelPackage/usb-net/2.4
565 FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
566 endef
567
568 define KernelPackage/usb-net/2.6
569 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
570 endef
571
572 define KernelPackage/usb-net/description
573 Kernel modules for USB-to-Ethernet convertors
574 endef
575
576 $(eval $(call KernelPackage,usb-net))
577
578
579 define KernelPackage/usb-net-asix
580 $(call usbdep,kmod-usb-net @LINUX_2_6)
581 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
582 KCONFIG:=CONFIG_USB_NET_AX8817X
583 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
584 AUTOLOAD:=$(call AutoLoad,61,asix)
585 endef
586
587 define KernelPackage/usb-net-asix/description
588 Kernel module for USB-to-Ethernet Asix convertors
589 endef
590
591 $(eval $(call KernelPackage,usb-net-asix))
592
593
594 define KernelPackage/usb-net-hso
595 $(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)
596 TITLE:=Kernel module for Option USB High Speed Mobile Devices
597 KCONFIG:=CONFIG_USB_HSO
598 FILES:= \
599 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
600 AUTOLOAD:=$(call AutoLoad,61,hso)
601 endef
602
603 define KernelPackage/usb-net-hso/description
604 Kernel module for Option USB High Speed Mobile Devices
605 endef
606
607 $(eval $(call KernelPackage,usb-net-hso))
608
609
610 define KernelPackage/usb-net-kaweth
611 $(call usbdep,kmod-usb-net @LINUX_2_6)
612 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
613 KCONFIG:=CONFIG_USB_KAWETH
614 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
615 AUTOLOAD:=$(call AutoLoad,61,kaweth)
616 endef
617
618 define KernelPackage/usb-net-kaweth/description
619 Kernel module for USB-to-Ethernet Kaweth convertors
620 endef
621
622 $(eval $(call KernelPackage,usb-net-kaweth))
623
624
625 define KernelPackage/usb-net-pegasus
626 $(call usbdep,kmod-usb-net @LINUX_2_6)
627 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
628 KCONFIG:=CONFIG_USB_PEGASUS
629 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
630 AUTOLOAD:=$(call AutoLoad,61,pegasus)
631 endef
632
633 define KernelPackage/usb-net-pegasus/description
634 Kernel module for USB-to-Ethernet Pegasus convertors
635 endef
636
637 $(eval $(call KernelPackage,usb-net-pegasus))
638
639
640 define KernelPackage/usb-net-mcs7830
641 $(call usbdep,kmod-usb-net @LINUX_2_6)
642 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
643 KCONFIG:=CONFIG_USB_NET_MCS7830
644 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
645 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
646 endef
647
648 define KernelPackage/usb-net-mcs7830/description
649 Kernel module for USB-to-Ethernet MCS7830 convertors
650 endef
651
652 $(eval $(call KernelPackage,usb-net-mcs7830))
653
654 define KernelPackage/usb-net-dm9601-ether
655 $(call usbdep,kmod-usb-net @LINUX_2_6)
656 TITLE:=Support for DM9601 ethernet connections
657 KCONFIG:=CONFIG_USB_NET_DM9601
658 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
659 AUTOLOAD:=$(call AutoLoad,61,dm9601)
660 endef
661
662 define KernelPackage/usb-net-dm9601-ether/description
663 Kernel support for USB DM9601 devices
664 endef
665
666 $(eval $(call KernelPackage,usb-net-dm9601-ether))
667
668 define KernelPackage/usb-net-cdc-ether
669 $(call usbdep,kmod-usb-net @LINUX_2_6)
670 TITLE:=Support for cdc ethernet connections
671 KCONFIG:=CONFIG_USB_NET_CDCETHER
672 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
673 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
674 endef
675
676 define KernelPackage/usb-net-cdc-ether/description
677 Kernel support for USB CDC Ethernet devices
678 endef
679
680 $(eval $(call KernelPackage,usb-net-cdc-ether))
681
682
683 define KernelPackage/usb-net-rndis
684 $(call usbdep,kmod-usb-net @LINUX_2_6)
685 TITLE:=Support for RNDIS connections
686 DEPENDS:=+kmod-usb-net-cdc-ether
687 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
688 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
689 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
690 endef
691
692 define KernelPackage/usb-net-rndis/description
693 Kernel support for RNDIS connections
694 endef
695
696 $(eval $(call KernelPackage,usb-net-rndis))
697
698
699 define KernelPackage/usb-hid
700 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
701 TITLE:=Support for USB Human Input Devices
702 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
703 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
704 AUTOLOAD:=$(call AutoLoad,70,usbhid)
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 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
717 TITLE:=USB Yealink VOIP phone
718 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
719 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
720 AUTOLOAD:=$(call AutoLoad,70,yealink)
721 endef
722
723 define KernelPackage/usb-yealink/description
724 Kernel support for Yealink VOIP phone
725 endef
726
727 $(eval $(call KernelPackage,usb-yealink))
728
729
730 define KernelPackage/usb-cm109
731 $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
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 endef
737
738 define KernelPackage/usb-cm109/description
739 Kernel support for CM109 VOIP phone
740 endef
741
742 $(eval $(call KernelPackage,usb-cm109))
743
744
745 define KernelPackage/usb-test
746 $(call usbdep,@LINUX_2_6 @DEVEL)
747 TITLE:=USB Testing Driver
748 KCONFIG:=CONFIG_USB_TEST
749 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
750 endef
751
752 define KernelPackage/usb-test/description
753 Kernel support for testing USB Host Controller software.
754 endef
755
756 $(eval $(call KernelPackage,usb-test))
757
758 define KernelPackage/usb-phidget
759 $(call usbdep,@LINUX_2_6)
760 TITLE:=USB Phidget Driver
761 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
762 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
763 endef
764
765 define KernelPackage/usb-phidget/description
766 Kernel support for USB Phidget devices.
767 endef
768
769 $(eval $(call KernelPackage,usb-phidget))
770
This page took 0.065604 seconds and 5 git commands to generate.