Commit 77337b3c authored by Markus Lidel's avatar Markus Lidel Committed by Linus Torvalds

[PATCH] fix bug in i2o_iop_systab_set where address is used instead of length

- Fixed bug in i2o_iop_systab_set where address is used instead of length
Signed-off-by: default avatarMarkus Lidel <Markus.Lidel@shadowconnect.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 107e7ba5
...@@ -810,7 +810,7 @@ static int i2o_iop_systab_set(struct i2o_controller *c) ...@@ -810,7 +810,7 @@ static int i2o_iop_systab_set(struct i2o_controller *c)
writel(c->unit + 2, &msg->body[0]); writel(c->unit + 2, &msg->body[0]);
writel(0, &msg->body[1]); writel(0, &msg->body[1]);
writel(0x54000000 | i2o_systab.phys, &msg->body[2]); writel(0x54000000 | i2o_systab.len, &msg->body[2]);
writel(i2o_systab.phys, &msg->body[3]); writel(i2o_systab.phys, &msg->body[3]);
writel(0x54000000 | sb->current_mem_size, &msg->body[4]); writel(0x54000000 | sb->current_mem_size, &msg->body[4]);
writel(sb->current_mem_base, &msg->body[5]); writel(sb->current_mem_base, &msg->body[5]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment