Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 17:30:51 +0100
From:      Stefan Bethke <stb@lassitu.de>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        FreeBSD-arch <freebsd-arch@freebsd.org>
Subject:   Re: Extending sys/dev/mii
Message-ID:  <AF2CF7A4-27B8-4181-96F5-7998B126CD1C@lassitu.de>
In-Reply-To: <20120125221753.GA17821@alchemy.franken.de>
References:  <47ABA638-7E08-4350-A03C-3D4A23BF2D7E@lassitu.de> <1763C3FF-1EA0-4DC0-891D-63816EBF4A04@lassitu.de> <20120106182756.GA88161@alchemy.franken.de> <95372FB3-406F-46C2-8684-4FDB672D9FCF@lassitu.de> <20120106214741.GB88161@alchemy.franken.de> <F60B2B70-049F-4497-BBA8-3C421088C1EA@lassitu.de> <20120108130039.GG88161@alchemy.franken.de> <23477898-8D85-498C-8E30-192810BD68A8@lassitu.de> <20120111193738.GB44286@alchemy.franken.de> <66DDA0A2-F878-43FF-8824-54868F493B18@lassitu.de> <20120125221753.GA17821@alchemy.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 25.01.2012 um 23:17 schrieb Marius Strobl:

> Yes, it assumes IEEE 802.3-compliant devices and usecases. If you
> throw out all the things like auto-probing via ID registers, out-
> detection of media via the BMSR and so and which makes miibus(4)
> the generic PHY handling framework that it is or work around them,
> I hardly can think of much that would be left that justifies using
> miibus(4) in the first place though. Can't we just build another
> framework which handles all the other stuff that also just happens
> to have an MDIO interface and attach it instead?

The problem with that is that for f.e. the RTL8306, the switch and the =
PHYs coexist on the same MDIO bus, so some form of interoperation is =
required.

Don't get me wrong, my post was not meant to suggest that the current =
miibus code must be scratched or even significantly changed, I just =
wanted to document the limitations I discovered.

What I would like to do is make my new mdio bus driver into a =
full-fledged bus, and then maybe see if miibus can be extended to work =
with it more naturally than through the miiproxy adapter driver.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AF2CF7A4-27B8-4181-96F5-7998B126CD1C>