commit | 06e92c33999fd66128c2256b0461455633c3d53c | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Thu Oct 06 23:36:22 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 09 23:50:59 2011 -0400 |
tree | ee8bb0b4d7c53cee8ab9eefbae1dc44346d72d17 | |
parent | f0ec7177e239ed94a398a6c70b38530ff1393cb7 [diff] |
r6040: invoke phy_{start,stop} when appropriate Joe reported to me that right after a bring up of a r6040 interface the ethtool output had no consistent output with respect to link duplex and speed. Fix this by adding a missing phy_start call in r6040_up and conversely a phy_stop call in r6040_down to properly initialize phy states. Reported-by: Joe Chou <Joe.Chou@rdc.com.tw> Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>