package the Winbond w83627hf super i/o controller
authorFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 23:50:11 +0000 (23:50 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 6 May 2009 23:50:11 +0000 (23:50 +0000)
SVN-Revision: 15646

package/kernel/modules/hwmon.mk

index cd81ef8fe9257ada30edf71ac1253f75f39e2654..b09655a0a0f3e4542fead7bf302d186aeb19a719 100644 (file)
@@ -75,3 +75,21 @@ endef
 
 $(eval $(call KernelPackage,hwmon-pc87360))
 
+define KernelPackage/hwmon-w83627hf
+  SUBMENU:=$(HWMON_MENU)
+  TITLE:=Winbond W83627HF monitoring support
+  DEPENDS:=kmod-hwmon-core @TARGET_x86||TARGET_rdc
+  KCONFIG:= \
+       CONFIG_SENSORS_W83627HF \
+       CONFIG_HWMON_VID
+  FILES:= \
+       $(LINUX_DIR)/drivers/hwmon/hwmon-vid.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/drivers/hwmon/w83627hf.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,hwmon-vid w83627h)
+endef
+
+define KernelPacakge/hwmon-w83627hf/description
+  Kernel module for the Winbond W83627HF chips.
+endef
+
+$(eval $(call KernelPackage,hwmon-w83627hf))