cvs commit: src/sys/conf files

M. Warner Losh imp at bsdimp.com
Tue Feb 7 23:39:41 PST 2006


In message: <20060208072435.GB84804 at ip.net.ua>
            Ruslan Ermilov <ru at freebsd.org> writes:
: On Tue, Feb 07, 2006 at 03:58:09PM -0700, Warner Losh wrote:
: > From: Ruslan Ermilov <ru at FreeBSD.org>
: > Subject: Re: cvs commit: src/sys/conf files
: > Date: Tue, 7 Feb 2006 23:40:51 +0200
: > 
: > > On Tue, Feb 07, 2006 at 06:41:57PM +0000, Warner Losh wrote:
: > > > imp         2006-02-07 18:41:57 UTC
: > > > 
: > > >   FreeBSD src repository
: > > > 
: > > >   Modified files:
: > > >     sys/conf             files 
: > > >   Log:
: > > >   Allow one to subset phy.  If you want the kitchen sink, use device
: > > >   miibus (like today).  If you want a subset, choose device mii and zero
: > > >   or more phy to include.  We always include unkphy.  We make use of
: > > >   the | functionality that ruslan recently added to config.
: > > >   
: > > >   This allowed me to trim 57k from my KB9202 kernel.
: > > >   
: > > >   Revision  Changes    Path
: > > >   1.1096    +30 -26    src/sys/conf/files
: > > > 
: > > Would also be neat if driver modules grew up dependencies on PHY modules.
: > 
: > My changes don't touch the module.  Usually you don't care so much
: > about size with modules (if you did, you'd build it static).  Some of
: > the phy might be able to move to a specific driver, however...  We've
: > already moved a few of them.
: > 
: I mean, most MII drivers now depend on miibus modules where they can
: now depend on a small subset of specific PHY modules.  From the above
: it's not clear if you think it would be good or not?

Right now most of the MAC drivers depend on the miibus module.  If
there's MAC drivers that have only one phy, that phy should be
co-located with that mac driver's module, which should depend on
miibus.  It might be hard to support both mii and miibus as modules, I
think.

Warner



More information about the cvs-all mailing list