diff options
author | Sheng Yang <sheng@linux.intel.com> | 2009-02-09 07:53:47 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-20 03:29:31 +0100 |
commit | 5fe5db05f64d0d10b563b1c13b58e4a52b190686 (patch) | |
tree | 76f014e83e2246c8d5df81fcdbcdaecc22dfb52f /drivers/atm/he.c | |
parent | PCI quirk: don't mark one netmos as class other (diff) | |
download | linux-5fe5db05f64d0d10b563b1c13b58e4a52b190686.tar.xz linux-5fe5db05f64d0d10b563b1c13b58e4a52b190686.zip |
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 <sheng@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/atm/he.c')
0 files changed, 0 insertions, 0 deletions