From owner-cvs-all@FreeBSD.ORG Wed Feb 8 07:39:41 2006 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1317016A420; Wed, 8 Feb 2006 07:39:41 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A8AA43D46; Wed, 8 Feb 2006 07:39:40 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.3/8.13.3) with ESMTP id k187cLc5071163; Wed, 8 Feb 2006 00:38:21 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 08 Feb 2006 00:38:34 -0700 (MST) Message-Id: <20060208.003834.07019294.imp@bsdimp.com> To: ru@freebsd.org From: "M. Warner Losh" 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> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 08 Feb 2006 00:38:21 -0700 (MST) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/conf files X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 07:39:41 -0000 In message: <20060208072435.GB84804@ip.net.ua> Ruslan Ermilov writes: : On Tue, Feb 07, 2006 at 03:58:09PM -0700, Warner Losh wrote: : > From: Ruslan Ermilov : > 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