From owner-cvs-all Tue Jul 16 17:48:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24B0937B400; Tue, 16 Jul 2002 17:48:27 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id D210443E42; Tue, 16 Jul 2002 17:48:25 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id KAA12742; Wed, 17 Jul 2002 10:07:40 +1000 Date: Wed, 17 Jul 2002 10:11:23 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: John Baldwin Cc: cvs-committers@FreeBSD.org, , "M. Warner Losh" Subject: Re: cvs commit: src/sys/conf NOTES src/sys/i386/conf NOTES In-Reply-To: Message-ID: <20020717100445.H2535-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 16 Jul 2002, John Baldwin wrote: > On 15-Jul-2002 Bruce Evans wrote: > > On Mon, 15 Jul 2002, John Baldwin wrote: > > > >> On 15-Jul-2002 M. Warner Losh wrote: > >> > In message: <200207151428.g6FESMnY020349@freefall.freebsd.org> > >> > John Baldwin writes: > >> >: ... > >> >: Log: > >> >: Move ACPI device and options from MI NOTES to the i386 MD NOTES file. > >> > > >> > ACPI is also used on ia64, can you copy it there as well please? > >> > >> First we need an ia64 NOTES file grasshopper. > > > > This is going to cause problems with the simplification of putting > > almost everything in the MI NOTES. Almost nothing is 100% MI, so > > almost everything will end up back in MD NOTES if the MI NOTES is > > required to work on all arches. > > Hence my mail to arch@ about possibly having things like NOTES.acpi, > NOTES.atkbdc, etc. (same for files.foo and options.foo) that the MD ones > can include. For some things like PCI drivers, they can be in the MI > notes so long as they work on all archs that support PCI. Perhaps to > make the atkbdc case easier we should say that that driver depends on > isa (if it doesn't already). Someone mentioned ifdefs. I think they wouldn't scale very well, and NOTES.foo wouldn't scale much better (there would be lots of little files to provide sufficient granularity, and enormous ifdefs to decide when to include them). Perhaps almost everything could be handled by arch/bus dependencies, at a cost of making it unclear when things are actually configured. Most drivers would be in the central NOTES only and would be automagically not configured if they depend on something that the arch doesn't support. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message