From owner-freebsd-arch Mon Jul 15 11:25:25 2002 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 2956F37B400 for ; Mon, 15 Jul 2002 11:25:24 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68F2A43E4A for ; Mon, 15 Jul 2002 11:25:23 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 8217 invoked from network); 15 Jul 2002 18:25:22 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 15 Jul 2002 18:25:22 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g6FIPL049452 for ; Mon, 15 Jul 2002 14:25:21 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 15 Jul 2002 14:25:26 -0400 (EDT) From: John Baldwin To: arch@FreeBSD.org Subject: Splitting up options and files by subsystem Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Back when I first started working on splitting up NOTES into MI and MD sections, I brought up this idea and was met with mostly apathy. The idea is to allow a subsystem (such as ACPI or a device driver used on several platforms but not all, like atkbdc(4) and friends) to specify its NOTES, files, and options contents into subsystem-specific files that the architecture-specific files could then include. For example, we could have a NOTES.acpi, options.acpi, and files.acpi that were included by sys/{i386,ia64}/NOTES, options.{i386,ia64}, and files.{i386,ia64}. Another example would be a NOTES.atkbdc, files.atkbdc, and options.atkbdc for the atkbd(4), atkbdc(4), and psm(4) drivers and related options. IMO, this scales better than duplicating content across a bunch of different files. Trying to get an Alpha LINT to successfully config(8) is pointing out lots of places where our current model hasn't scaled. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message