summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-27 18:57:02 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-27 18:57:02 +0000
commit1dfd43820e4ea15c6cfe80175da0d436bbce74c8 (patch)
tree74b974946088d99b793e1af34ecd9b02640990d0 /package/kernel
parent76389a5662973443eb024ca5ee452fa48c810fa4 (diff)
Add support for USB HID (#1322)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7360 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 4f4129433..ad037d619 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)