From: Laszlo Ast Date: Thu, 19 Nov 2009 10:07:12 +0000 (+0100) Subject: lsi53c895a: Add support for LSI53C700 Family Compatibility bit X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cc9f28bc2a95eb96959c39ce498800bbd95cc77b;p=qemu.git lsi53c895a: Add support for LSI53C700 Family Compatibility bit Signed-off-by: Laszlo Ast Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index f0e8be9303..0c5e50ab3e 100644 --- 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;