projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15fdf8
)
lsi53c895a: Add support for LSI53C700 Family Compatibility bit
author
Laszlo Ast
<laszlo.ast@siemens-enterprise.com>
Thu, 19 Nov 2009 10:07:12 +0000
(11:07 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 3 Dec 2009 15:41:40 +0000
(09:41 -0600)
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>
hw/lsi53c895a.c
patch
|
blob
|
history
diff --git
a/hw/lsi53c895a.c
b/hw/lsi53c895a.c
index f0e8be9303e1707f0e60a5253e82e56e05e8d79b..0c5e50ab3e743c6854880977f4750d9ac69ff717 100644
(file)
--- a/
hw/lsi53c895a.c
+++ b/
hw/lsi53c895a.c
@@
-585,6
+585,10
@@
static void lsi_reselect(LSIState *s, uint32_t tag)
}
id = (tag >> 8) & 0xf;
s->ssid = id | 0x80;
+ /* LSI53C700 Family Compatibility, see LSI53C895A 4-73 */
+ if (!s->dcntl & LSI_DCNTL_COM) {
+ s->sfbr = 1 << (id & 0x7);
+ }
DPRINTF("Reselected target %d\n", id);
s->current_dev = s->bus.devs[id];
s->current_tag = tag;