[U-Boot] Why do we need both MDIO and MII commands
trini at konsulko.com
Fri Sep 13 14:07:56 UTC 2019
On Fri, Sep 13, 2019 at 03:52:58PM +0300, Ramon Fried wrote:
> On Thu, Sep 12, 2019 at 5:55 PM Tom Rini <trini at konsulko.com> wrote:
> > On Wed, Sep 11, 2019 at 10:58:22PM +0300, Ramon Fried wrote:
> > > Hi.
> > > Marek raised this issue in IRC several weeks ago and I was wondering
> > > the same. why do we support this two commands which accomplish
> > > basically the same ?
> > >
> > > Can we ditch the mii comand and move the missing functionality to the
> > > mdio command ?
> > Patch that also include a compatibility option would be a good thing to
> > see, yes.
> I learned the history of both of the commands and and also read some
> of the IEEE standard
> regarding the mii command (clause 22) and mdio command (clause 45).
> Basically, clause 45 is en extension which is not supported by old devices.
> Addressing method is different, and I think it will be cumbersome to
> create a single command
> that handles both.
> When I rethink it, I think we should keep both the commands.
> Any thoughts ?
Thanks for reading into it more. This sounds like things that would be
good to have in the help text of both Kconfig entries so it's clear for
the next person to ask why what the answer is.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the U-Boot