From: Jack Lange Date: Sat, 11 Oct 2008 00:21:21 +0000 (-0500) Subject: IDENTIFY DEVICE patch reverted for the time being X-Git-Tag: 1.0^2~57 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=58f350b730e9c9c091465ec1a39f2d71e92dd6f6;p=palacios.git IDENTIFY DEVICE patch reverted for the time being --- diff --git a/palacios/src/devices/ramdisk.c b/palacios/src/devices/ramdisk.c index b8bbd80..14b05e2 100644 --- a/palacios/src/devices/ramdisk.c +++ b/palacios/src/devices/ramdisk.c @@ -843,8 +843,10 @@ static int write_cmd_port(ushort_t port, void * src, uint_t length, struct vm_de value); switch (value) { +#if 0 case 0xec: // IDENTIFY DEVICE { + if (drive->device_type == IDE_NONE) { PrintError("\t\tError: disk ata%d-%d not present, aborting\n", get_channel_no(ramdisk, channel), @@ -852,6 +854,7 @@ static int write_cmd_port(ushort_t port, void * src, uint_t length, struct vm_de rd_command_aborted(dev, channel, value); break; } else if (drive->device_type == IDE_CDROM) { + PrintDebug("Identifying CDROM...Going to abort????\n"); controller->head_no = 0; controller->sector_count = 1; controller->sector_no = 1; @@ -881,6 +884,7 @@ static int write_cmd_port(ushort_t port, void * src, uint_t length, struct vm_de break; } +#endif // ATAPI commands case 0xa1: // IDENTIFY PACKET DEVICE {