aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Fainelli <[email protected]>2010-05-16 02:30:56 +0000
committerDavid S. Miller <[email protected]>2010-05-17 17:44:36 -0700
commitce26b4d1d52c9a881a99fd316c32e58cdf2d586e (patch)
tree2bd36f052362f140d6aeea0182fa4039c20d4545 /tools/perf/scripts/python
parentb14ed884df5968b0977114ebd5a22f58d0d15315 (diff)
r6040: fix link checking with switches
The current link checking logic only works for one port, which is not correct for swiches were multiple ports can have different link status. As a result we would only check for link status on port 1 of the switch. Move the calls to mii_check_media in r6040_timer which will be polling a single PHY chip correctly and assume link is up for switches. Signed-off-by: Florian Fainelli <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions