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