commit | 5c45a22b9203351a32aec4600514341b91175542 | [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 | 0910d0bcb85acdf09b9dfd8ded452367b540a4ad [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>