Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 12:45:20 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Jesper Skriver <jesper@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/pccbb pccbb.c
Message-ID:  <XFMail.010329124520.jhb@FreeBSD.org>
In-Reply-To: <200103291953.f2TJrF977554@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 29-Mar-01 Warner Losh wrote:
> In message <XFMail.010329115054.jhb@FreeBSD.org> 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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010329124520.jhb>