Extending sys/dev/mii

Adrian Chadd adrian at freebsd.org
Sat Feb 11 05:23:23 UTC 2012

Hi all,

So where'd we get to with this?

I'd like to finalise a unified proposal for this.

I still like the idea of tidying up the miibus/mdiobus stuff (ie,
miibus really is an mdiobus for speaking to things, along with some
methods to do MII stuff like media change, media set, MAC PLL/type
set, etc) but I agree with ray@ that things begin to look a _lot_ more
complicated when we start trying to handle alternate methods of how
switches are connected.

So I'd like to not lose interest on this.

If we can't come to some kind of consensus, I'll just commit ray@'s
work (and cop the flak) then work with stb@ to tidy up the newbus bits
to hopefully be better for the long term.

In summary - I'm fed up that we're this close to having _something_
that looks like a workable switch API and working code but it's not in
the tree. So I'm happy stirring up trouble and copping the flak from
things if it means it Just Gets Done.


More information about the freebsd-arch mailing list