summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-05-27 18:57:02 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-05-27 18:57:02 +0000
commit8831f0da3a5e331743e45b4ea3f8a6ea3da4194a (patch)
tree335bb648ca1cdff399c011fb6480ab56379deb19 /package/kernel
parenta2710a9eff4e127bdcd920426a9a575c96e3bcf9 (diff)
downloadmtk-20170518-8831f0da3a5e331743e45b4ea3f8a6ea3da4194a.zip
mtk-20170518-8831f0da3a5e331743e45b4ea3f8a6ea3da4194a.tar.gz
mtk-20170518-8831f0da3a5e331743e45b4ea3f8a6ea3da4194a.tar.bz2
Add support for USB HID (#1322)
SVN-Revision: 7360
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 4f41294..ad037d6 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -332,6 +332,20 @@ endef
$(eval $(call KernelPackage,usb-net-asix))
+define KernelPackage/usb-hid
+ $(call usbdep,@LINUX_2_6)
+ TITLE:=Support for USB Human Input Devices
+ DESCRIPTION:=Kernel support for USB HID devices such as keyboards and mice
+ KCONFIG:=$(CONFIG_USB_HID)
+ AUTOLOAD:=$(call AutoLoad,70,usbhid evdev)
+endef
+
+define KernelPackage/usb-hid/2.6
+ FILES:= \
+ $(LINUX_DIR)/drivers/usb/input/usbhid.ko \
+ $(LINUX_DIR)/drivers/input/evdev.ko
+endef
+$(eval $(call KernelPackage,usb-hid))
define KernelPackage/usb-yealink
$(call usbdep,@LINUX_2_6)