esp.c: fix SCSI command code displayed in do_command() debug statement.
The SCSI command code is at position 1, the first byte is the message_out byte (=0x80, constant). Signed-off-by: Olivier DANET <odanet@caramail.com> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@1094 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
parent
c26e6096fe
commit
058b464f29
|
@ -106,7 +106,7 @@ do_command(esp_private_t *esp, sd_private_t *sd, int cmdlen, int replylen)
|
|||
// Clear interrupts to avoid guests seeing spurious interrupts
|
||||
(void)esp->ll->regs[ESP_INTRPT];
|
||||
|
||||
DPRINTF("do_command: id %d, cmd[0] 0x%x, status 0x%x\n", sd->id, esp->buffer[0], status);
|
||||
DPRINTF("do_command: id %d, cmd[0] 0x%x, status 0x%x\n", sd->id, esp->buffer[1], status);
|
||||
|
||||
/* Target didn't want all command data? */
|
||||
if ((status & ESP_STAT_TCNT) != ESP_STAT_TCNT) {
|
||||
|
|
Loading…
Reference in New Issue