Date: Thu, 29 Jun 2000 09:58:11 -0600 From: Warner Losh <imp@village.org> To: Nik Clayton <nik@freebsd.org> Cc: "Thomas M. Sommers" <tms2@mail.ptd.net>, doc@freebsd.org, current@freebsd.org Subject: Re: XML driver config file to replace LINT Message-ID: <200006291558.JAA34002@harmony.village.org> In-Reply-To: Your message of "Thu, 29 Jun 2000 14:42:57 BST." <20000629144257.A23415@catkin.nothing-going-on.org> References: <20000629144257.A23415@catkin.nothing-going-on.org> <20000628173457.C51610@catkin.nothing-going-on.org> <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> <395A1950.50ECD8D5@mail.ptd.net> <20000628173457.C51610@catkin.nothing-going-on.org> <200006290024.SAA59981@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20000629144257.A23415@catkin.nothing-going-on.org> Nik Clayton writes: : The .h file(s) should be generated from this XML config file, or some other : mechanism needs to be put in place to prevent a (hardware) module from : working if there isn't a functional entry for it in this XML config file. : : We've successfully demonstrated that hardware authors don't keep things : like LINT up to date. We've also successfully demonstrated that getting : volunteers to scan the mailing lists and keep HARDWARE.TXT and similar : up to date is equally futile. : : It's time to turn the tables. I'd violently oppose this. I'd rather see the XML file generated from the .h files that we already use to build the system with. You would be making it just as hard to keep things up to date with little gain from the programmer's point of view. You need to make it easier for the programmer to keep things up to date rather than harder. : I don't know enough about the -current build environment to say precisely : how this could be done (yet). But God help you all if I scrape together : sufficient resources to put together a box for -current. : : In the meantime, I'd appreciate suggestions as to how you (or anyone else) : would go about abstracting some of the core information that a driver needs : out of a source file. While I hate the idea, I'd love to see what you'd come up with. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006291558.JAA34002>