]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ethernet: arc: Keep emac compatibility for more Rockchip SoCs
authorXing Zheng <zhengxing@rock-chips.com>
Fri, 8 Jan 2016 01:35:01 +0000 (09:35 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:21:31 +0000 (22:21 -0500)
commitf4c9d3ee0334fd9c6c8f2c3a8bd7d0841880e127
tree05939fa7bfdab82cd150a22dbfb4f630834282a3
parentc9bca2fe3ca6d6dac2a27eb8619955648369efed
net: ethernet: arc: Keep emac compatibility for more Rockchip SoCs

On the RK3066/RK3188, there was fixed GRF offset configuration to set emac
and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other
SoCs (RK3036) which maybe have different GRF offset, and need adjust mac
TX/RX clock.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_rockchip.c