cvs commit: src/sys/conf files
M. Warner Losh
imp at bsdimp.com
Sun Feb 4 04:01:44 UTC 2007
In message: <20070204032340.GI779 at funkthat.com>
John-Mark Gurney <gurney_j at resnet.uoregon.edu> writes:
: Warner Losh wrote this message on Sat, Feb 03, 2007 at 16:18 -0700:
: > In message: <20070203194700.GF779 at funkthat.com>
: > John-Mark Gurney <gurney_j at resnet.uoregon.edu> writes:
: > : Warner Losh wrote this message on Sat, Feb 03, 2007 at 06:45 +0000:
: > : > imp 2007-02-03 06:45:02 UTC
: > : >
: > : > FreeBSD src repository
: > : >
: > : > Modified files:
: > : > sys/conf files
: > : > Log:
: > : > Mark mmc *_if.m files as standard to allow for mmc/sd being compiled
: > : > as a module.
: > : >
: > : > Submitted by: Andrea Bittau
: > :
: > : Those files don't need to be marked standard to allow module building..
: > : Either you can compile the *_if.c file as a seperate module and depend
: > : upon them, or compile the *_if.c into the module directly...
: > :
: > : Many other modules do not require their *_if.m files to be marked
: > : standard...
: > :
: > : It looks like some others could possibly be cleaned up and not made
: > : standard, such as eisa...
: >
: > Sadly, these do need to be standard to actually load the drivers. The
: > reason they are all marked standard is because it is hard to get the
: > inter-module loading issues if they aren't. The problem is best
: > illustrated by pccard. pccard provides interfaces to cbb to call, as
: > well as calls cbb interfaces. Using a module depends makes it so you
: > can't unload either of the modules...
:
: And what about creating a cbbpccardinterface module that both cbb and
: pccard depend upon?
I don't think that will work. The number of combinations is too
large, I think. I'll have to see if it is feasable to create
foo_if.ko that all the things that use it depend on...
Warner
More information about the cvs-src
mailing list