commit | b91dce4c5bc9b4454e25695c0dae5355df79a4e9 | [log] [tgz] |
---|---|---|
author | LABBE Corentin <clabbe.montjoie@gmail.com> | Thu Dec 01 16:19:41 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sat Dec 03 15:23:51 2016 -0500 |
tree | 3496fa72b3568a5182565c972f407cdb920c921c | |
parent | 01f1f615bdc5a887d39e158129e0851956fb6e05 [diff] |
net: stmmac: unify mdio functions stmmac_mdio_{read|write} and stmmac_mdio_{read|write}_gmac4 are not enought different for being split. The only differences between thoses two functions are shift/mask for addr/reg/clk_csr. This patch introduce a per platform set of variable for setting thoses shift/mask and unify mdio read and write functions. Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>