commit | 0fb98db19700a4e1d80de401ffab42871c388dd9 | [log] [tgz] |
---|---|---|
author | Heiko Stübner <heiko@sntech.de> | Sun Jun 21 21:52:53 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 23 06:49:25 2015 -0700 |
tree | 654daa7afe368cad267de99baaea0fc494fcce28 | |
parent | c48fa33c1fb2ccdb4bcc863a7b841f11efe0f8b0 [diff] |
net: stmmac: dwmac-rk: abstract access to mac settings in GRF The mac settings like RGMII/RMII, speeds etc are done in the so called "General Register Files", contain numerous other settings as well and always seem to change between Rockchip SoCs. Therefore abstract the register accesses into a per-soc ops struct to make this reusable on other Rockchip SoCs. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: David S. Miller <davem@davemloft.net>