[U-Boot] [PATCH] mii: miiphy register address width change

Wolfgang Denk wd at denx.de
Tue Dec 6 21:18:01 CET 2011


Dear Chandan Nath,

In message <1316603432-17780-1-git-send-email-chandan.nath at ti.com> you wrote:
> This patch is added for PHY whose register offset value exceeds 0xFF and
> cannot be used with "unsigned char" datatype in miiphy_read, miiphy_write
> and miiphy_register functions. Datatype of register offset is changed to
> unsigned short instead of unsigned char so that offset value greater then
> 0xFF can be used.
> 
> Signed-off-by: Chandan Nath <chandan.nath at ti.com>
> ---
>  common/miiphyutil.c |    8 ++++----
>  include/miiphy.h    |   12 ++++++------
>  2 files changed, 10 insertions(+), 10 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
No one can guarantee the actions of another.
	-- Spock, "Day of the Dove", stardate unknown


More information about the U-Boot mailing list