From owner-cvs-all Sat Sep 29 16:59:29 2001 Delivered-To: cvs-all@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 6F96A37B403; Sat, 29 Sep 2001 16:59:10 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f8TNxAM39204; Sat, 29 Sep 2001 16:59:10 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id E6894380A; Sat, 29 Sep 2001 16:59:09 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Ian Dowse Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/conf NOTES src/sys/conf options src/sys/dev/ed if_ed.c if_ed_pccard.c if_edvar.h In-Reply-To: <200109292232.f8TMW3k38268@freefall.freebsd.org> Date: Sat, 29 Sep 2001 16:59:09 -0700 From: Peter Wemm Message-Id: <20010929235909.E6894380A@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ian Dowse wrote: > iedowse 2001/09/29 15:32:03 PDT > > Modified files: > sys/i386/conf NOTES > sys/conf options > sys/dev/ed if_ed.c if_ed_pccard.c if_edvar.h > Log: > Add an option ED_NO_MIIBUS, which causes the `ed' driver to be > built without support for miibus PHYs. Most ed cards don't need > miibus support, so it's useful to be able to avoid the bloat of > all the mii devices for small fixed-purpose kernels. This is actually a bug in miibus. There should not be references into the bowels of the miibus code. ed should be able to call the methods when required, and that is the only time it would depend on it. And it would be able to fail at runtime, not compile time. Alternatively you could kldload the miibus code and it would automagically work. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message