summaryrefslogtreecommitdiff
path: root/drivers/message/i2o
diff options
context:
space:
mode:
authorMarkus Lidel <markus.lidel@shadowconnect.com>2004-11-07 04:06:58 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-07 04:06:58 -0800
commit77337b3cbb0548995c8b95c959ea62b60cecff1c (patch)
treea7883d7be27b4a51eadd8d6e143031e68bf14950 /drivers/message/i2o
parent107e7ba54f5dcd12b5ddbd6a41cf7a9f08b0ea4e (diff)
[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: Markus Lidel <Markus.Lidel@shadowconnect.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/message/i2o')
-rw-r--r--drivers/message/i2o/iop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/i2o/iop.c b/drivers/message/i2o/iop.c
index 46fa7dfd6eb1..e0ce5254f249 100644
--- a/drivers/message/i2o/iop.c
+++ b/drivers/message/i2o/iop.c
@@ -810,7 +810,7 @@ static int i2o_iop_systab_set(struct i2o_controller *c)
writel(c->unit + 2, &msg->body[0]);
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(0x54000000 | sb->current_mem_size, &msg->body[4]);
writel(sb->current_mem_base, &msg->body[5]);