Skip to contentSkip to conversation

ESP: fix ICCS command

PATCH In review Hervé Poussineau 2 participants 2 messages Nov 29, 2008 – Nov 30, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ESP: fix ICCS command

Hi,

This patch fixes ICCS command by setting the right status and SCSI phase. This allows NetBSD 1.6.2 to discover devices on SCSI bus.

Hervé

esp.c +2 -0
Index: hw/esp.c
===================================================================
@@ -517,6 +517,8 @@
         case CMD_ICCS:
             DPRINTF("Initiator Command Complete Sequence (%2.2x)\n", val);
             write_response(s);
+            s->rregs[ESP_RINTR] = INTR_FC;
+            s->rregs[ESP_RSTAT] |= STAT_MI;
             break;
         case CMD_MSGACC:
             DPRINTF("Message Accepted (%2.2x)\n", val);
#1 lore raw
Quoted 4 lines · Hervé Poussineau

Hi,

This patch fixes ICCS command by setting the right status and SCSI phase.
This allows NetBSD 1.6.2 to discover devices on SCSI bus.

I didn't notice any difference on Sparc32 regarding NetBSD. Anyway, applied as r5818, thanks.