Author: jow
Date: 2014-10-22 13:30:07 +0200 (Wed, 22 Oct 2014)
New Revision: 43027

Modified:
   trunk/package/kernel/linux/modules/hwmon.mk
Log:
linux: add kmod-hwmon-k10temp

This module is required to read the CPU core temperature sensors
on the Alix APU board.

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/package/kernel/linux/modules/hwmon.mk
===================================================================
--- trunk/package/kernel/linux/modules/hwmon.mk 2014-10-22 11:02:18 UTC (rev 
43026)
+++ trunk/package/kernel/linux/modules/hwmon.mk 2014-10-22 11:30:07 UTC (rev 
43027)
@@ -288,3 +288,19 @@
 endef
 
 $(eval $(call KernelPackage,hwmon-gpiofan))
+
+
+define KernelPackage/hwmon-k10temp
+  TITLE:=AMD Family 10h+ temperature sensor
+  KCONFIG:=CONFIG_SENSORS_K10TEMP
+  FILES:=$(LINUX_DIR)/drivers/hwmon/k10temp.ko
+  AUTOLOAD:=$(call AutoLoad,60,k10temp)
+  $(call AddDepends/hwmon,@PCI_SUPPORT @(x86||x86_64))
+endef
+
+define KernelPackage/hwmon-k10temp/description
+  Thermal sensor support for AMD 10h, 11h, 12h (Llano), 14h (Brazos),
+  15h (Bulldozer/Trinity/Kaveri) and 16h (Kabini/Mullins) CPUs
+endef
+
+$(eval $(call KernelPackage,hwmon-k10temp))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to