Date: Wed, 5 May 1999 09:10:25 -0700 From: "David O'Brien" <obrien@FreeBSD.ORG> To: Dima Ruban <dima@best.net> Cc: Bill Paul <wpaul@FreeBSD.ORG>, Nate Williams <nate@mt.sri.com>, committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pccard pccard.c Message-ID: <19990505091025.A31000@dragon.nuxi.com> In-Reply-To: <199905050652.XAA40357@burka.rdy.com>; from Dima Ruban on Tue, May 04, 1999 at 11:52:37PM -0700 References: <19990505053731.C46F215822@hub.freebsd.org> <199905050652.XAA40357@burka.rdy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > code has been compiled into the kernel by doing a kldstat and looking > > for the string 'pcic' in the output. Newsflash people: that doesn't work. > > Things directly compiled into the kernel don't show up in kldstat: all > > you'll see is the name of the kernel image. Actually the logic in /etc/rc.pccard is way very fragile. It runs builtin=`kldstat -v -i 1 | grep pcic | awk '{print $2}'` which on my Vaio 505tx gives: pcic_pci pcic And the result if the `kldstat' is tested as: if [ "$builtin" = "pcic" ]; then echo "PCIC module compiled in" else kldload .... which of course bombs for me. Diking /kld/pcic.ko does the job of course. ...be liberal in what you accept.... -- -- David (obrien@NUXI.com -or- obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990505091025.A31000>