Subject: Re: LM77 temperature
To: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
From: Alexander Yurchenko <grange@rt.mipt.ru>
List: tech-kern
Date: 05/04/2006 13:13:20
On Mon, May 01, 2006 at 11:45:13PM -0400, Allen Briggs wrote:
> On Sun, Apr 30, 2006 at 02:01:43AM +0900, KIYOHARA Takashi wrote:
> > LM77 can be supported with this patch.  ;-)
> 
> Cool.
> 
> > The address is the same though LM77 uses a mask different from LM75.
> > Some registers are added. 
> 
> So it looks like you are selecting the LM77 with 'flags 2' in the
> config file, and using the address check as a kind of double-check.
> Is that right?
> 
> It would be nice if there were another way to detect the LM77 vs.
> the LM75.  Is there no way to automatically detect the LM75 or LM77?

LM77 has a Thigh register with a 64 degC powerup default value.

> If there isn't, and this works, it looks OK to me.
> 
> -allen
> 
> -- 
>                   Use NetBSD!  http://www.NetBSD.org/

-- 
   Alexander Yurchenko