Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 10:14:18 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        obrien@FreeBSD.ORG
Cc:        Dima Ruban <dima@best.net>, 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:  <199905051614.KAA16880@mt.sri.com>
In-Reply-To: <19990505091025.A31000@dragon.nuxi.com>
References:  <19990505053731.C46F215822@hub.freebsd.org> <199905050652.XAA40357@burka.rdy.com> <19990505091025.A31000@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

Feel free to make it more robust.  Unfortunately, I have no way of
testing it, but I committed the code simply because it had to have been
better than what was there before. :(


Nate


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?199905051614.KAA16880>