From 3704ea377275af3e2dc3261f40cba507bc584ad5 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 19 Apr 2009 22:21:27 +0000 Subject: [PATCH] [PATCH] add config option for RNDIS Adds the kernel config option for RNDIS, used by some USB ADSL modems. Not selected by default, yet. Signed-off-by: Andrea Borgia git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15289 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/usb.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 82250861a..5cbe57c72 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -635,6 +635,22 @@ endef $(eval $(call KernelPackage,usb-net-cdc-ether)) +define KernelPackage/usb-net-rndis + $(call usbdep,kmod-usb-net @LINUX_2_6) + TITLE:=Support for RNDIS connections + DEPENDS:=+kmod-usb-net-cdc-ether + KCONFIG:=CONFIG_USB_NET_RNDIS_HOST + FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,62,rndis_host) +endef + +define KernelPackage/usb-net-rndis/description + Kernel support for RNDIS connections +endef + +$(eval $(call KernelPackage,usb-net-rndis)) + + define KernelPackage/usb-hid $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid) TITLE:=Support for USB Human Input Devices -- 2.20.1