OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 140... | Line 140... | |||
140 | Lib Composite |
140 | Lib Composite |
|
141 | endef |
141 | endef |
|
Line 142... | Line 142... | |||
142 | |
142 | |
|
Line 143... | Line -... | |||
143 | $(eval $(call KernelPackage,usb-lib-composite)) |
- | ||
144 | |
- | ||
145 | define KernelPackage/usb-gadget-hid |
- | ||
146 | TITLE:=USB HID Gadget Support |
- | ||
147 | KCONFIG:=CONFIG_USB_G_HID |
- | ||
148 | DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite |
- | ||
149 | FILES:= \ |
- | ||
150 | $(LINUX_DIR)/drivers/usb/gadget/legacy/g_hid.ko \ |
- | ||
151 | $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_hid.ko |
- | ||
152 | AUTOLOAD:=$(call AutoLoad,52,usb_f_hid) |
- | ||
153 | $(call AddDepends/usb) |
- | ||
154 | endef |
- | ||
155 | |
- | ||
156 | define KernelPackage/usb-gadget-hid/description |
- | ||
157 | Kernel support for USB HID Gadget. |
- | ||
158 | endef |
- | ||
159 | |
- | ||
160 | $(eval $(call KernelPackage,usb-gadget-hid)) |
143 | $(eval $(call KernelPackage,usb-lib-composite)) |
|
161 | |
144 | |
|
162 | define KernelPackage/usb-gadget-ehci-debug |
145 | define KernelPackage/usb-gadget-ehci-debug |
|
163 | TITLE:=USB EHCI debug port Gadget support |
146 | TITLE:=USB EHCI debug port Gadget support |
|
164 | KCONFIG:=\ |
147 | KCONFIG:=\ |
|
Line 235... | Line 218... | |||
235 | Kernel support for USB Gadget Mass Storage |
218 | Kernel support for USB Gadget Mass Storage |
|
236 | endef |
219 | endef |
|
Line 237... | Line 220... | |||
237 | |
220 | |
|
Line 238... | Line -... | |||
238 | $(eval $(call KernelPackage,usb-gadget-mass-storage)) |
- | ||
239 | |
- | ||
240 | define KernelPackage/usb-gadget-cdc-composite |
- | ||
241 | TITLE:= USB CDC Composite (Ethernet + ACM) |
- | ||
242 | KCONFIG:=CONFIG_USB_CDC_COMPOSITE |
- | ||
243 | DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite \ |
- | ||
244 | +kmod-usb-gadget-eth +kmod-usb-gadget-serial |
- | ||
245 | FILES:= $(LINUX_DIR)/drivers/usb/gadget/legacy/g_cdc.ko |
- | ||
246 | $(call AddDepends/usb) |
- | ||
247 | endef |
- | ||
248 | |
- | ||
249 | define KernelPackage/usb-gadget-cdc-composite/description |
- | ||
250 | Kernel support for the USB CDC Composite gadget. |
- | ||
251 | This appears as an ethernet + ACM serial gadget. |
- | ||
252 | endef |
- | ||
253 | |
- | ||
Line 254... | Line 221... | |||
254 | $(eval $(call KernelPackage,usb-gadget-cdc-composite)) |
221 | $(eval $(call KernelPackage,usb-gadget-mass-storage)) |
|
255 | |
222 | |
|
256 | |
223 | |
|
257 | define KernelPackage/usb-uhci |
224 | define KernelPackage/usb-uhci |
|
Line 332... | Line 299... | |||
332 | AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd),1) |
299 | AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd),1) |
|
333 | $(call AddDepends/usb) |
300 | $(call AddDepends/usb) |
|
334 | endef |
301 | endef |
|
335 | $(eval $(call KernelPackage,usb-bcma)) |
302 | $(eval $(call KernelPackage,usb-bcma)) |
|
Line 336... | Line -... | |||
336 | |
- | ||
337 | define KernelPackage/usb-fotg210 |
- | ||
338 | TITLE:=Support for FOTG210 USB host controllers |
- | ||
339 | DEPENDS:=@USB_SUPPORT @TARGET_gemini |
- | ||
340 | KCONFIG:=CONFIG_USB_FOTG210_HCD |
- | ||
341 | FILES:= \ |
- | ||
342 | $(if $(CONFIG_USB_FOTG210_HCD),$(LINUX_DIR)/drivers/usb/host/fotg210-hcd.ko) |
- | ||
343 | AUTOLOAD:=$(call AutoLoad,50,fotg210-hcd,1) |
- | ||
344 | $(call AddDepends/usb) |
- | ||
345 | endef |
- | ||
346 | $(eval $(call KernelPackage,usb-fotg210)) |
- | ||
347 | |
303 | |
|
348 | define KernelPackage/usb-ssb |
304 | define KernelPackage/usb-ssb |
|
349 | TITLE:=Support for SSB USB controllers |
305 | TITLE:=Support for SSB USB controllers |
|
350 | DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx |
306 | DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx |
|
351 | HIDDEN:=1 |
307 | HIDDEN:=1 |
|
Line 473... | Line 429... | |||
473 | $(eval $(call KernelPackage,usb-dwc3)) |
429 | $(eval $(call KernelPackage,usb-dwc3)) |
|
Line 474... | Line 430... | |||
474 | |
430 | |
|
475 | |
431 | |
|
476 | define KernelPackage/usb-dwc3-of-simple |
432 | define KernelPackage/usb-dwc3-of-simple |
|
477 | TITLE:=DWC3 USB simple OF driver |
433 | TITLE:=DWC3 USB simple OF driver |
|
478 | DEPENDS:=@!LINUX_4_19 @TARGET_ipq40xx||@TARGET_ipq806x +kmod-usb-dwc3 |
434 | DEPENDS:=@TARGET_ipq40xx||@TARGET_ipq806x +kmod-usb-dwc3 |
|
479 | KCONFIG:= CONFIG_USB_DWC3_OF_SIMPLE |
435 | KCONFIG:= CONFIG_USB_DWC3_OF_SIMPLE |
|
480 | FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-of-simple.ko |
436 | FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-of-simple.ko |
|
481 | AUTOLOAD:=$(call AutoLoad,53,dwc3-of-simple,1) |
437 | AUTOLOAD:=$(call AutoLoad,53,dwc3-of-simple,1) |
|
Line 488... | Line 444... | |||
488 | endef |
444 | endef |
|
Line 489... | Line 445... | |||
489 | |
445 | |
|
Line 490... | Line -... | |||
490 | |
- | ||
491 | $(eval $(call KernelPackage,usb-dwc3-of-simple)) |
- | ||
492 | |
- | ||
493 | |
- | ||
494 | define KernelPackage/usb-dwc3-qcom |
- | ||
495 | TITLE:=DWC3 Qualcomm USB driver |
- | ||
496 | DEPENDS:=@LINUX_4_19 @TARGET_ipq40xx||@TARGET_ipq806x +kmod-usb-dwc3 |
- | ||
497 | KCONFIG:= CONFIG_USB_DWC3_QCOM |
- | ||
498 | FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko |
- | ||
499 | AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom,1) |
- | ||
500 | $(call AddDepends/usb) |
- | ||
501 | endef |
- | ||
502 | |
- | ||
503 | define KernelPackage/usb-dwc3-qcom/description |
- | ||
504 | Some Qualcomm SoCs use DesignWare Core IP for USB2/3 functionality. |
- | ||
505 | This driver also handles Qscratch wrapper which is needed for |
- | ||
506 | peripheral mode support. |
- | ||
507 | endef |
- | ||
508 | |
- | ||
509 | |
- | ||
510 | $(eval $(call KernelPackage,usb-dwc3-qcom)) |
446 | |
|
511 | |
447 | $(eval $(call KernelPackage,usb-dwc3-of-simple)) |
|
512 | |
448 | |
|
513 | define KernelPackage/usb-acm |
449 | define KernelPackage/usb-acm |
|
514 | TITLE:=Support for modems/isdn controllers |
450 | TITLE:=Support for modems/isdn controllers |
|
Line 772... | Line 708... | |||
772 | endef |
708 | endef |
|
Line 773... | Line 709... | |||
773 | |
709 | |
|
Line 774... | Line -... | |||
774 | $(eval $(call KernelPackage,usb-serial-mos7720)) |
- | ||
775 | |
- | ||
776 | |
- | ||
777 | define KernelPackage/usb-serial-mos7840 |
- | ||
778 | TITLE:=Support for Moschip MOS7840 devices |
- | ||
779 | KCONFIG:=CONFIG_USB_SERIAL_MOS7840 |
- | ||
780 | FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7840.ko |
- | ||
781 | AUTOLOAD:=$(call AutoProbe,mos7840) |
- | ||
782 | $(call AddDepends/usb-serial) |
- | ||
783 | endef |
- | ||
784 | |
- | ||
785 | define KernelPackage/usb-serial-mos7840/description |
- | ||
786 | Kernel support for Moschip MOS7840 USB-to-Serial converters |
- | ||
787 | endef |
- | ||
788 | |
- | ||
789 | $(eval $(call KernelPackage,usb-serial-mos7840)) |
710 | $(eval $(call KernelPackage,usb-serial-mos7720)) |
|
790 | |
711 | |
|
791 | |
712 | |
|
792 | define KernelPackage/usb-serial-pl2303 |
713 | define KernelPackage/usb-serial-pl2303 |
|
793 | TITLE:=Support for Prolific PL2303 devices |
714 | TITLE:=Support for Prolific PL2303 devices |
|
Line 1599... | Line 1520... | |||
1599 | CONFIG_USB_CHIPIDEA_UDC=y \ |
1520 | CONFIG_USB_CHIPIDEA_UDC=y \ |
|
1600 | CONFIG_USB_CHIPIDEA_DEBUG=y |
1521 | CONFIG_USB_CHIPIDEA_DEBUG=y |
|
1601 | FILES:= \ |
1522 | FILES:= \ |
|
1602 | $(LINUX_DIR)/drivers/extcon/extcon.ko@lt4.9 \ |
1523 | $(LINUX_DIR)/drivers/extcon/extcon.ko@lt4.9 \ |
|
1603 | $(LINUX_DIR)/drivers/extcon/extcon-core.ko@ge4.9 \ |
1524 | $(LINUX_DIR)/drivers/extcon/extcon-core.ko@ge4.9 \ |
|
1604 | $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \ |
1525 | $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko |
|
1605 | $(LINUX_DIR)/drivers/usb/common/ulpi.ko@ge4.18 |
- | ||
1606 | AUTOLOAD:=$(call AutoLoad,39,ci_hdrc,1) |
1526 | AUTOLOAD:=$(call AutoLoad,39,ci_hdrc,1) |
|
1607 | $(call AddDepends/usb) |
1527 | $(call AddDepends/usb) |
|
1608 | endef |
1528 | endef |
|
Line 1609... | Line 1529... | |||
1609 | |
1529 | |
|
Line 1700... | Line 1620... | |||
1700 | Kernel support for NetChip 228x / PLX USB338x PCI USB peripheral controller. |
1620 | Kernel support for NetChip 228x / PLX USB338x PCI USB peripheral controller. |
|
1701 | endef |
1621 | endef |
|
Line 1702... | Line 1622... | |||
1702 | |
1622 | |
|
Line 1703... | Line -... | |||
1703 | $(eval $(call KernelPackage,usb-net2280)) |
- | ||
1704 | |
- | ||
1705 | define KernelPackage/chaoskey |
- | ||
1706 | SUBMENU:=$(USB_MENU) |
- | ||
1707 | TITLE:=Chaoskey hardware RNG support |
- | ||
1708 | DEPENDS:=+kmod-random-core |
- | ||
1709 | KCONFIG:=CONFIG_USB_CHAOSKEY |
- | ||
1710 | FILES:=$(LINUX_DIR)/drivers/usb/misc/chaoskey.ko |
- | ||
1711 | AUTOLOAD:=$(call AutoProbe,chaoskey) |
- | ||
1712 | $(call AddDepends/usb) |
- | ||
1713 | endef |
- | ||
1714 | |
- | ||
1715 | define KernelPackage/chaoskey/description |
- | ||
1716 | Kernel module for chaoskey, USB attached true random number generator |
- | ||
1717 | endef |
- | ||
1718 | |
- |