diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2010-03-25 13:03:30 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-04-08 09:24:11 -0700 |
commit | 4352aa5bbf1d0080c2dcf904ce1e4be0a1cb5937 (patch) | |
tree | cf30890e45bd359380a610444bd36ca7d96528dc /drivers/pci/probe.c | |
parent | 73a0e614580fb650846be1e9315f6b7b6069b9cc (diff) | |
download | blackbird-op-linux-4352aa5bbf1d0080c2dcf904ce1e4be0a1cb5937.tar.gz blackbird-op-linux-4352aa5bbf1d0080c2dcf904ce1e4be0a1cb5937.zip |
PCI aerdrv: use correct bit defines and add 2ms delay to aer_root_reset
While testing completion timeouts I found that hardware was not recovering.
It looks like the hot reset was never being propagated to the endpoint
devices on the bus due to the fact that we were clearing the bit too
quickly.
The documentation I have states that we should be transmitting hot reset
TS1s for 2ms. To achieve this I have added a 2ms delay from the time we
set the secondary bus reset bit to the time we clear it. In addition I
changed the define used for the secondary bus reset bit to match the
register define that was being used.
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
0 files changed, 0 insertions, 0 deletions