aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Ast <laszlo.ast@siemens-enterprise.com>2009-11-19 11:07:12 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 09:41:40 -0600
commit07a1bea883895522a89e632757041c364ce2e12e (patch)
tree27a93aecd19ef72804ba03559cb1ecbb71f91f03
parent77203ea00b3abc8246722a0e6f982c2932387a09 (diff)
lsi53c895a: Fix SDID in SELECT ID command
See SCRIPTS Programming Guide, 3.2.17 SELECT. Signed-off-by: Laszlo Ast <laszlo.ast@siemens-enterprise.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/lsi53c895a.c2
1 files changed, 1 insertions, 1 deletions
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)) {