]> git.baikalelectronics.ru Git - uboot.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)
commit29e5a7e6485118031c556ed57186c216358617b4
tree7cf3443b69f81e4575cbcabbc5b32eb66959e7fd
parentd09a52349f94bed27331f09c18542b3cc79a726c
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: 9250533f2ef4 ("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