]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jan 2014 13:24:47 +0000 (21:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 04:02:41 +0000 (20:02 -0800)
commit660c6466f627b3eb5d7a5ae3e7789cfa3c3c6103
tree883ebd0c4ccd98de59579a8b665ff7e7bbcf58e7
parentd192e73f8e829fb0ed4257d1410620c68dafb640
net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's

The Allwinner A20 has an ethernet controller that seems to be
an early version of Synopsys DesignWare MAC 10/100/1000 Universal,
which is supported by the stmmac driver.

Allwinner's GMAC requires setting additional registers in the SoC's
clock control unit.

The exact version of the DWMAC IP that Allwinner uses is unknown,
thus the exact feature set is unknown.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.txt [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/Kconfig
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/dwmac-sunxi.c [new file with mode: 0644]
drivers/net/ethernet/stmicro/stmmac/stmmac.h
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c