From owner-cvs-all Wed May 5 9:10:44 1999 Delivered-To: cvs-all@freebsd.org Received: from relay.nuxi.com (nuxi.cs.ucdavis.edu [169.237.7.38]) by hub.freebsd.org (Postfix) with ESMTP id 737E215120; Wed, 5 May 1999 09:10:40 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (d60-077.leach.ucdavis.edu [169.237.60.77]) by relay.nuxi.com (8.9.2/8.9.1) with ESMTP id JAA11637; Wed, 5 May 1999 09:10:38 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.9.3/8.9.1) id QAA31030; Wed, 5 May 1999 16:10:29 GMT (envelope-from obrien) Date: Wed, 5 May 1999 09:10:25 -0700 From: "David O'Brien" To: Dima Ruban Cc: Bill Paul , Nate Williams , committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pccard pccard.c Message-ID: <19990505091025.A31000@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <19990505053731.C46F215822@hub.freebsd.org> <199905050652.XAA40357@burka.rdy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199905050652.XAA40357@burka.rdy.com>; from Dima Ruban on Tue, May 04, 1999 at 11:52:37PM -0700 X-Operating-System: FreeBSD 4.0-CURRENT Organization: The NUXI BSD group X-PGP-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Keyid: 34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > > 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