Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2001 16:59:09 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Ian Dowse <iedowse@FreeBSD.org>
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 
Message-ID:  <20010929235909.E6894380A@overcee.netplex.com.au>
In-Reply-To: <200109292232.f8TMW3k38268@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




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