package/kernel: enable CONFIG_INPUT_KEYBOARD for gpio-keys
[openwrt.git] / package / kernel / modules / usb.mk
1 #
2 # Copyright (C) 2006-2010 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 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define KernelPackage/usb-core
15 SUBMENU:=$(USB_MENU)
16 TITLE:=Support for USB
17 DEPENDS:=@USB_SUPPORT +kmod-nls-base
18 KCONFIG:=CONFIG_USB
19 FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
20 AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
21 endef
22
23 define KernelPackage/usb-core/description
24 Kernel support for USB
25 endef
26
27 $(eval $(call KernelPackage,usb-core))
28
29
30 define AddDepends/usb
31 SUBMENU:=$(USB_MENU)
32 DEPENDS+=+!TARGET_etrax:kmod-usb-core $(1)
33 endef
34
35
36 define KernelPackage/usb-gadget
37 TITLE:=USB Gadget support
38 KCONFIG:=CONFIG_USB_GADGET
39 FILES:=
40 AUTOLOAD:=
41 DEPENDS:=@USB_GADGET_SUPPORT
42 $(call AddDepends/usb)
43 endef
44
45 define KernelPackage/usb-gadget/description
46 Kernel support for USB Gadget mode.
47 endef
48
49 $(eval $(call KernelPackage,usb-gadget))
50
51
52 define KernelPackage/usb-eth-gadget
53 TITLE:=USB Ethernet Gadget support
54 KCONFIG:= \
55 CONFIG_USB_ETH \
56 CONFIG_USB_ETH_RNDIS=y \
57 CONFIG_USB_ETH_EEM=y
58 DEPENDS:=+kmod-usb-gadget
59 FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
60 AUTOLOAD:=$(call AutoLoad,52,usb-eth-gadget)
61 $(call AddDepends/usb)
62 endef
63
64 define KernelPackage/usb-eth-gadget/description
65 Kernel support for USB Ethernet Gadget.
66 endef
67
68 $(eval $(call KernelPackage,usb-eth-gadget))
69
70
71 define KernelPackage/usb-uhci
72 TITLE:=Support for UHCI controllers
73 KCONFIG:= \
74 CONFIG_USB_UHCI_ALT \
75 CONFIG_USB_UHCI_HCD
76 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
77 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
78 $(call AddDepends/usb)
79 endef
80
81 define KernelPackage/usb-uhci/description
82 Kernel support for USB UHCI controllers
83 endef
84
85 $(eval $(call KernelPackage,usb-uhci,1))
86
87
88 define KernelPackage/usb-ohci
89 TITLE:=Support for OHCI controllers
90 KCONFIG:= \
91 CONFIG_USB_OHCI \
92 CONFIG_USB_OHCI_HCD \
93 CONFIG_USB_OHCI_AR71XX=y
94 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
95 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
96 $(call AddDepends/usb)
97 endef
98
99 define KernelPackage/usb-ohci/description
100 Kernel support for USB OHCI controllers
101 endef
102
103 $(eval $(call KernelPackage,usb-ohci,1))
104
105
106 define KernelPackage/musb-hdrc
107 TITLE:=Support for Mentor Graphics silicon dual role USB
108 KCONFIG:= \
109 CONFIG_USB_MUSB_HDRC \
110 CONFIG_NOP_USB_XCEIV \
111 CONFIG_USB_TUSB6010=y \
112 CONFIG_MUSB_PIO_ONLY=n \
113 CONFIG_USB_MUSB_OTG=y \
114 CONFIG_USB_MUSB_DEBUG=y
115 DEPENDS:=@TARGET_omap24xx
116 FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko $(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
117 AUTOLOAD:=$(call AutoLoad,54,nop-usb-xceiv musb_hdrc)
118 $(call AddDepends/usb)
119 endef
120
121 define KernelPackage/musb-hdrc/description
122 Kernel support for Mentor Graphics silicon dual role USB device.
123 endef
124
125 $(eval $(call KernelPackage,musb-hdrc))
126
127
128 define KernelPackage/usb-tahvo
129 TITLE:=Support for Tahvo (Nokia n810) USB
130 KCONFIG:= \
131 CONFIG_CBUS_TAHVO_USB \
132 CONFIG_CBUS_TAHVO_USB_HOST_BY_DEFAULT=n \
133 CONFIG_USB_OHCI_HCD_OMAP1=y \
134 CONFIG_USB_GADGET_DEBUG_FS=n
135 DEPENDS:=@TARGET_omap24xx +kmod-usb-ohci +kmod-musb-hdrc +kmod-usb-gadget
136 FILES:=$(LINUX_DIR)/drivers/cbus/tahvo-usb.ko
137 AUTOLOAD:=$(call AutoLoad,55,tahvo-usb)
138 $(call AddDepends/usb)
139 endef
140
141 define KernelPackage/usb-tahvo/description
142 Kernel support for Nokia n810 USB OHCI controller.
143 endef
144
145 $(eval $(call KernelPackage,usb-tahvo))
146
147
148 define KernelPackage/usb-isp116x-hcd
149 TITLE:=Support for the ISP116x USB Host Controller
150 DEPENDS:=@TARGET_ppc40x
151 KCONFIG:= \
152 CONFIG_USB_ISP116X_HCD \
153 CONFIG_USB_ISP116X_HCD_OF=y \
154 CONFIG_USB_ISP116X_HCD_PLATFORM=n
155 FILES:=$(LINUX_DIR)/drivers/usb/host/isp116x-hcd.ko
156 AUTOLOAD:=$(call AutoLoad,50,isp116x-hcd)
157 $(call AddDepends/usb)
158 endef
159
160 define KernelPackage/usb-isp116x-hcd/description
161 Kernel support for the ISP116X USB Host Controller
162 endef
163
164 $(eval $(call KernelPackage,usb-isp116x-hcd))
165
166
167 define KernelPackage/usb2
168 TITLE:=Support for USB2 controllers
169 KCONFIG:=CONFIG_USB_EHCI_HCD \
170 CONFIG_USB_EHCI_AR71XX=y
171 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
172 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
173 $(call AddDepends/usb)
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 TITLE:=Support for modems/isdn controllers
185 KCONFIG:=CONFIG_USB_ACM
186 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
187 AUTOLOAD:=$(call AutoLoad,60,cdc-acm)
188 $(call AddDepends/usb)
189 endef
190
191 define KernelPackage/usb-acm/description
192 Kernel support for USB ACM devices (modems/isdn controllers)
193 endef
194
195 $(eval $(call KernelPackage,usb-acm))
196
197
198 define KernelPackage/usb-audio
199 TITLE:=Support for USB audio devices
200 KCONFIG:= \
201 CONFIG_USB_AUDIO \
202 CONFIG_SND_USB_AUDIO
203 $(call AddDepends/usb)
204 $(call AddDepends/sound)
205 # For Linux 2.6.35+
206 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
207 FILES:= \
208 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
209 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
210 AUTOLOAD:=$(call AutoLoad,60,snd-usbmidi-lib snd-usb-audio)
211 else
212 FILES:= \
213 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
214 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
215 AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
216 endif
217 endef
218
219 define KernelPackage/usb-audio/description
220 Kernel support for USB audio devices
221 endef
222
223 $(eval $(call KernelPackage,usb-audio))
224
225
226 define KernelPackage/usb-printer
227 TITLE:=Support for printers
228 KCONFIG:=CONFIG_USB_PRINTER
229 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
230 AUTOLOAD:=$(call AutoLoad,60,usblp)
231 $(call AddDepends/usb)
232 endef
233
234 define KernelPackage/usb-printer/description
235 Kernel support for USB printers
236 endef
237
238 $(eval $(call KernelPackage,usb-printer))
239
240
241 define KernelPackage/usb-serial
242 TITLE:=Support for USB-to-Serial converters
243 KCONFIG:=CONFIG_USB_SERIAL
244 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
245 AUTOLOAD:=$(call AutoLoad,60,usbserial)
246 $(call AddDepends/usb)
247 endef
248
249 define KernelPackage/usb-serial/description
250 Kernel support for USB-to-Serial converters
251 endef
252
253 $(eval $(call KernelPackage,usb-serial))
254
255
256 define AddDepends/usb-serial
257 SUBMENU:=$(USB_MENU)
258 DEPENDS+=kmod-usb-serial $(1)
259 endef
260
261
262 define KernelPackage/usb-serial-airprime
263 TITLE:=Support for Airprime (EVDO)
264 KCONFIG:=CONFIG_USB_SERIAL_AIRPRIME
265 FILES:=$(LINUX_DIR)/drivers/usb/serial/airprime.ko
266 AUTOLOAD:=$(call AutoLoad,65,airprime)
267 $(call AddDepends/usb-serial)
268 endef
269
270 define KernelPackage/usb-serial-airprime/description
271 Kernel support for Airprime (EVDO)
272 endef
273
274 $(eval $(call KernelPackage,usb-serial-airprime))
275
276
277 define KernelPackage/usb-serial-belkin
278 TITLE:=Support for Belkin devices
279 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
280 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
281 AUTOLOAD:=$(call AutoLoad,65,belkin_sa)
282 $(call AddDepends/usb-serial)
283 endef
284
285 define KernelPackage/usb-serial-belkin/description
286 Kernel support for Belkin USB-to-Serial converters
287 endef
288
289 $(eval $(call KernelPackage,usb-serial-belkin))
290
291
292 define KernelPackage/usb-serial-ch341
293 TITLE:=Support for CH341 devices
294 KCONFIG:=CONFIG_USB_SERIAL_CH341
295 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
296 AUTOLOAD:=$(call AutoLoad,65,ch341)
297 $(call AddDepends/usb-serial)
298 endef
299
300 define KernelPackage/usb-serial-ch341/description
301 Kernel support for Winchiphead CH341 USB-to-Serial converters
302 endef
303
304 $(eval $(call KernelPackage,usb-serial-ch341))
305
306
307 define KernelPackage/usb-serial-ftdi
308 TITLE:=Support for FTDI devices
309 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
310 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
311 AUTOLOAD:=$(call AutoLoad,65,ftdi_sio)
312 $(call AddDepends/usb-serial)
313 endef
314
315 define KernelPackage/usb-serial-ftdi/description
316 Kernel support for FTDI USB-to-Serial converters
317 endef
318
319 $(eval $(call KernelPackage,usb-serial-ftdi))
320
321
322 define KernelPackage/usb-serial-ipw
323 TITLE:=Support for IPWireless 3G devices
324 KCONFIG:=CONFIG_USB_SERIAL_IPW
325 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.$(LINUX_KMOD_SUFFIX)
326 AUTOLOAD:=$(call AutoLoad,65,ipw)
327 $(call AddDepends/usb-serial)
328 endef
329
330 $(eval $(call KernelPackage,usb-serial-ipw))
331
332
333 define KernelPackage/usb-serial-mct
334 TITLE:=Support for Magic Control Tech. devices
335 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
336 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
337 AUTOLOAD:=$(call AutoLoad,65,mct_u232)
338 $(call AddDepends/usb-serial)
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 TITLE:=Support for Prolific PL2303 devices
350 KCONFIG:=CONFIG_USB_SERIAL_PL2303
351 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
352 AUTOLOAD:=$(call AutoLoad,65,pl2303)
353 $(call AddDepends/usb-serial)
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-cp210x
364 TITLE:=Support for Silicon Labs cp210x devices
365 KCONFIG:=CONFIG_USB_SERIAL_CP210X
366 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
367 AUTOLOAD:=$(call AutoLoad,65,cp210x)
368 $(call AddDepends/usb-serial)
369 endef
370
371 define KernelPackage/usb-serial-cp210x/description
372 Kernel support for Silicon Labs cp210x USB-to-Serial converters
373 endef
374
375 $(eval $(call KernelPackage,usb-serial-cp210x))
376
377
378 define KernelPackage/usb-serial-ark3116
379 TITLE:=Support for ArkMicroChips ARK3116 devices
380 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
381 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
382 AUTOLOAD:=$(call AutoLoad,65,ark3116)
383 $(call AddDepends/usb-serial)
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 TITLE:=Support for Ours Technology OTI6858 devices
395 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
396 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
397 AUTOLOAD:=$(call AutoLoad,65,oti6858)
398 $(call AddDepends/usb-serial)
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 TITLE:=Support for Sierra Wireless devices
410 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
411 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
412 AUTOLOAD:=$(call AutoLoad,65,sierra)
413 $(call AddDepends/usb-serial)
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 TITLE:=Support for Motorola usb phone
425 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
426 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
427 AUTOLOAD:=$(call AutoLoad,65,moto_modem)
428 $(call AddDepends/usb-serial)
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 define KernelPackage/usb-serial-visor
439 TITLE:=Support for Handspring Visor devices
440 KCONFIG:=CONFIG_USB_SERIAL_VISOR
441 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
442 AUTOLOAD:=$(call AutoLoad,65,visor)
443 $(call AddDepends/usb-serial)
444 endef
445
446 define KernelPackage/usb-serial-visor/description
447 Kernel support for Handspring Visor PDAs
448 endef
449
450 $(eval $(call KernelPackage,usb-serial-visor))
451
452
453 define KernelPackage/usb-serial-cypress-m8
454 TITLE:=Support for CypressM8 USB-Serial
455 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
456 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
457 AUTOLOAD:=$(call AutoLoad,65,cypress_m8)
458 $(call AddDepends/usb-serial)
459 endef
460
461 define KernelPackage/usb-serial-cypress-m8/description
462 Kernel support for devices with Cypress M8 USB to Serial chip
463 (for example, the Delorme Earthmate LT-20 GPS)
464 Supported microcontrollers in the CY4601 family are:
465 CY7C63741 CY7C63742 CY7C63743 CY7C64013
466 endef
467
468 $(eval $(call KernelPackage,usb-serial-cypress-m8))
469
470
471 define KernelPackage/usb-serial-keyspan
472 TITLE:=Support for Keyspan USB-to-Serial devices
473 KCONFIG:= \
474 CONFIG_USB_SERIAL_KEYSPAN \
475 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
476 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
477 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
478 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
479 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
480 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
481 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
482 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
483 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
484 CONFIG_USB_SERIAL_KEYSPAN_MPR \
485 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
486 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
487 FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.ko
488 AUTOLOAD:=$(call AutoLoad,65,keyspan)
489 $(call AddDepends/usb-serial)
490 endef
491
492 define KernelPackage/usb-serial-keyspan/description
493 Kernel support for Keyspan USB-to-Serial devices
494 endef
495
496 $(eval $(call KernelPackage,usb-serial-keyspan))
497
498
499 define KernelPackage/usb-serial-wwan
500 TITLE:=Support for GSM and CDMA modems
501 DEPENDS:= @LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
502 KCONFIG:=CONFIG_USB_SERIAL_WWAN
503 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
504 AUTOLOAD:=$(call AutoLoad,61,usb_wwan)
505 $(call AddDepends/usb-serial)
506 endef
507
508 define KernelPackage/usb-serial-wwan/description
509 Kernel support for USB GSM and CDMA modems
510 endef
511
512 $(eval $(call KernelPackage,usb-serial-wwan))
513
514
515 define KernelPackage/usb-serial-option
516 TITLE:=Support for Option HSDPA modems
517 DEPENDS:=+LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37:kmod-usb-serial-wwan
518 KCONFIG:=CONFIG_USB_SERIAL_OPTION
519 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
520 AUTOLOAD:=$(call AutoLoad,65,option)
521 $(call AddDepends/usb-serial)
522 endef
523
524 define KernelPackage/usb-serial-option/description
525 Kernel support for Option HSDPA modems
526 endef
527
528 $(eval $(call KernelPackage,usb-serial-option))
529
530
531 define KernelPackage/usb-storage
532 TITLE:=USB Storage support
533 DEPENDS:= +!TARGET_x86:kmod-scsi-core
534 KCONFIG:=CONFIG_USB_STORAGE
535 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
536 AUTOLOAD:=$(call AutoLoad,60,usb-storage,1)
537 $(call AddDepends/usb)
538 endef
539
540 define KernelPackage/usb-storage/description
541 Kernel support for USB Mass Storage devices
542 endef
543
544 $(eval $(call KernelPackage,usb-storage))
545
546
547 define KernelPackage/usb-storage-extras
548 SUBMENU:=$(USB_MENU)
549 TITLE:=Extra drivers for usb-storage
550 DEPENDS:=+kmod-usb-storage
551 KCONFIG:= \
552 CONFIG_USB_STORAGE_ALAUDA \
553 CONFIG_USB_STORAGE_CYPRESS_ATACB \
554 CONFIG_USB_STORAGE_DATAFAB \
555 CONFIG_USB_STORAGE_FREECOM \
556 CONFIG_USB_STORAGE_ISD200 \
557 CONFIG_USB_STORAGE_JUMPSHOT \
558 CONFIG_USB_STORAGE_KARMA \
559 CONFIG_USB_STORAGE_SDDR09 \
560 CONFIG_USB_STORAGE_SDDR55 \
561 CONFIG_USB_STORAGE_USBAT
562 FILES:= \
563 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
564 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
565 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
566 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
567 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
568 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
569 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
570 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
571 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
572 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
573 AUTOLOAD:=$(call AutoLoad,60,ums-alauda ums-cypress ums-datafab \
574 ums-freecom ums-isd200 ums-jumpshot \
575 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
576 endef
577
578 define KernelPackage/usb-storage-extras/description
579 Say Y here if you want to have some more drivers,
580 such as for SmartMedia card readers.
581 endef
582
583 $(eval $(call KernelPackage,usb-storage-extras))
584
585
586 define KernelPackage/usb-video
587 TITLE:=Support for USB video devices
588 KCONFIG:=CONFIG_VIDEO_USBVIDEO
589 FILES:=$(LINUX_DIR)/drivers/media/video/usbvideo/usbvideo.ko
590 AUTOLOAD:=$(call AutoLoad,61,usbvideo)
591 $(call AddDepends/usb)
592 endef
593
594 define KernelPackage/usb-video/description
595 Kernel support for USB video devices
596 endef
597
598 $(eval $(call KernelPackage,usb-video))
599
600
601 define KernelPackage/usb-atm
602 TITLE:=Support for ATM on USB bus
603 DEPENDS:=+kmod-atm
604 KCONFIG:=CONFIG_USB_ATM
605 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
606 AUTOLOAD:=$(call AutoLoad,60,usbatm)
607 $(call AddDepends/usb)
608 endef
609
610 define KernelPackage/usb-atm/description
611 Kernel support for USB DSL modems
612 endef
613
614 $(eval $(call KernelPackage,usb-atm))
615
616
617 define AddDepends/usb-atm
618 SUBMENU:=$(USB_MENU)
619 DEPENDS+=kmod-usb-atm $(1)
620 endef
621
622
623 define KernelPackage/usb-atm-speedtouch
624 TITLE:=SpeedTouch USB ADSL modems support
625 KCONFIG:=CONFIG_USB_SPEEDTOUCH
626 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
627 AUTOLOAD:=$(call AutoLoad,70,speedtch)
628 $(call AddDepends/usb-atm)
629 endef
630
631 define KernelPackage/usb-atm-speedtouch/description
632 Kernel support for SpeedTouch USB ADSL modems
633 endef
634
635 $(eval $(call KernelPackage,usb-atm-speedtouch))
636
637
638 define KernelPackage/usb-atm-ueagle
639 TITLE:=Eagle 8051 based USB ADSL modems support
640 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
641 KCONFIG:=CONFIG_USB_UEAGLEATM
642 AUTOLOAD:=$(call AutoLoad,70,ueagle-atm)
643 $(call AddDepends/usb-atm)
644 endef
645
646 define KernelPackage/usb-atm-ueagle/description
647 Kernel support for Eagle 8051 based USB ADSL modems
648 endef
649
650 $(eval $(call KernelPackage,usb-atm-ueagle))
651
652
653 define KernelPackage/usb-atm-cxacru
654 TITLE:=cxacru
655 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
656 KCONFIG:=CONFIG_USB_CXACRU
657 AUTOLOAD:=$(call AutoLoad,70,cxacru)
658 $(call AddDepends/usb-atm)
659 endef
660
661 define KernelPackage/usb-atm-cxacru/description
662 Kernel support for cxacru based USB ADSL modems
663 endef
664
665 $(eval $(call KernelPackage,usb-atm-cxacru))
666
667
668 define KernelPackage/usb-net
669 TITLE:=Kernel modules for USB-to-Ethernet convertors
670 KCONFIG:=CONFIG_USB_USBNET
671 AUTOLOAD:=$(call AutoLoad,60,usbnet)
672 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
673 $(call AddDepends/usb)
674 endef
675
676 define KernelPackage/usb-net/description
677 Kernel modules for USB-to-Ethernet convertors
678 endef
679
680 $(eval $(call KernelPackage,usb-net))
681
682
683 define AddDepends/usb-net
684 SUBMENU:=$(USB_MENU)
685 DEPENDS+=kmod-usb-net $(1)
686 endef
687
688
689 define KernelPackage/usb-net-asix
690 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
691 KCONFIG:=CONFIG_USB_NET_AX8817X
692 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
693 AUTOLOAD:=$(call AutoLoad,61,asix)
694 $(call AddDepends/usb-net)
695 endef
696
697 define KernelPackage/usb-net-asix/description
698 Kernel module for USB-to-Ethernet Asix convertors
699 endef
700
701 $(eval $(call KernelPackage,usb-net-asix))
702
703
704 define KernelPackage/usb-net-hso
705 TITLE:=Kernel module for Option USB High Speed Mobile Devices
706 KCONFIG:=CONFIG_USB_HSO
707 FILES:= \
708 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
709 AUTOLOAD:=$(call AutoLoad,61,hso)
710 $(call AddDepends/usb-net)
711 $(call AddDepends/rfkill)
712 endef
713
714 define KernelPackage/usb-net-hso/description
715 Kernel module for Option USB High Speed Mobile Devices
716 endef
717
718 $(eval $(call KernelPackage,usb-net-hso))
719
720
721 define KernelPackage/usb-net-kaweth
722 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
723 KCONFIG:=CONFIG_USB_KAWETH
724 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
725 AUTOLOAD:=$(call AutoLoad,61,kaweth)
726 $(call AddDepends/usb-net)
727 endef
728
729 define KernelPackage/usb-net-kaweth/description
730 Kernel module for USB-to-Ethernet Kaweth convertors
731 endef
732
733 $(eval $(call KernelPackage,usb-net-kaweth))
734
735
736 define KernelPackage/usb-net-pegasus
737 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
738 KCONFIG:=CONFIG_USB_PEGASUS
739 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
740 AUTOLOAD:=$(call AutoLoad,61,pegasus)
741 $(call AddDepends/usb-net)
742 endef
743
744 define KernelPackage/usb-net-pegasus/description
745 Kernel module for USB-to-Ethernet Pegasus convertors
746 endef
747
748 $(eval $(call KernelPackage,usb-net-pegasus))
749
750
751 define KernelPackage/usb-net-mcs7830
752 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
753 KCONFIG:=CONFIG_USB_NET_MCS7830
754 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
755 AUTOLOAD:=$(call AutoLoad,61,mcs7830)
756 $(call AddDepends/usb-net)
757 endef
758
759 define KernelPackage/usb-net-mcs7830/description
760 Kernel module for USB-to-Ethernet MCS7830 convertors
761 endef
762
763 $(eval $(call KernelPackage,usb-net-mcs7830))
764
765
766 define KernelPackage/usb-net-dm9601-ether
767 TITLE:=Support for DM9601 ethernet connections
768 KCONFIG:=CONFIG_USB_NET_DM9601
769 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
770 AUTOLOAD:=$(call AutoLoad,61,dm9601)
771 $(call AddDepends/usb-net)
772 endef
773
774 define KernelPackage/usb-net-dm9601-ether/description
775 Kernel support for USB DM9601 devices
776 endef
777
778 $(eval $(call KernelPackage,usb-net-dm9601-ether))
779
780 define KernelPackage/usb-net-cdc-ether
781 TITLE:=Support for cdc ethernet connections
782 KCONFIG:=CONFIG_USB_NET_CDCETHER
783 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
784 AUTOLOAD:=$(call AutoLoad,61,cdc_ether)
785 $(call AddDepends/usb-net)
786 endef
787
788 define KernelPackage/usb-net-cdc-ether/description
789 Kernel support for USB CDC Ethernet devices
790 endef
791
792 $(eval $(call KernelPackage,usb-net-cdc-ether))
793
794
795 define KernelPackage/usb-net-rndis
796 TITLE:=Support for RNDIS connections
797 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
798 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
799 AUTOLOAD:=$(call AutoLoad,62,rndis_host)
800 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
801 endef
802
803 define KernelPackage/usb-net-rndis/description
804 Kernel support for RNDIS connections
805 endef
806
807 $(eval $(call KernelPackage,usb-net-rndis))
808
809
810 define KernelPackage/usb-hid
811 TITLE:=Support for USB Human Input Devices
812 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
813 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
814 AUTOLOAD:=$(call AutoLoad,70,usbhid)
815 $(call AddDepends/usb)
816 $(call AddDepends/hid)
817 $(call AddDepends/input,+kmod-input-evdev)
818 endef
819
820
821 define KernelPackage/usb-hid/description
822 Kernel support for USB HID devices such as keyboards and mice
823 endef
824
825 $(eval $(call KernelPackage,usb-hid))
826
827
828 define KernelPackage/usb-yealink
829 TITLE:=USB Yealink VOIP phone
830 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
831 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
832 AUTOLOAD:=$(call AutoLoad,70,yealink)
833 $(call AddDepends/usb)
834 $(call AddDepends/input,+kmod-input-evdev)
835 endef
836
837 define KernelPackage/usb-yealink/description
838 Kernel support for Yealink VOIP phone
839 endef
840
841 $(eval $(call KernelPackage,usb-yealink))
842
843
844 define KernelPackage/usb-cm109
845 TITLE:=Support for CM109 device
846 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
847 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
848 AUTOLOAD:=$(call AutoLoad,70,cm109)
849 $(call AddDepends/usb)
850 $(call AddDepends/input,+kmod-input-evdev)
851 endef
852
853 define KernelPackage/usb-cm109/description
854 Kernel support for CM109 VOIP phone
855 endef
856
857 $(eval $(call KernelPackage,usb-cm109))
858
859
860 define KernelPackage/usb-test
861 TITLE:=USB Testing Driver
862 DEPENDS:=@DEVEL
863 KCONFIG:=CONFIG_USB_TEST
864 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
865 $(call AddDepends/usb)
866 endef
867
868 define KernelPackage/usb-test/description
869 Kernel support for testing USB Host Controller software.
870 endef
871
872 $(eval $(call KernelPackage,usb-test))
873
874
875 define KernelPackage/usb-phidget
876 TITLE:=USB Phidget Driver
877 KCONFIG:=CONFIG_USB_PHIDGET CONFIG_USB_PHIDGETKIT CONFIG_USB_PHIDGETMOTORCONTROL CONFIG_USB_PHIDGETSERVO
878 FILES:=$(LINUX_DIR)/drivers/usb/misc/phidget*.ko
879 $(call AddDepends/usb)
880 endef
881
882 define KernelPackage/usb-phidget/description
883 Kernel support for USB Phidget devices.
884 endef
885
886 $(eval $(call KernelPackage,usb-phidget))
887
This page took 0.072893 seconds and 5 git commands to generate.