summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-19 22:21:27 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-19 22:21:27 +0000
commit3704ea377275af3e2dc3261f40cba507bc584ad5 (patch)
tree3e25bcc0636b3a34cb807f3fdbca98e86e73934b
parent46e50210bd165f5becfa35328da5d1ac54332bfa (diff)
[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 <andrea@borgia.bo.it> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15289 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/usb.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 82250861a8..5cbe57c722 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