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
foo_if.m -> standard in files?
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
M. Warner Losh
*nix forums Guru


Joined: 22 Mar 2002
Posts: 365

PostPosted: Sun Jun 16, 2002 10:44 pm    Post subject: foo_if.m -> standard in files? Reply with quote

I'd love to make foo_if.m files in the tree standard, to the extent
that it is possible. I've been running with this in my tree for
months and months. So far only the sound files pose any kind of
problem at all, and even that might have been fixed in the last 9
months that I've been doing this.

I've just included the interface glue, but nothing else, so the cost
is relatively small. This makes loadable drivers much easier. For
example, if you wanted to kldload if_ep.ko, but didn't have any pccard
in your tree it would fail due to the 'card' interface not being
available. Making if_ep.ko (and all drivers that have pccard
attachments) dependent on pccard isn't quite the right thing to do,
since you don't want to load that driver also load pccard code that
isn't used at all in the system just to satisfy the interface
requirements.

The cost: About 1.5k bytes. This seems quite insignificant to the
convenience that it buys.

Comments?

Warner

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:21 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 Is there any standard way to sort a disk file? Peter Olcott C++ 5 Wed Jul 19, 2006 4:42 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
No new posts Bug#378873: ITP: libsvm0-dev -- development files for Lib... Rudi Cilibrasi devel 0 Wed Jul 19, 2006 1:20 pm

Sailor Moon Music | Naruto Episodes | Debt Consolidation | Discount Magazines | Internet Dating
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.1273s ][ Queries: 16 (0.0624s) ][ GZIP on - Debug on ]