aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-04-19 22:21:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-04-19 22:21:27 +0000
commit35cbfe697fd2673415d4dd24f942a75e5049cd7f (patch)
tree3e25bcc0636b3a34cb807f3fdbca98e86e73934b /package/kernel
parentd7d055321a94dfaf8717f8fb015b5e97a0cd296b (diff)
downloadupstream-35cbfe697fd2673415d4dd24f942a75e5049cd7f.tar.gz
upstream-35cbfe697fd2673415d4dd24f942a75e5049cd7f.tar.bz2
upstream-35cbfe697fd2673415d4dd24f942a75e5049cd7f.zip
[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
Diffstat (limited to 'package/kernel')
-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