···595595596596 /*597597 * FIXME:598598+ * - change master/slave IDENTIFY order598599 * - force bit13 (80c cable present) check also for !ivb devices599600 * (unless the slave device is pre-ATA3)600601 */
+3-2
drivers/ide/ide-probe.c
···774774 printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);775775776776 /*777777- * Need to probe slave device first to make it release PDIAG-.777777+ * Second drive should only exist if first drive was found,778778+ * but a lot of cdrom drives are configured as single slaves.778779 */779779- for (unit = MAX_DRIVES - 1; unit >= 0; unit--) {780780+ for (unit = 0; unit < MAX_DRIVES; ++unit) {780781 ide_drive_t *drive = &hwif->drives[unit];781782 drive->dn = (hwif->channel ? 2 : 0) + unit;782783 (void) probe_for_drive(drive);