kernel: build the scsi core package even if CONFIG_SCSI=y
[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 ifneq ($(CONFIG_LINUX_2_4),)
11 USBNET_DIR:=usb/net
12 endif
13
14 USBNET_DIR?=net/usb
15 USBHID_DIR?=hid/usbhid
16 USBINPUT_DIR?=input/misc
17
18 define KernelPackage/usb-core
19 SUBMENU:=$(USB_MENU)
20 TITLE:=Support for USB
21 DEPENDS:=@USB_SUPPORT +LINUX_2_6_31||LINUX_2_6_32:kmod-nls-base
22 KCONFIG:=CONFIG_USB
23 AUTOLOAD:=$(call AutoLoad,20,usbcore)
24 endef
25
26 define KernelPackage/usb-core/2.4
27 FILES:=$(LINUX_DIR)/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX)
28 endef
29
30 define KernelPackage/usb-core/2.6
31 FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX)
32 endef
33
34 define KernelPackage/usb-core/description
35 Kernel support for USB
36 endef
37
38 $(eval $(call KernelPackage,usb-core))
39
40
41 define KernelPackage/usb/Depends
42 SUBMENU:=$(USB_MENU)
43 DEPENDS:=kmod-usb-core $(1)
44 endef
45
46
47 define KernelPackage/usb-uhci
48 $(call KernelPackage/usb/Depends,)
49 TITLE:=Support for UHCI controllers
50 KCONFIG:= \
51 CONFIG_USB_UHCI_ALT \
52 CONFIG_USB_UHCI_HCD
53 endef
54
55 define KernelPackage/usb-uhci/2.4
56 # KCONFIG:=CONFIG_USB_UHCI_ALT
57 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci.o
58 AUTOLOAD:=$(call AutoLoad,50,uhci)
59 endef
60
61 define KernelPackage/usb-uhci/2.6
62 # KCONFIG:=CONFIG_USB_UHCI_HCD
63 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
64 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd)
65 endef
66
67 define KernelPackage/usb-uhci/description
68 Kernel support for USB UHCI controllers
69 endef
70
71 $(eval $(call KernelPackage,usb-uhci))
72
73
74 define KernelPackage/usb-uhci-iv
75 $(call KernelPackage/usb/Depends,@LINUX_2_4)
76 TITLE:=Support for Intel/VIA UHCI controllers
77 KCONFIG:=CONFIG_USB_UHCI
78 FILES:=$(LINUX_DIR)/drivers/usb/host/usb-uhci.$(LINUX_KMOD_SUFFIX)
79 AUTOLOAD:=$(call AutoLoad,50,usb-uhci)
80 endef
81
82 define KernelPackage/usb-uhci-iv/description
83 Kernel support for Intel/VIA USB UHCI controllers
84 endef
85
86 $(eval $(call KernelPackage,usb-uhci-iv))
87
88
89 define KernelPackage/usb-ohci
90 $(call KernelPackage/usb/Depends,)
91 TITLE:=Support for OHCI controllers
92 KCONFIG:= \
93 CONFIG_USB_OHCI \
94 CONFIG_USB_OHCI_HCD \
95 CONFIG_USB_OHCI_AR71XX=y
96 endef
97
98 define KernelPackage/usb-ohci/2.4
99 # KCONFIG:=CONFIG_USB_OHCI
100 FILES:=$(LINUX_DIR)/drivers/usb/host/usb-ohci.o
101 AUTOLOAD:=$(call AutoLoad,50,usb-ohci)
102 endef
103
104 define KernelPackage/usb-ohci/2.6
105 # KCONFIG:=CONFIG_USB_OHCI_HCD
106 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
107 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd)
108 endef
109
110 define KernelPackage/usb-ohci/description
111 Kernel support for USB OHCI controllers
112 endef
113
114 $(eval $(call KernelPackage,usb-ohci))
115
116
117 define KernelPackage/usb-adm5120
118 $(call KernelPackage/usb/Depends,@TARGET_adm5120_router_be||@TARGET_adm5120_router_le)
119 TITLE:=Support for the ADM5120 HCD controller
120 KCONFIG:=CONFIG_USB_ADM5120_HCD
121 FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.$(LINUX_KMOD_SUFFIX)
122 AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd)
123 endef
124
125 define KernelPackage/usb-adm5120/description
126 Kernel support for the ADM5120 HCD USB controller
127 endef
128
129 $(eval $(call KernelPackage,usb-adm5120))
130
131 define KernelPackage/usb-etrax
132 $(call KernelPackage/usb/Depends,@TARGET_etrax)
133 TITLE:=Support for the ETRAX USB host controller
134 KCONFIG:=CONFIG_ETRAX_USB_HOST \
135 CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y
136 FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX)
137 AUTOLOAD:=$(call AutoLoad,50,hc-crisv10)
138 endef
139
140 define KernelPackage/usb-etrax/description
141 Kernel support for the ETRAX USB host controller
142 endef
143
144 $(eval $(call KernelPackage,usb-etrax))
145
146 define KernelPackage/usb-octeon
147 $(call KernelPackage/usb/Depends,@TARGET_octeon)
148 TITLE:=Support for the Octeon USB OTG controller
149 KCONFIG:=CONFIG_USB_DWC_OTG
150 FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.$(LINUX_KMOD_SUFFIX)
151 AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
152 endef
153
154 define KernelPackage/usb-octeon/description
155 Kernel support for the Octeon USB host controller
156 endef
157
158 $(eval $(call KernelPackage,usb-octeon))
159
160
161 define KernelPackage/usb2
162 $(call KernelPackage/usb/Depends,)
163 TITLE:=Support for USB2 controllers
164 KCONFIG:=CONFIG_USB_EHCI_HCD \
165 CONFIG_USB_EHCI_AR71XX=y
166 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.$(LINUX_KMOD_SUFFIX)
167 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd)
168 endef
169
170 define KernelPackage/usb2/description
171 Kernel support for USB2 (EHCI) controllers
172 endef
173
174 $(eval $(call KernelPackage,usb2))
175
176
177 define KernelPackage/usb-acm
178 $(call KernelPackage/usb/Depends,)
179 TITLE:=Support for modems/isdn controllers
180 KCONFIG:=CONFIG_USB_ACM
181 endef
182
183 define KernelPackage/usb-acm/2.4
184 FILES:=$(LINUX_DIR)/drivers/usb/acm.o
185 AUTOLOAD:=$(call AutoLoad,60,acm)
186 endef
187
188 define KernelPackage/usb-acm/2.6
189 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
190 AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
191 endef
192
193 define KernelPackage/usb-acm/description
194 Kernel support for USB ACM devices (modems/isdn controllers)
195 endef
196
197 $(eval $(call KernelPackage,usb-acm))
198
199
200 define KernelPackage/usb-audio
201 $(call KernelPackage/usb/Depends,+kmod-sound-core)
202 TITLE:=Support for USB audio devices
203 KCONFIG:= \
204 CONFIG_USB_AUDIO \
205 CONFIG_SND_USB_AUDIO
206 endef
207
208 define KernelPackage/usb-audio/2.4
209 # KCONFIG:=CONFIG_USB_AUDIO
210 FILES:=$(LINUX_DIR)/drivers/usb/audio.o
211 AUTOLOAD:=$(call AutoLoad,60,audio)
212 endef
213
214 define KernelPackage/usb-audio/2.6
215 # KCONFIG:=CONFIG_SND_USB_AUDIO
216 FILES:= \
217 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
218 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
219 AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
220 endef
221
222 define KernelPackage/usb-audio/description
223 Kernel support for USB audio devices
224 endef
225
226 $(eval $(call KernelPackage,usb-audio))
227
228
229 define KernelPackage/usb-printer
230 $(call KernelPackage/usb/Depends,)
231 TITLE:=Support for printers
232 KCONFIG:=CONFIG_USB_PRINTER
233 endef
234
235 define KernelPackage/usb-printer/2.4
236 FILES:=$(LINUX_DIR)/drivers/usb/printer.o
237 AUTOLOAD:=$(call AutoLoad,60,printer)
238 endef
239
240 define KernelPackage/usb-printer/2.6
241 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
242 AUTOLOAD:=$(call AutoLoad,60,usblp)
243 endef
244
245 define KernelPackage/usb-printer/description
246 Kernel support for USB printers
247 endef
248
249 $(eval $(call KernelPackage,usb-printer))
250
251
252 define KernelPackage/usb-serial
253 $(call KernelPackage/usb/Depends,)
254 TITLE:=Support for USB-to-Serial converters
255 KCONFIG:=CONFIG_USB_SERIAL
256 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.$(LINUX_KMOD_SUFFIX)
257 AUTOLOAD:=$(call AutoLoad,60,usbserial)
258 endef
259
260 define KernelPackage/usb-serial/description
261 Kernel support for USB-to-Serial converters
262 endef
263
264 $(eval $(call KernelPackage,usb-serial))
265
266
267 define KernelPackage/usb-serial/Depends
268 SUBMENU:=$(USB_MENU)
269 DEPENDS:=kmod-usb-serial $(1)
270 endef
271
272
273 define KernelPackage/usb-serial-airprime
274 $(call KernelPackage/usb-serial/Depends,@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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,@LINUX_2_6)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,@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 KernelPackage/usb-serial/Depends,@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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,)
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 KernelPackage/usb-serial/Depends,@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 KernelPackage/usb/Depends,+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 KernelPackage/usb/Depends,@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 KernelPackage/usb/Depends,@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/Depends
543 SUBMENU:=$(USB_MENU)
544 DEPENDS:=kmod-usb-atm $(1)
545 endef
546
547
548 define KernelPackage/usb-atm-speedtouch
549 $(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
550 TITLE:=SpeedTouch USB ADSL modems support
551 KCONFIG:=CONFIG_USB_SPEEDTOUCH
552 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.$(LINUX_KMOD_SUFFIX)
553 AUTOLOAD:=$(call AutoLoad,70,speedtch)
554 endef
555
556 define KernelPackage/usb-atm-speedtouch/description
557 Kernel support for SpeedTouch USB ADSL modems
558 endef
559
560 $(eval $(call KernelPackage,usb-atm-speedtouch))
561
562
563 define KernelPackage/usb-atm-ueagle
564 $(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
565 TITLE:=Eagle 8051 based USB ADSL modems support
566 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.$(LINUX_KMOD_SUFFIX)
567 KCONFIG:=CONFIG_USB_UEAGLEATM
568 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
569 endef
570
571 define KernelPackage/usb-atm-ueagle/description
572 Kernel support for Eagle 8051 based USB ADSL modems
573 endef
574
575 $(eval $(call KernelPackage,usb-atm-ueagle))
576
577
578 define KernelPackage/usb-atm-cxacru
579 $(call KernelPackage/usb-atm/Depends,@LINUX_2_6)
580 TITLE:=cxacru
581 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.$(LINUX_KMOD_SUFFIX)
582 KCONFIG:=CONFIG_USB_CXACRU
583 AUTOLOAD:=$(call AutoLoad,70,cxacru)
584 endef
585
586 define KernelPackage/usb-atm-cxacru/description
587 Kernel support for cxacru based USB ADSL modems
588 endef
589
590 $(eval $(call KernelPackage,usb-atm-cxacru))
591
592
593 define KernelPackage/usb-net
594 $(call KernelPackage/usb/Depends,)
595 TITLE:=Kernel modules for USB-to-Ethernet convertors
596 KCONFIG:=CONFIG_USB_USBNET
597 AUTOLOAD:=$(call AutoLoad,60,usbnet)
598 endef
599
600 define KernelPackage/usb-net/2.4
601 FILES:=$(LINUX_DIR)/drivers/usb/usbnet.$(LINUX_KMOD_SUFFIX)
602 endef
603
604 define KernelPackage/usb-net/2.6
605 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.$(LINUX_KMOD_SUFFIX)
606 endef
607
608 define KernelPackage/usb-net/description
609 Kernel modules for USB-to-Ethernet convertors
610 endef
611
612 $(eval $(call KernelPackage,usb-net))
613
614
615 define KernelPackage/usb-net/Depends
616 SUBMENU:=$(USB_MENU)
617 DEPENDS:=kmod-usb-net $(1)
618 endef
619
620
621 define KernelPackage/usb-net-asix
622 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
623 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
624 KCONFIG:=CONFIG_USB_NET_AX8817X
625 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.$(LINUX_KMOD_SUFFIX)
626 AUTOLOAD:=$(call AutoLoad,61,asix)
627 endef
628
629 define KernelPackage/usb-net-asix/description
630 Kernel module for USB-to-Ethernet Asix convertors
631 endef
632
633 $(eval $(call KernelPackage,usb-net-asix))
634
635
636 define KernelPackage/usb-net-hso
637 $(call KernelPackage/usb-net/Depends,@LINUX_2_6 +!TARGET_rb532||!TARGET_avr32||!TARGET_brcm47xx||!TARGET_s3c24xx||!TARGET_ifxmips||!TARGET_atheros||!TARGET_adm5120||!TARGET_ar7||!TARGET_ppc40x||!TARGET_ixp4xx||!TARGET_rdc:kmod-rfkill)
638 TITLE:=Kernel module for Option USB High Speed Mobile Devices
639 KCONFIG:=CONFIG_USB_HSO
640 FILES:= \
641 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
642 AUTOLOAD:=$(call AutoLoad,61,hso)
643 endef
644
645 define KernelPackage/usb-net-hso/description
646 Kernel module for Option USB High Speed Mobile Devices
647 endef
648
649 $(eval $(call KernelPackage,usb-net-hso))
650
651
652 define KernelPackage/usb-net-kaweth
653 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
654 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
655 KCONFIG:=CONFIG_USB_KAWETH
656 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.$(LINUX_KMOD_SUFFIX)
657 AUTOLOAD:=$(call AutoLoad,61,kaweth)
658 endef
659
660 define KernelPackage/usb-net-kaweth/description
661 Kernel module for USB-to-Ethernet Kaweth convertors
662 endef
663
664 $(eval $(call KernelPackage,usb-net-kaweth))
665
666
667 define KernelPackage/usb-net-pegasus
668 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
669 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
670 KCONFIG:=CONFIG_USB_PEGASUS
671 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.$(LINUX_KMOD_SUFFIX)
672 AUTOLOAD:=$(call AutoLoad,61,pegasus)
673 endef
674
675 define KernelPackage/usb-net-pegasus/description
676 Kernel module for USB-to-Ethernet Pegasus convertors
677 endef
678
679 $(eval $(call KernelPackage,usb-net-pegasus))
680
681
682 define KernelPackage/usb-net-mcs7830
683 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
684 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
685 KCONFIG:=CONFIG_USB_NET_MCS7830
686 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.$(LINUX_KMOD_SUFFIX)
687 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
688 endef
689
690 define KernelPackage/usb-net-mcs7830/description
691 Kernel module for USB-to-Ethernet MCS7830 convertors
692 endef
693
694 $(eval $(call KernelPackage,usb-net-mcs7830))
695
696
697 define KernelPackage/usb-net-dm9601-ether
698 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
699 TITLE:=Support for DM9601 ethernet connections
700 KCONFIG:=CONFIG_USB_NET_DM9601
701 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.$(LINUX_KMOD_SUFFIX)
702 AUTOLOAD:=$(call AutoLoad,61,dm9601)
703 endef
704
705 define KernelPackage/usb-net-dm9601-ether/description
706 Kernel support for USB DM9601 devices
707 endef
708
709 $(eval $(call KernelPackage,usb-net-dm9601-ether))
710
711 define KernelPackage/usb-net-cdc-ether
712 $(call KernelPackage/usb-net/Depends,@LINUX_2_6)
713 TITLE:=Support for cdc ethernet connections
714 KCONFIG:=CONFIG_USB_NET_CDCETHER
715 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.$(LINUX_KMOD_SUFFIX)
716 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
717 endef
718
719 define KernelPackage/usb-net-cdc-ether/description
720 Kernel support for USB CDC Ethernet devices
721 endef
722
723 $(eval $(call KernelPackage,usb-net-cdc-ether))
724
725
726 define KernelPackage/usb-net-rndis
727 $(call KernelPackage/usb-net/Depends,@LINUX_2_6 +kmod-usb-net-cdc-ether)
728 TITLE:=Support for RNDIS connections
729 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
730 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX)
731 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
732 endef
733
734 define KernelPackage/usb-net-rndis/description
735 Kernel support for RNDIS connections
736 endef
737
738 $(eval $(call KernelPackage,usb-net-rndis))
739
740
741 define KernelPackage/usb-hid
742 $(call KernelPackage/usb/Depends,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
743 TITLE:=Support for USB Human Input Devices
744 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
745 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
746 AUTOLOAD:=$(call AutoLoad,70,usbhid)
747 endef
748
749
750 define KernelPackage/usb-hid/description
751 Kernel support for USB HID devices such as keyboards and mice
752 endef
753
754 $(eval $(call KernelPackage,usb-hid))
755
756
757 define KernelPackage/usb-yealink
758 $(call KernelPackage/usb/Depends,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
759 TITLE:=USB Yealink VOIP phone
760 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
761 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
762 AUTOLOAD:=$(call AutoLoad,70,yealink)
763 endef
764
765 define KernelPackage/usb-yealink/description
766 Kernel support for Yealink VOIP phone
767 endef
768
769 $(eval $(call KernelPackage,usb-yealink))
770
771
772 define KernelPackage/usb-cm109
773 $(call KernelPackage/usb/Depends,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
774 TITLE:=Support for CM109 device
775 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
776 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
777 AUTOLOAD:=$(call AutoLoad,70,cm109)
778 endef
779
780 define KernelPackage/usb-cm109/description
781 Kernel support for CM109 VOIP phone
782 endef
783
784 $(eval $(call KernelPackage,usb-cm109))
785
786
787 define KernelPackage/usb-test
788 $(call KernelPackage/usb/Depends,@LINUX_2_6 @DEVEL)
789 TITLE:=USB Testing Driver
790 KCONFIG:=CONFIG_USB_TEST
791 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
792 endef
793
794 define KernelPackage/usb-test/description
795 Kernel support for testing USB Host Controller software.
796 endef
797
798 $(eval $(call KernelPackage,usb-test))
799
800
801 define KernelPackage/usb-phidget
802 $(call KernelPackage/usb/Depends,@LINUX_2_6)
803 TITLE:=USB Phidget Driver
804 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
805 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
806 endef
807
808 define KernelPackage/usb-phidget/description
809 Kernel support for USB Phidget devices.
810 endef
811
812 $(eval $(call KernelPackage,usb-phidget))
813
This page took 0.075778 seconds and 5 git commands to generate.