summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-12-18 17:17:16 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-01-07 19:13:16 (GMT)
commit1120f8b8169fb2cb51219d326892d963e762edb6 (patch)
tree8ee86fe0b3dffa0ebff4406f1470092c4df84f25 /include
parent904d6a303361a85bfa4c8181ef62a24edb8da0a8 (diff)
downloadlinux-fsl-qoriq-1120f8b8169fb2cb51219d326892d963e762edb6.tar.xz
PCI: handle long delays in VPD access
Accessing the VPD area can take a long time. The existing VPD access code fails consistently on my hardware. There are comments in the SysKonnect vendor driver that it can take up to 13ms per word. Change the access routines to: * use a mutex rather than spinning with IRQ's disabled and lock held * have a much longer timeout * call cond_resched while spinning Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Reviewed-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions