summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2010-09-17 05:23:39 +0200
committerDavid S. Miller <davem@davemloft.net>2010-09-18 01:12:56 +0200
commitdfb8fb96ae2b5126cd0c08c0ccd7c42e1f46568a (patch)
tree9727f43bae819ece67c1c9bc26b3cb52e236e5ce /include
parentethtool: change ethtool_set_gro() to use ethtool_op_get_rx_csum (diff)
downloadlinux-dfb8fb96ae2b5126cd0c08c0ccd7c42e1f46568a.tar.xz
linux-dfb8fb96ae2b5126cd0c08c0ccd7c42e1f46568a.zip
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 'include')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index a4adf0de6ed6..c87c88ccffc0 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -32,6 +32,7 @@
struct plat_stmmacenet_data {
int bus_id;
int pbl;
+ int clk_csr;
int has_gmac;
int enh_desc;
void (*fix_mac_speed)(void *priv, unsigned int speed);