summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Rebe <rene@exactcode.de>2014-02-09 17:02:55 +0100
committerAndreas Färber <andreas.faerber@web.de>2014-03-02 18:03:05 +0100
commit5995fc974e50a92f148e98430295168c8fc3f840 (patch)
treede808dbb893769b8f76e3ded8347ec1ffb8b5348
parent4be9d6e46808336623188417aa0f21d9d34b208a (diff)
downloadqemu-openhackware-5995fc974e50a92f148e98430295168c8fc3f840.tar.gz
ide: Workaround for CD-ROM boot
In qemu r3309 j_mayer did some "Quickly hack PowerPC BIOS able to boot on CDROM again.", as I did not feel like disassemble to find out this worked for me for now.
-rw-r--r--src/bloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bloc.c b/src/bloc.c
index 309b343..b171ed6 100644
--- a/src/bloc.c
+++ b/src/bloc.c
@@ -1038,7 +1038,7 @@ static int ide_initialize (bloc_device_t *bd, int device)
status = ide_port_read(bd, 0x07);
if (status != 0x08) {
ERROR("ATAPI TEST_UNIT_READY : status %0x != 0x08\n", status);
- return -1;
+ /*return -1;*/ /* fails to boot from cdrom? */
}
for (i = 0; i < 3; i++) {
ide_data_writel(bd, ldswap32(&atapi_buffer[i]));