diff options
| author | Shinya Kuribayashi <[email protected]> | 2008-01-16 16:11:14 +0900 |
|---|---|---|
| committer | Ben Warren <[email protected]> | 2008-01-16 17:37:35 -0500 |
| commit | d1276c76c1e2b5035296689280ba1acb2c425104 (patch) | |
| tree | 2ef8ecc21b7d213e0ee6664306acdd5d0aaff44f /tools/scripts/flash_param | |
| parent | 18ee320ff63edbf7b27bbeb05f0e12a52302c68a (diff) | |
drivers/net/rtl8139.c: Fix tx timeout
"to = (currticks() + RTL_TIMEOUT)" has possibilities to wrap around. If it
does, the condition "(currticks() < to)" becomes invalid and immediately
leads to tx timeout error. This patch introduces the fine-graded udely(10)
loops to ease the impact of wrapping around.
Signed-off-by: Shinya Kuribayashi <[email protected]>
Cc: Masami Komiya <[email protected]>
Cc: Lucas Jin <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
Diffstat (limited to 'tools/scripts/flash_param')
0 files changed, 0 insertions, 0 deletions
