From owner-freebsd-current Thu Jun 29 8:58:31 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id BD1F137BC0D; Thu, 29 Jun 2000 08:58:19 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id JAA86152; Thu, 29 Jun 2000 09:58:17 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id JAA34002; Thu, 29 Jun 2000 09:58:11 -0600 (MDT) Message-Id: <200006291558.JAA34002@harmony.village.org> To: Nik Clayton Subject: Re: XML driver config file to replace LINT Cc: "Thomas M. Sommers" , doc@freebsd.org, current@freebsd.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> Date: Thu, 29 Jun 2000 09:58:11 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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