commit | e31edc5a81c3f6f8caf3e026b30b1304dbfc37fd | [log] [tgz] |
---|---|---|
author | Chandan Nath <chandan.nath@ti.com> | Wed Sep 21 01:10:32 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Tue Dec 06 21:01:01 2011 +0100 |
tree | ab3115ecbb3df253d350da76a011eabee5f23dec | |
parent | 46f387d7619cb54e2b7c4f9aa25b0c23631543dd [diff] |
mii: miiphy register address width change 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@ti.com> Acked-by: Mike Frysinger <vapier@gentoo.org>