diff options
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | 2008-01-16 16:11:14 +0900 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-01-16 17:37:35 -0500 |
commit | d1276c76c1e2b5035296689280ba1acb2c425104 (patch) | |
tree | 2ef8ecc21b7d213e0ee6664306acdd5d0aaff44f /doc | |
parent | 18ee320ff63edbf7b27bbeb05f0e12a52302c68a (diff) | |
download | u-boot-imx-d1276c76c1e2b5035296689280ba1acb2c425104.zip u-boot-imx-d1276c76c1e2b5035296689280ba1acb2c425104.tar.gz u-boot-imx-d1276c76c1e2b5035296689280ba1acb2c425104.tar.bz2 |
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 <shinya.kuribayashi@necel.com>
Cc: Masami Komiya <mkomiya@sonare.it>
Cc: Lucas Jin <lucasjin@gmail.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions