diff options
author | Dinh Nguyen <dinguyen@altera.com> | 2014-03-26 22:45:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-28 15:06:32 -0400 |
commit | 801d233b7302eeab94750427a623c10c044cb0ca (patch) | |
tree | 30762d1b0832ec386d2a2b9bdbea890ba1c82086 /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | bfd2793c9559ae73ae021797f1d4b097c27f24be (diff) | |
download | op-kernel-dev-801d233b7302eeab94750427a623c10c044cb0ca.zip op-kernel-dev-801d233b7302eeab94750427a623c10c044cb0ca.tar.gz |
net: stmmac: Add SOCFPGA glue driver
Like the STi and sunxi 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index f9e60d7..ca01035 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -136,6 +136,9 @@ extern const struct stmmac_of_data sun7i_gmac_data; #ifdef CONFIG_DWMAC_STI extern const struct stmmac_of_data sti_gmac_data; #endif +#ifdef CONFIG_DWMAC_SOCFPGA +extern const struct stmmac_of_data socfpga_gmac_data; +#endif extern struct platform_driver stmmac_pltfr_driver; static inline int stmmac_register_platform(void) { |