Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2006 00:38:34 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ru@freebsd.org
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/conf files
Message-ID:  <20060208.003834.07019294.imp@bsdimp.com>
In-Reply-To: <20060208072435.GB84804@ip.net.ua>
References:  <20060207214051.GE82738@ip.net.ua> <20060207.155809.71154982.imp@bsdimp.com> <20060208072435.GB84804@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20060208072435.GB84804@ip.net.ua>
            Ruslan Ermilov <ru@freebsd.org> writes:
: On Tue, Feb 07, 2006 at 03:58:09PM -0700, Warner Losh wrote:
: > From: Ruslan Ermilov <ru@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060208.003834.07019294.imp>