From 07a1bea883895522a89e632757041c364ce2e12e Mon Sep 17 00:00:00 2001 From: Laszlo Ast Date: Thu, 19 Nov 2009 11:07:12 +0100 Subject: lsi53c895a: Fix SDID in SELECT ID command See SCRIPTS Programming Guide, 3.2.17 SELECT. Signed-off-by: Laszlo Ast Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- hw/lsi53c895a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/lsi53c895a.c') diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index f466824dd9..7e141a0ac1 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -1030,7 +1030,7 @@ again: if (insn & (1 << 25)) { id = read_dword(s, s->dsa + sxt24(insn)); } else { - id = addr; + id = insn; } id = (id >> 16) & 0xf; if (insn & (1 << 26)) { -- cgit v1.2.3