niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Splitting up options and files by subsystem
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
John Baldwin
*nix forums Guru Wannabe


Joined: 27 Mar 2002
Posts: 278

PostPosted: Mon Jul 15, 2002 6:25 pm    Post subject: Splitting up options and files by subsystem Reply with quote

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(Cool 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
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 5:28 am | All times are GMT
navigation Forum index » *nix » BSD » FreeBSD » mail-lists » Architecture
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts howto log in from one bsd-server to another and move file... Tobias Steer FreeBSD 3 Thu Jul 20, 2006 10:02 am
No new posts Dev Database Refresh Options meathammer Server 3 Wed Jul 19, 2006 10:05 pm
No new posts Splitting a string into an array words Simon C++ 9 Wed Jul 19, 2006 4:17 pm
No new posts Binary Files Ronin C++ 8 Wed Jul 19, 2006 3:12 pm
No new posts Bug#378877: ITP: libsvm-doc -- documentation and example ... Rudi Cilibrasi devel 0 Wed Jul 19, 2006 1:50 pm

Online Advertising | Bankruptcy | Short Bowel Syndrome | Credit Card Advice | Tour Management Software
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1319s ][ Queries: 16 (0.0672s) ][ GZIP on - Debug on ]