commit | 219dd1132a71875ef7097ac47f634d402478385c | [log] [tgz] |
---|---|---|
author | Pawel Moll <pawel.moll@st.com> | Mon Aug 23 20:40:40 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 25 16:30:50 2010 -0700 |
tree | 9959713985c6b2f527fc2b71930af262e866eda7 | |
parent | c6a056a349d10a6e879ca1be6067873b6feed259 [diff] |
stmmac: fix_mac_speed is called during 10/100<->1000 speed changes This patch modifies the stmmac_adjust_link() function so the fix_mac_speed() is called not only when link speed is changing between 10 and 100 Mbps (as required in RMII mode) but also for 1000 Mbps. Signed-off-by: Pawel Moll <pawel.moll@st.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>