diff options
author | Yu Zhao <yu.zhao@intel.com> | 2009-06-13 09:52:13 +0200 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-06-16 23:30:15 +0200 |
commit | 8c1c699fec9e9021bf6ff0285dee086bb27aec90 (patch) | |
tree | 4af7bd96c1b651633ff7b6721959aeacd120e4ee /lib/rwsem.c | |
parent | PCI AER: software error injection (diff) | |
download | linux-8c1c699fec9e9021bf6ff0285dee086bb27aec90.tar.xz linux-8c1c699fec9e9021bf6ff0285dee086bb27aec90.zip |
PCI: cleanup Function Level Reset
This patch enhances the FLR functions:
1) remove disable_irq() so the shared IRQ won't be disabled.
2) replace the 1s wait with 100, 200 and 400ms wait intervals
for the Pending Transaction.
3) replace mdelay() with msleep().
4) add might_sleep().
5) lock the device to prevent PM suspend from accessing the CSRs
during the reset.
6) coding style fixes.
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'lib/rwsem.c')
0 files changed, 0 insertions, 0 deletions