From owner-freebsd-arch@FreeBSD.ORG Tue Mar 30 15:25:04 2004 Return-Path: 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 6B31216A4CE for ; Tue, 30 Mar 2004 15:25:04 -0800 (PST) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E32143D45 for ; Tue, 30 Mar 2004 15:24:58 -0800 (PST) (envelope-from phantom@FreeBSD.org.ua) Received: from phantom.cris.net (phantom@localhost [127.0.0.1]) by phantom.cris.net (8.12.10/8.12.10) with ESMTP id i2UNOZZI065276; Wed, 31 Mar 2004 02:24:37 +0300 (EEST) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.10/8.12.10/Submit) id i2UNOUcW065275; Wed, 31 Mar 2004 02:24:30 +0300 (EEST) (envelope-from phantom) Date: Wed, 31 Mar 2004 02:24:29 +0300 From: Alexey Zelkin To: Dag-Erling Sm?rgrav Message-ID: <20040330232429.GA65170@phantom.cris.net> References: <20040328094048.GA40406@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 4.9-STABLE i386 User-Agent: Mutt/1.5.5.1i cc: arch@FreeBSD.org Subject: Re: CFD: XMLification of NOTES X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2004 23:25:04 -0000 hi, On Tue, Mar 30, 2004 at 05:05:24PM +0200, Dag-Erling Sm?rgrav wrote: > Alexey Zelkin writes: > > This weekend I have got some spare time (due to illness) and in > > order to get some rest from current tasks decided to pass thru old > > TODO file. Most interesting task got my attention was old item > > related to XMLification NOTES. > > > > Important advantage of this step (IMO) is to provide possibility to > > check dependency/conflicts of kernel configuration file to end users. > > [...] > > NOTES is not intended as a list of supported device and options. We > have src/sys/conf/files* and src/sys/conf/options* for that. Strange. IMO LINT was existed for exactly this reason (plus meta-kernel configuration file used for compiling checks). LINT and NOTES aren't so different, so you can't say that purpose of NOTES is different than LINT. > Dependencies between loadable drivers and subsystems are documented in > the source code (MODULE_DEPEND), though that information is not used > at compile time. Dependencies that involve non-loadable drivers and > subsystems are not documented anywhere (except sometimes in manual > pages). It would not be hard to modify config(8) to obtain that > information from e.g. src/sys/conf/depend*. I might even come up with > a patch if I'm bored. I am not asking for patches, but if you would provide me general description how to realize that CPU_I386 conflicts with SMP and ADAPTIVE_MUTEXES depends on SMP (using your way) I would be happy and re-think my approach. -- /* Alexey Zelkin && Independent Contractor */ /* phantom(at)FreeBSD.org && http://www.FreeBSD.org/java */ /* phantom(at)cris.net && http://www.FreeBSD.org.ua/ */