commit | aa66a5f1af163b6c90fca5a06c7fdab121b70cd2 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Tue Feb 18 21:49:04 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 18 16:40:01 2014 -0500 |
tree | b4f4481d7b3c1120d0ee3c69b2aad2aa4801853c | |
parent | f0cbe0ac87c123a80dac3b2df72ecb947ef63ad8 [diff] |
r8152: combine PHY reset with set_speed PHY reset is necessary after some hw settings. However, it would cause the linking down, and so does the set_speed function. Combine the PHY reset with set_speed function. That could reduce the frequency of linking down and accessing the PHY register. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>