Shinya Kuribayashi
d1276c76c1
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>
2008-01-16 17:37:35 -05:00
..
2008-01-09 21:48:49 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-10 01:06:02 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-10 01:06:02 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-10 01:06:02 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-08-19 10:27:34 +02:00
2007-11-25 18:35:17 +01:00
2008-01-09 21:50:47 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-10 01:06:02 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-16 17:37:35 -05:00
2008-01-10 01:06:02 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2007-11-25 18:35:17 +01:00
2008-01-16 17:05:52 -05:00
2008-01-16 17:05:52 -05:00
2008-01-10 01:06:02 +01:00
2008-01-10 01:06:02 +01:00