tech-kern archive

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

Re: LM78 driver



On Thu, 9 Oct 2008, Andrew Gillham wrote:

/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.

That's the attachment part, but the actual driver code doesn't live in dev/isa/lm_isa.c - it lives in dev/ic/lm.c which is not defined in any config 'files*' file.

For example (sources current as of yesterday):

        {335} cd /usr/src/sys/arch/i386/conf
        {336} cat TEST
        include "arch/i386/conf/GENERIC"

        lm0 at iic?
        {337} config TEST
        ../../../../dev/i2c/files.i2c:53: attaching undefined device `lm'
        *** Stop.
        {338}


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index