Skip to contentSkip to conversation

hwmon:gm965temp for GM/GME965 IGP

PATCH New LuZhihe 1 participant 1 message Oct 13, 2009 Hardware monitoring

lore
Share & tools
lore

LuZhihe

author
#0 lore raw

PATCH 1/1 hwmon:gm965temp for GM/GME965 IGP

Subject: [PATCH] hwmon:gm965temp add GM/GME965 IGP temperature report.[Ver0]

Intel GM/GME965 has two on-die thermal sensors. Driver support the graphics hot spot temperature report.

Chips GM/GME965 is tested, and seems work. While GM45 and more other desktop chips are not tested, it may be not work for them. So user need to enable flag "TEST_MORE" to test them.

Thanks to Tobias Hain<[email protected]> for helped me to test GM965 chip too, to add desktop chips.

Thanks to Mauro Blanco<[email protected]> for helped me to test GME965 chip.

MODULE_DEVICE_TABLE calling in this path just for test, I am not quit sure about it.

This path waiting for your review, please help me to improve it. Thank you!

---

drivers/hwmon/Kconfig +10 -0
diff -uprN -X linux-2.6.32-rc3.orig/Documentation/dontdiff linux-2.6.32-rc3.orig/drivers/hwmon/Kconfig linux-2.6.32-rc3/drivers/hwmon/Kconfig
@@ -372,6 +372,16 @@ config SENSORS_GL520SM
 	  This driver can also be built as a module.  If so, the module
 	  will be called gl520sm.
 
+config SENSORS_GM965TEMP
+        tristate "Intel GM965 temperature sensor"
+        depends on PCI
+        help
+          If you say yes here you get support for GM965 IGP temperatue
+          sensor.
+
+          This driver can also be built as a module.  If so, the module
+          will be called gm965temp.
+
 config SENSORS_CORETEMP
 	tristate "Intel Core/Core2/Atom temperature sensor"
 	depends on X86 && EXPERIMENTAL
drivers/hwmon/Makefile +1 -0
diff -uprN -X linux-2.6.32-rc3.orig/Documentation/dontdiff linux-2.6.32-rc3.orig/drivers/hwmon/Makefile linux-2.6.32-rc3/drivers/hwmon/Makefile
@@ -46,6 +46,7 @@ obj-$(CONFIG_SENSORS_FSCHMD)	+= fschmd.o
 obj-$(CONFIG_SENSORS_G760A)	+= g760a.o
 obj-$(CONFIG_SENSORS_GL518SM)	+= gl518sm.o
 obj-$(CONFIG_SENSORS_GL520SM)	+= gl520sm.o
+obj-$(CONFIG_SENSORS_GM965TEMP)	+= gm965temp.o
 obj-$(CONFIG_SENSORS_ULTRA45)	+= ultra45_env.o
 obj-$(CONFIG_SENSORS_HDAPS)	+= hdaps.o
 obj-$(CONFIG_SENSORS_I5K_AMB)	+= i5k_amb.o
drivers/hwmon/gm965temp.c +517 -0

517 lines not on this page · raw message

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors