From owner-freebsd-doc Thu Jun 29 0:55:18 2000 Delivered-To: freebsd-doc@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id 6B96337B8FE; Thu, 29 Jun 2000 00:55:12 -0700 (PDT) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id 7C5C12DC0A; Thu, 29 Jun 2000 10:01:01 +0200 (CEST) Received: by mx.webgiro.com (Postfix, from userid 1001) id 4FCB07817; Thu, 29 Jun 2000 09:53:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 43C3810E17; Thu, 29 Jun 2000 09:53:04 +0200 (CEST) Date: Thu, 29 Jun 2000 09:53:04 +0200 (CEST) From: Andrzej Bialecki To: Warner Losh Cc: "Thomas M. Sommers" , doc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: XML driver config file to replace LINT In-Reply-To: <200006290019.SAA59924@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 28 Jun 2000, Warner Losh wrote: > In message <395A1950.50ECD8D5@mail.ptd.net> "Thomas M. Sommers" writes: > : Warner Losh wrote: > : > > : > Any reason that the .c/.h files of the drivers couldn't be used to > : > generate this information? > : > : Or perhaps the other way around. > > No. I'm saying that the .c and .h files (likely .h) are the source to > the driver and driver maintanier are 1000% more likely to keep those > up to date than they are xxx.xml. Right now, with modules, you can > easily not have to worry about any config issues outside of those > files. Forcing a doc file just to get docs and breaking this is > undesirable. Expanding what the driver writers are already doing > a little seems like a smarter move. Hmmm.. What if we define a set of macros that are required in order to properly register the driver, but at the same time contain fields like "descr", "syntax"... Something similar to sysctl descriptions.. Oops, perhaps not the best example... ;-) Andrzej Bialecki // WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message