From: Wolfgang Denk Date: Tue, 06 Dec 2011 21:18:01 +0100 Subject: [U-Boot] [PATCH] mii: miiphy register address width change In-Reply-To: <1316603432-17780-1-git-send-email-chandan.nath@ti.com> References: <1316603432-17780-1-git-send-email-chandan.nath@ti.com> Message-ID: <20111206201801.18DAF1A32820@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Chandan Nath, In message <1316603432-17780-1-git-send-email-chandan.nath@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 > --- > 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