generic: add NET3380 UDC support
Add a patch to backport 5185c91385d73cdf79836eb8548e4726e43ae831 from Linux 4.8 adding USB2380 support to the NET2280 driver and create an OpenWrt menu option to select it as a module. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
committed by
Felix Fietkau
parent
3314bcf715
commit
232893037a
@@ -1626,3 +1626,20 @@ define KernelPackage/usb3/description
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,usb3))
|
||||
|
||||
|
||||
define KernelPackage/usb-net2280
|
||||
TITLE:=Support for NetChip 228x PCI USB peripheral controller
|
||||
KCONFIG:= CONFIG_USB_NET2280
|
||||
DEPENDS:=@PCI_SUPPORT +kmod-usb-gadget
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc/net2280.ko
|
||||
AUTOLOAD:=$(call AutoLoad,46,net2280)
|
||||
$(call AddDepends/usb)
|
||||
endef
|
||||
|
||||
define KernelPackage/usb-net2280/description
|
||||
Kernel support for NetChip 228x / PLX USB338x PCI USB peripheral controller.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,usb-net2280))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user