diff options
author | Brandon Philips <[email protected]> | 2010-06-16 16:21:58 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-06-23 14:37:04 -0700 |
commit | 38000a94a902e94ca8b5498f7871c6316de8957a (patch) | |
tree | 3f749a720a341e8598017f5ab1f417d7a3625c87 /tools/perf/util/trace-event-scripting.c | |
parent | 6b2a541db58dba5860ccbcfaf36caee064b8a9fd (diff) |
sky2: enable rx/tx in sky2_phy_reinit()
sky2_phy_reinit is called by the ethtool helpers sky2_set_settings,
sky2_nway_reset and sky2_set_pauseparam when netif_running.
However, at the end of sky2_phy_init GM_GP_CTRL has GM_GPCR_RX_ENA and
GM_GPCR_TX_ENA cleared. So, doing these commands causes the device to
stop working:
$ ethtool -r eth0
$ ethtool -A eth0 autoneg off
Fix this issue by enabling Rx/Tx after running sky2_phy_init in
sky2_phy_reinit.
Signed-off-by: Brandon Philips <[email protected]>
Tested-by: Brandon Philips <[email protected]>
Cc: [email protected]
Tested-by: Mike McCormack <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions