]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: fsl_mdio: Correct the MII management register block address
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 16 Jul 2020 10:09:11 +0000 (18:09 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
commit16c53ce7129b9362a801ffaf1abd496ffb7a5ef5
tree7cf3443b69f81e4575cbcabbc5b32eb66959e7fd
parentc54f6139ede01116179bbf1aa2058bc409e59c8a
net: fsl_mdio: Correct the MII management register block address

The MII management register block offset is different between
gianfar and etsec2 compatible devices, this patch is to fix
this issue by adding driver data for different compatible
string.

Fixes: 2932c5a802a9 ("net: tsec: fsl_mdio: add DM MDIO support")
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/fsl_mdio.c
include/fsl_mdio.h