diff mbox

SeaBIOS cdrom regression with Vista

Message ID 20091120180351.GA21458@morn.localdomain (mailing list archive)
State New, archived
Headers show

Commit Message

Kevin O'Connor Nov. 20, 2009, 6:03 p.m. UTC
None
diff mbox

Patch

--- a/src/ata.c
+++ b/src/ata.c
@@ -713,9 +713,14 @@  ata_detect(void *data)
             last_reset_ataid = ataid;
         }
 
+//        if (slave)
+//            continue;
+
         // check for ATAPI
         u16 buffer[256];
         struct drive_s *drive_g = init_drive_atapi(&dummy, buffer);
+        if (slave)
+            continue;
         if (!drive_g) {
             // Didn't find an ATAPI drive - look for ATA drive.
             u8 st = inb(iobase1+ATA_CB_STAT);