From owner-freebsd-doc Thu Jun 29 15:41:47 2000 Delivered-To: freebsd-doc@freebsd.org Received: from mail.ptd.net (mail1.ha-net.ptd.net [207.44.96.65]) by hub.freebsd.org (Postfix) with SMTP id D6A2337C1B1 for ; Thu, 29 Jun 2000 15:41:42 -0700 (PDT) (envelope-from tms2@mail.ptd.net) Received: (qmail 19473 invoked from network); 29 Jun 2000 22:41:47 -0000 Received: from du36.cli.ptd.net (HELO mail.ptd.net) (204.186.33.36) by mail.ptd.net with SMTP; 29 Jun 2000 22:41:47 -0000 Message-ID: <395B9762.5B95A329@mail.ptd.net> Date: Thu, 29 Jun 2000 14:37:22 -0400 From: "Thomas M. Sommers" Organization: None X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: Warner Losh Cc: doc@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: XML driver config file to replace LINT References: <395A1950.50ECD8D5@mail.ptd.net> <200006271619.BAA25205@mail.geocities.co.jp> <20000625195803.G470@kilt.nothing-going-on.org> <20000626115008.B462@catkin.nothing-going-on.org> <200006280714.BAA03596@harmony.village.org> <200006290019.SAA59924@harmony.village.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. I was thinking of something analogous to the way syscalls.master is used to generate several files. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message