From owner-cvs-all Thu Mar 29 12:46: 4 2001 Delivered-To: cvs-all@freebsd.org Received: from meow.osd.bsdi.com (meow.osd.bsdi.com [204.216.28.88]) by hub.freebsd.org (Postfix) with ESMTP id 77E0F37B71D; Thu, 29 Mar 2001 12:45:57 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by meow.osd.bsdi.com (8.11.2/8.11.2) with ESMTP id f2TKjiG40058; Thu, 29 Mar 2001 12:45:44 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200103291953.f2TJrF977554@harmony.village.org> Date: Thu, 29 Mar 2001 12:45:20 -0800 (PST) From: John Baldwin To: Warner Losh Subject: Re: cvs commit: src/sys/dev/pccbb pccbb.c Cc: Jesper Skriver , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 29-Mar-01 Warner Losh wrote: > In message John Baldwin writes: >: I know. You could use #ifdef LINT to hack around it maybe. :-P Or just >: make >: it a general rule that now you need to test GENERIC, LINT, and NEWCARD. > > You can't hack around it. It is in the build system that the > selection is done (eg config does it). I like the general rule idea. So if you stick both oldcard nad newcard devices in the same kernel config config(8) dies? Hmm, works fine here. This is the patch I'm using. I'll see if LINT builds with this: Index: NOTES =================================================================== RCS file: /host/cvs/usr/home/ncvs/src/sys/i386/conf/NOTES,v retrieving revision 1.906 diff -u -r1.906 NOTES --- NOTES 2001/03/19 23:27:37 1.906 +++ NOTES 2001/03/29 20:41:14 @@ -2186,6 +2186,7 @@ # # PC Card/PCMCIA +# (OLDCARD) # # card: pccard slots # pcic: isa/pccard bridge @@ -2193,6 +2194,17 @@ hint.pcic.0.at="isa" hint.pcic.1.at="isa" device card + +# +# PC Card/PCMCIA and Cardbus +# (NEWCARD) +# +# pccbb: isa/pccard and pci/cardbus bridge +# pccard: pccard slots +# cardbus: cardbus slots +device pccbb +device pccard +device cardbus # You may need to reset all pccards after resuming options PCIC_RESUME_RESET # reset after resume Better descriptions accepted. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message