Skip to content
Commit 5c45a22b authored by Chandan Nath's avatar Chandan Nath Committed by Wolfgang Denk
Browse files

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: default avatarChandan Nath <chandan.nath@ti.com>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 0910d0bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment