From owner-freebsd-arch Sun Feb 23 17:16: 1 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87DD637B401 for ; Sun, 23 Feb 2003 17:15:59 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3644B43FCB for ; Sun, 23 Feb 2003 17:15:58 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id MAA29355 for ; Mon, 24 Feb 2003 12:15:55 +1100 Date: Mon, 24 Feb 2003 12:17:08 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: freebsd-arch@FreeBSD.ORG Subject: Re: [RFC] splitting of conf/NOTES In-Reply-To: <20030224001644.GA67255@dragon.nuxi.com> Message-ID: <20030224120037.D4403-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 23 Feb 2003, David O'Brien wrote: > I can now create a sparc64 LINT kernel with the patches at > http://people.freebsd.org/~obrien/sp64notes.diff. The essence of this > patch is to split sys/conf/NOTES into NOTES, NOTES.bt, NOTES.ext2fs, > NOTES.ps2, NOTES.raid, and NOTES.syscons. Each /sys//conf/Makefile > now looks like: > > NOTES= ../../conf/NOTES \ > ../../conf/NOTES.bt \ > ../../conf/NOTES.ext2fs \ > ../../conf/NOTES.ps2 \ > ../../conf/NOTES.raid \ > ../../conf/NOTES.syscons \ > NOTES > > LINT: ${NOTES} ../../conf/makeLINT.sed > cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > LINT > > Any comments before I commit this? Please don't commit this. Splitting NOTES into 2 files (for each arch) already made it harder to maintain and use. Parts of the above split is wrong anyway: - ext2fs is inherently MI. It doesn't compile on some arches since it has some optimizations which are only implemented (in asm) on i386's and alphas's. These optimizations are bogus -- slightly (;-) more important filesystem like ffs just use C code for the corresponding things (scanning bitmaps). - syscons is supposed to be MI. If it weren't MI, then it wouldn't be in /sys/dev ;-). - bt and some other devices may be fairly bus-dependent and have no future, but they can be removed from ../../conf/NOTES using a whole 1 `nodevice' line (but don't do too much of this or ../../conf/NOTES files would grow to have almost as much duplication as separate files). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message