diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2010-09-16 23:23:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-09-17 19:12:56 -0400 |
commit | dfb8fb96ae2b5126cd0c08c0ccd7c42e1f46568a (patch) | |
tree | 9727f43bae819ece67c1c9bc26b3cb52e236e5ce /drivers/net/stmmac/stmmac_main.c | |
parent | 67c9660831f6b6b76866a0838466c83765ffbbd3 (diff) |
stmmac: add CSR Clock range selection
This patch adds the CSR Clock range selection.
Original patch from Johannes Stezenbach fixed the CSR
in the stmmac_mdio. We agreed to provide this through
the platform instead of.
Also thanks to Johannes for having tested it on ARM.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/stmmac_main.c')
-rw-r--r-- | drivers/net/stmmac/stmmac_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/stmmac/stmmac_main.c b/drivers/net/stmmac/stmmac_main.c index 03c160c6d75c..a169b1441d50 100644 --- a/drivers/net/stmmac/stmmac_main.c +++ b/drivers/net/stmmac/stmmac_main.c | |||
@@ -1704,6 +1704,7 @@ static int stmmac_dvr_probe(struct platform_device *pdev) | |||
1704 | plat_dat = pdev->dev.platform_data; | 1704 | plat_dat = pdev->dev.platform_data; |
1705 | priv->bus_id = plat_dat->bus_id; | 1705 | priv->bus_id = plat_dat->bus_id; |
1706 | priv->pbl = plat_dat->pbl; /* TLI */ | 1706 | priv->pbl = plat_dat->pbl; /* TLI */ |
1707 | priv->mii_clk_csr = plat_dat->clk_csr; | ||
1707 | priv->is_gmac = plat_dat->has_gmac; /* GMAC is on board */ | 1708 | priv->is_gmac = plat_dat->has_gmac; /* GMAC is on board */ |
1708 | priv->enh_desc = plat_dat->enh_desc; | 1709 | priv->enh_desc = plat_dat->enh_desc; |
1709 | priv->ioaddr = addr; | 1710 | priv->ioaddr = addr; |