diff options
author | Tim Harvey <tharvey@gateworks.com> | 2016-09-01 07:55:15 -0700 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-09-04 13:36:10 +0200 |
commit | 232893037a9c77bf7e880bd2f2c33b7df620d6e4 (patch) | |
tree | e955ec3fb1272306f7080bc088ae8c020de061f6 /package/kernel/linux/modules/usb.mk | |
parent | 3314bcf7152767d45785882f586832adcd2a5723 (diff) | |
download | upstream-232893037a9c77bf7e880bd2f2c33b7df620d6e4.tar.gz upstream-232893037a9c77bf7e880bd2f2c33b7df620d6e4.tar.bz2 upstream-232893037a9c77bf7e880bd2f2c33b7df620d6e4.zip |
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>
Diffstat (limited to 'package/kernel/linux/modules/usb.mk')
-rw-r--r-- | package/kernel/linux/modules/usb.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index a36993e483..52c28c9110 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -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)) + |