]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-rk: add rk3366 & rk3399 specific data
authorRoger Chen <roger.chen@rock-chips.com>
Thu, 1 Sep 2016 17:49:59 +0000 (01:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2016 00:08:56 +0000 (17:08 -0700)
commit98423dd4ab2c28a7522fcf6a95f3e43861d41256
tree65d6be2289d25abcd0331bde1930d88ce501450e
parentc312ca7c3a258dee97230cedf578415cf8970496
net: stmmac: dwmac-rk: add rk3366 & rk3399 specific data

Add constants and callback functions for the dwmac on rk3228/rk3229 socs.
As can be seen, the base structure is the same, only registers and the
bits in them moved slightly.

Signed-off-by: Roger Chen <roger.chen@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/rockchip-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c