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

repository service svn at openbios.org
Sat May 7 00:35:59 CEST 2011


Author: mcayland
Date: Sat May  7 00:35:59 2011
New Revision: 1038
URL: http://tracker.coreboot.org/trac/openbios/changeset/1038

Log:
Disable mixing of DMA and FIFO messages in the Solaris ESP kernel module.

QEMU's ESP emulation currently does not support the mixing of DMA and FIFO
messages. Setting the scsi-options property prevents the Solaris ESP kernel
module from trying to use this feature by default, which otherwise would
cause boot to fail.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>

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

Modified: trunk/openbios-devel/drivers/esp.c
==============================================================================
--- trunk/openbios-devel/drivers/esp.c	Wed Apr 27 21:20:10 2011	(r1037)
+++ trunk/openbios-devel/drivers/esp.c	Sat May  7 00:35:59 2011	(r1038)
@@ -383,6 +383,14 @@
     push_str("scsi");
     fword("device-type");
 
+    /* QEMU's ESP emulation does not support mixing DMA and FIFO messages. By
+       setting this attribute, we prevent the Solaris ESP kernel driver from
+       trying to use this feature when booting a disk image (and failing) */
+    PUSH(0x58);
+    fword("encode-int");
+    push_str("scsi-options");
+    fword("property");
+
     PUSH(0x24);
     fword("encode-int");
     PUSH(0);



More information about the OpenBIOS mailing list