j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: Thu Feb 17 21:00:49 2011 New Revision: 1032 URL: http://tracker.coreboot.org/trac/openbios/changeset/1032
Log: ESP : Fix SCSI READ command length
Signed-off-by: Olivier Danet odanet@caramail.com Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/drivers/esp.c
Modified: trunk/openbios-devel/drivers/esp.c ============================================================================== --- trunk/openbios-devel/drivers/esp.c Sun Feb 13 23:30:14 2011 (r1031) +++ trunk/openbios-devel/drivers/esp.c Thu Feb 17 21:00:49 2011 (r1032) @@ -147,7 +147,7 @@ sd->id, offset);
// Setup command = Read(10) - memset(esp->buffer, 0, 10); + memset(esp->buffer, 0, 11); esp->buffer[0] = 0x80; esp->buffer[1] = READ_10;
@@ -159,7 +159,7 @@ esp->buffer[8] = 0; esp->buffer[9] = 1;
- if (do_command(esp, sd, 10, sd->bs)) + if (do_command(esp, sd, 11, sd->bs)) return 0;
return 0;