From 5995fc974e50a92f148e98430295168c8fc3f840 Mon Sep 17 00:00:00 2001 From: Rene Rebe Date: Sun, 9 Feb 2014 17:02:55 +0100 Subject: 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. --- src/bloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])); -- cgit v1.2.1