]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: stmmac: Add SOCFPGA glue driver
authorDinh Nguyen <dinguyen@altera.com>
Thu, 6 Feb 2014 22:19:50 +0000 (16:19 -0600)
committerDinh Nguyen <dinguyen@altera.com>
Thu, 27 Feb 2014 03:09:37 +0000 (21:09 -0600)
commit2d237c06a4161767fe1da598d15291914a7bbeed
tree7bdba2f983f1e991aef0a18790e7f874921d00df
parent6d0abeca3242a88cab8232e4acd7e2bf088f3bc2
net: stmmac: Add SOCFPGA glue driver

Like the STi series SOCs, Altera's SOCFPGA also needs a glue layer on top of the
Synopsys gmac IP.

This patch adds the platform driver for the glue layer which configures the IP
before the generic STMMAC driver takes over.

Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Acked-by: David S. Miller <davem@davemloft.net>
---
v3: Remove stray empty line at end of dwmac-socfpga.c.
v2: Use the dwmac-sti as an example for a glue layer and split patch up
to have dts as a separate patch. Also cc dts maintainers since there is
a new binding.
drivers/net/ethernet/stmicro/stmmac/Makefile
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c [new file with mode: 0644]