Skip to contentSkip to conversation

lm-sensors: add sch311x support

PATCH In review Juerg Haefliger 2 participants 3 messages Sep 4, 2007 – Sep 6, 2007 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lm-sensors: add sch311x support

This patch adds support for the SMSC sch311x Super-I/O to lm-sensors.

Signed-off-by Juerg Haefliger <juergh at gmail.com>
lib/chips.c +1 -0
Index: lm-sensors/lib/chips.c
===================================================================
@@ -6320,6 +6320,7 @@
  { SENSORS_K8TEMP_PREFIX, k8temp_features },
  { SENSORS_CORETEMP_PREFIX, coretemp_features },
  { SENSORS_DME1737_PREFIX, dme1737_features },
+ { SENSORS_SCH311X_PREFIX, dme1737_features },
  { SENSORS_APPLESMC_PREFIX, applesmc_features },
  { SENSORS_F71882FG_PREFIX, f71882fg_features },
  { 0 }
lib/chips.h +2 -1
Index: lm-sensors/lib/chips.h
===================================================================
@@ -2274,9 +2274,10 @@
 #define SENSORS_CORETEMP_TEMP1_CRIT		0x02 /* R */
 #define SENSORS_CORETEMP_TEMP1_CRIT_ALARM	0x03 /* R */
 
-/* DME1737 */
+/* DME1737 chips */
 
 #define SENSORS_DME1737_PREFIX "dme1737"
+#define SENSORS_SCH311X_PREFIX "sch311x"
 
 /* in n from 0 to 6 */
 #define SENSORS_DME1737_IN(n)			(0x01 + (n)) /* R */
prog/sensors/main.c +1 -0
Index: lm-sensors/prog/sensors/main.c
===================================================================
@@ -424,6 +424,7 @@
  	{ "k8temp", print_k8temp },
  	{ "coretemp", print_coretemp },
  	{ "dme1737", print_dme1737 },
+ 	{ "sch311x", print_dme1737 },
 	{ "applesmc", print_applesmc },
 	{ "f71882fg", print_f71882fg },
 	{ NULL, NULL }

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

#1 lore raw

Hi Juerg,

Quoted 1 line · Juerg Haefliger

This patch adds support for the SMSC sch311x Super-I/O to lm-sensors.

Great, patch applied, thank you.

I can't remember if I already proposed: do you want write access to the SVN repository? You only have to ask.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to Juerg Haefliger

Hi Jean,

Quoted 9 lines

Hi Juerg,

Quoted 1 line · Juerg Haefliger

This patch adds support for the SMSC sch311x Super-I/O to lm-sensors.

Great, patch applied, thank you.

I can't remember if I already proposed: do you want write access to the SVN repository? You only have to ask.

Not necessary, thanks. Unless it means less work for you.

...juerg

Quoted 3 lines

--
Jean Delvare

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