commit | 97f568d8e3dc031b092e6086c0534d5411fb2cf5 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Sun Jun 26 18:02:44 2005 -0400 |
committer | Jeff Garzik <jgarzik@pobox.com> | Sun Jun 26 18:02:44 2005 -0400 |
tree | 626d9dd89a55cc7515b5c1f070acceb82a72f7a6 | |
parent | 223d47278a77091b62e7d063e95860f63ca55e20 [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.