···595596 /*597 * FIXME:0598 * - force bit13 (80c cable present) check also for !ivb devices599 * (unless the slave device is pre-ATA3)600 */
···595596 /*597 * FIXME:598+ * - change master/slave IDENTIFY order599 * - force bit13 (80c cable present) check also for !ivb devices600 * (unless the slave device is pre-ATA3)601 */
+3-2
drivers/ide/ide-probe.c
···774 printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);775776 /*777- * Need to probe slave device first to make it release PDIAG-.0778 */779- for (unit = MAX_DRIVES - 1; unit >= 0; unit--) {780 ide_drive_t *drive = &hwif->drives[unit];781 drive->dn = (hwif->channel ? 2 : 0) + unit;782 (void) probe_for_drive(drive);
···774 printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);775776 /*777+ * Second drive should only exist if first drive was found,778+ * but a lot of cdrom drives are configured as single slaves.779 */780+ for (unit = 0; unit < MAX_DRIVES; ++unit) {781 ide_drive_t *drive = &hwif->drives[unit];782 drive->dn = (hwif->channel ? 2 : 0) + unit;783 (void) probe_for_drive(drive);