From: Florian Fainelli Date: Sun, 27 May 2007 18:51:50 +0000 (+0000) Subject: Add yealink usb phone kernel packages X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2710a9eff4e127bdcd920426a9a575c96e3bcf9;p=openwrt%2Fstaging%2Fansuel.git Add yealink usb phone kernel packages SVN-Revision: 7359 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index d7bdf0f428..c8ee64228a 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -358,3 +358,24 @@ define KernelPackage/hwmon-pc87360 AUTOLOAD:=$(call AutoLoad,50,pc87360) endef $(eval $(call KernelPackage,hwmon-pc87360)) + +define KernelPackage/input-core + TITLE:=Input device core + DESCRIPTION:=Kernel modules for support of input device + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_INPUT) + FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,input-core) +endef +$(eval $(call KernelPackage,input-core)) + +define KernelPackage/input-evdev + TITLE:=Input even device + DESCRIPTION:=Kernel modules for support of input device events + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_INPUT_EVDEV) + FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,60,evdev) +endef +$(eval $(call KernelPackage,input-evdev)) + diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index b7d5cc4dad..4f41294330 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -331,3 +331,17 @@ define KernelPackage/usb-net-asix/2.6 endef $(eval $(call KernelPackage,usb-net-asix)) + + +define KernelPackage/usb-yealink + $(call usbdep,@LINUX_2_6) + TITLE:=USB Yealink VOIP phone + DESCRIPTION:=Kernel support for Yealink VOIP phone + KCONFIG:=$(CONFIG_USB_YEALINK) + FILES:=$(LINUX_DIR)/drivers/usb/input/yealink.ko + AUTOLOAD:=$(call AutoLoad,70,yealink) + DEPENDS:=kmod-input-core kmod-input-evdev +endef +$(eval $(call KernelPackage,usb-yealink)) + + diff --git a/target/linux/generic-2.6/config-template b/target/linux/generic-2.6/config-template index 949d750a91..751f96d149 100644 --- a/target/linux/generic-2.6/config-template +++ b/target/linux/generic-2.6/config-template @@ -1469,7 +1469,7 @@ CONFIG_USB_USBNET_MII=m # CONFIG_USB_WACOM is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_XUSBATM is not set -# CONFIG_USB_YEALINK is not set +CONFIG_USB_YEALINK=m CONFIG_USB_ZD1201=m # CONFIG_UTS_NS is not set CONFIG_VFAT_FS=m