| Submitter | Kevin O'Connor |
|---|---|
| Date | Nov. 20, 2009, 6:03 p.m. |
| Message ID | <20091120180351.GA21458@morn.localdomain> |
| Download | mbox | patch |
| Permalink | /patch/38933/ |
| State | New |
| Headers | show |
Comments
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);