diff options
| author | Octavian Purdila <[email protected]> | 2013-12-23 19:06:31 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-12-31 16:53:51 -0500 |
| commit | 8d88bbffcbac2e7ceba04a9cdff97241b6b5f1db (patch) | |
| tree | 4c78e69f9027583e2a4e812f18489eb8447761a3 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2205369a314e12fcec4781cc73ac9c08fc2b47de (diff) | |
usbnet: mcs7830: rework link state detection
Even with the quirks in commit dabdaf0c (mcs7830: Fix link state
detection) there are still spurious link-down events for some chips
where the false link-down events count go over a few hundreds.
This patch takes a more conservative approach and only looks at
link-down events where the link-down state is not combined with other
states (e.g. half/full speed, pending frames in SRAM or TX status
information valid). In all other cases we assume the link is up.
Tested on MCS7830CV-DA (USB ID 9710:7830).
Cc: Ondrej Zary <[email protected]>
Cc: Michael Leun <[email protected]>
Cc: Ming Lei <[email protected]>
Signed-off-by: Octavian Purdila <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions