aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-06-26 18:02:44 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-26 18:02:44 -0400
commit97f568d8e3dc031b092e6086c0534d5411fb2cf5 (patch)
tree626d9dd89a55cc7515b5c1f070acceb82a72f7a6 /drivers/infiniband/ulp
parent223d47278a77091b62e7d063e95860f63ca55e20 (diff)
8139cp: safer spin loop for get_statistics
The spin loop in 8139cp is limited to 100 iterations when pulling hardware stats. There is no allowance for processor speed so on a fast machine, the stats may not be available that fast. Also, if the board doesn't return soon enough make sure turn the address back off to prevent later updates when memory has gone away.
Diffstat (limited to 'drivers/infiniband/ulp')
0 files changed, 0 insertions, 0 deletions