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 7:13 PM, Paul Goyette <paul%whooppee.com@localhost> 
wrote:
>
> 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}

Ok, I guess I misunderstood.  I understood you thought that lm.c was
an existing NetBSD driver that wasn't used, not your own file that you
have as dev/ic/lm.c.

Unless you mean dev/ic/nslm7x.c?  That is pulled in by conf/files:
file    dev/ic/nslm7x.c                 lm                      needs-flag

-Andrew


Home | Main Index | Thread Index | Old Index