All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [patch] hwmon/pc87360: update vrm setting using
@ 2006-09-11 23:47 Jim Cromie
  2006-09-21  8:41 ` Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Cromie @ 2006-09-11 23:47 UTC (permalink / raw)
  To: lm-sensors


pc87360 currently hardcodes vrm = 90 (2.4 vintage).  Update it to use
newer code in hwmon-vid which reads cpuid to determine the correct vid.

Signed-off-by:  Jim Cromie <jim.cromie at gmail.com>

---

My board has an NSC SC-1100 (a 586-mmx class cpu), which is seen as 
unknown,
so perhaps theres more to do / investigate, but 'unknown' is certainly 
accurate at this point.

Looking at hwmon-vid.c, I note:
- it looks rather complete, at least for pentium 2 and up
- there are no i586's listed, from any vendor.
- I couldnt find anything at Intel website, or elsewhere

I reluctantly conclude that no VID standard existed back then.
Anyone have better / contradicting info ?

 pc87360.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -ruNp -X dontdiff -X exclude-diffs ../linux-2.6.18-rc6-sk/drivers/hwmon/pc87360.c vrm/drivers/hwmon/pc87360.c
--- ../linux-2.6.18-rc6-sk/drivers/hwmon/pc87360.c      2006-08-14 21:19:24.000000000 -0600
+++ vrm/drivers/hwmon/pc87360.c 2006-09-11 13:55:15.000000000 -0600
@@ -917,7 +917,7 @@ static int pc87360_detect(struct i2c_ada
                        (i&0x02) ? "external" : "internal");

                data->vid_conf = confreg[3];
-               data->vrm = 90;
+               data->vrm = vid_which_vrm();
        }

        /* Fan clock dividers may be needed before any data is read */




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-21  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-11 23:47 [lm-sensors] [patch] hwmon/pc87360: update vrm setting using Jim Cromie
2006-09-21  8:41 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.