Subject: Re: LM support (was Re: MSI 6501 Dual AMD Athlon MP & 1.6 i386 MP kernel)
To: MLH <MLH@goathill.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-smp
Date: 09/24/2002 23:34:08
On Tue, Sep 24, 2002 at 12:10:06AM +0000, MLH wrote:
> [...]
> On page  - 103 - of :
> http://www.winbond.com/e-winbondhtm/partner/PDFResult.asp?Pname=182
> there appears to be some incorrect information that would lead one
> to believe there are only two temp sensors, but yes, if you read
> the register information, there is one 8-bit sensor and two 9-bit
> sensors.

OK, thanks

> 
> It appears that 'health' and nslm7x.c are reading the registers
> the same, however, 'health' rounds up so that it always provides
> a whole-numbered degC value while nslm7x.c converts to uK (apparently
> correctly), but I don't know what happens on printout.  I assume
> it is handled correctly.
> 
> Dumb question now...  How do I invoke the DPRINTF's so I can have
> the actual register values printed out in order to see if envstat
> is handling the printouts correctly? If NetBSD is printing correctly,
> the bios is also printing them incorrectly (in addition to 'health').

options LMDEBUG
in your kernel config file

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--