From: Imre Kaloz Date: Mon, 10 Feb 2014 14:38:22 +0000 (+0000) Subject: fixup ethernet gadget, disable EEM support X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a6385e94274b869fe848e17df88d188730fae05;p=openwrt%2Fstaging%2Fstintel.git fixup ethernet gadget, disable EEM support Signed-off-by: Imre Kaloz SVN-Revision: 39558 --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index a9218f4f33..ab7c5dd828 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -211,16 +211,17 @@ define KernelPackage/usb-eth-gadget KCONFIG:= \ CONFIG_USB_ETH \ CONFIG_USB_ETH_RNDIS=y \ - CONFIG_USB_ETH_EEM=y + CONFIG_USB_ETH_EEM=n DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko),) FILES:= \ $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko \ $(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko \ + $(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm.ko \ + $(LINUX_DIR)/drivers/usb/gadget/usb_f_ecm_subset.ko \ $(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko \ - $(LINUX_DIR)/drivers/usb/gadget/usb_f_eem.ko \ $(LINUX_DIR)/drivers/usb/gadget/g_ether.ko - AUTOLOAD:=$(call AutoLoad,52,g_ether) + AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether) else FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko AUTOLOAD:=$(call AutoLoad,52,g_ether)