Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-29 Thread Joe Hershberger
On Wed, Nov 16, 2016 at 2:24 AM, Michal Simek wrote: > It is confusing that mdio commands work and report phy id as > decimal value when mii is working with hex values. > > For example: > ZynqMP> mdio list > gem: > 21 - TI DP83867 <--> ethernet@ff0e > ZynqMP> mdio read ethernet@ff0e 0 > Re

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-17 Thread Simon Glass
On 16 November 2016 at 01:24, Michal Simek wrote: > It is confusing that mdio commands work and report phy id as > decimal value when mii is working with hex values. > > For example: > ZynqMP> mdio list > gem: > 21 - TI DP83867 <--> ethernet@ff0e > ZynqMP> mdio read ethernet@ff0e 0 > Readi

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-16 Thread Dongpo Li
On 2016/11/16 16:24, Michal Simek wrote: > It is confusing that mdio commands work and report phy id as > decimal value when mii is working with hex values. > > For example: > ZynqMP> mdio list > gem: > 21 - TI DP83867 <--> ethernet@ff0e > ZynqMP> mdio read ethernet@ff0e 0 > Reading from

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-16 Thread Dongpo Li
On 2016/11/16 17:31, Michal Simek wrote: > On 16.11.2016 10:22, Dongpo Li wrote: >> >> >> On 2016/11/16 16:24, Michal Simek wrote: >>> It is confusing that mdio commands work and report phy id as >>> decimal value when mii is working with hex values. >>> >>> For example: >>> ZynqMP> mdio list >>>

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-16 Thread Michal Simek
On 16.11.2016 11:08, Dongpo Li wrote: > > > On 2016/11/16 17:31, Michal Simek wrote: >> On 16.11.2016 10:22, Dongpo Li wrote: >>> >>> >>> On 2016/11/16 16:24, Michal Simek wrote: It is confusing that mdio commands work and report phy id as decimal value when mii is working with hex valu

Re: [U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-16 Thread Michal Simek
On 16.11.2016 10:22, Dongpo Li wrote: > > > On 2016/11/16 16:24, Michal Simek wrote: >> It is confusing that mdio commands work and report phy id as >> decimal value when mii is working with hex values. >> >> For example: >> ZynqMP> mdio list >> gem: >> 21 - TI DP83867 <--> ethernet@ff0e >> Z

[U-Boot] [RFC PATCH] common: miiphyutil: Work and report phy address in hex in mdio cmd

2016-11-16 Thread Michal Simek
It is confusing that mdio commands work and report phy id as decimal value when mii is working with hex values. For example: ZynqMP> mdio list gem: 21 - TI DP83867 <--> ethernet@ff0e ZynqMP> mdio read ethernet@ff0e 0 Reading from bus gem PHY at address 21: 0 - 0x1140 ZynqMP> mii dump 21 0