Date: Mon, 15 Jul 2002 14:25:26 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: arch@FreeBSD.org Subject: Splitting up options and files by subsystem Message-ID: <XFMail.20020715142526.jhb@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org> <>< 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020715142526.jhb>