[OpenBIOS] [commit] r1094 - trunk/openbios-devel/drivers

repository service svn at openbios.org
Mon Jan 21 00:49:17 CET 2013


Author: mcayland
Date: Mon Jan 21 00:49:16 2013
New Revision: 1094
URL: http://tracker.coreboot.org/trac/openbios/changeset/1094

Log:
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 at caramail.com>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>

Modified:
   trunk/openbios-devel/drivers/esp.c

Modified: trunk/openbios-devel/drivers/esp.c
==============================================================================
--- trunk/openbios-devel/drivers/esp.c	Mon Jan 21 00:49:14 2013	(r1093)
+++ trunk/openbios-devel/drivers/esp.c	Mon Jan 21 00:49:16 2013	(r1094)
@@ -106,7 +106,7 @@
     // 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) {



More information about the OpenBIOS mailing list