tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: LM78 driver



On Thu, Oct 9, 2008 at 6:12 PM, Paul Goyette <paul%whooppee.com@localhost> 
wrote:
> I've just completed porting OpenBSD's LM78 (and family) driver for system
> environmental monitors, only to discover that there's already a driver in
> NetBSD (in src/sys/dev/ic/ directory).  However, there's a couple of issues:
>
> 1. The existing driver only has an ISA attachment, in src/sys/dev/isa/
>
> and
>
> 2. Even though src/sys/dev/files/isa provides an attachment for the lm
>   driver to the isa bus, there's no "device lm" anywhere, nor is there
>   any reference to the driver's source file in any .../files*

/usr/src/sys/arch/i386/conf/GENERIC:
#lm0    at isa? port 0x290              # other common: 0x280, 0x310

This matches the files.isa section:
# LM78 temp/fanspeed monitor
attach  lm at isa with lm_isa
file    dev/isa/lm_isa.c                lm_isa

I believe this is the driver you're talking about here.  I can't
answer the other questions, but I've used this driver on older x86
motherboards.  Not recently, maybe P3 on 440BX.

-Andrew


Home | Main Index | Thread Index | Old Index