diff options
| author | Sheng Yang <[email protected]> | 2009-02-09 14:53:47 +0800 |
|---|---|---|
| committer | Jesse Barnes <[email protected]> | 2009-03-19 19:29:31 -0700 |
| commit | 5fe5db05f64d0d10b563b1c13b58e4a52b190686 (patch) | |
| tree | 76f014e83e2246c8d5df81fcdbcdaecc22dfb52f /tools/perf/scripts/python | |
| parent | 4c9c16867e4980fbd7d1fcc9516c9269ecb4d06f (diff) | |
PCI: Speed up device reset function
For all devices need to do function level reset, currently we need wait for
at least 200ms, which can be too long if we have lots of devices...
The patch checked pending bit before msleep() to skip some unnecessary
sleeping interval.
Signed-off-by: Sheng Yang <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions