提交 b7a7179d 编写于 作者: S Stefan Richter

ieee1394: nodemgr: fix startup of knodemgrd

Revert a thinko in commit d2f119fe:
When knodemgrd starts, it needs to sleep until host->generation was
incremented above its initial value of 0.  My wrong logic caused it to
start sending requests when the bus wasn't completely ready.  Seen as
"AT dma reset ctx=0, aborting transmission" messages in 2.6.19-rc1.
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 3253b669
......@@ -1614,7 +1614,7 @@ static int nodemgr_host_thread(void *__hi)
{
struct host_info *hi = (struct host_info *)__hi;
struct hpsb_host *host = hi->host;
unsigned int g, generation = get_hpsb_generation(host) - 1;
unsigned int g, generation = 0;
int i, reset_cycles = 0;
/* Setup our device-model entries */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册