* git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide-2.6: Revert "ide: skip probe if there are no devices on the port (v2)" Revert "via82cxxx: workaround h/w bugs"
···695 if (irqd)696 disable_irq(hwif->irq);697698- rc = ide_port_wait_ready(hwif);699- if (rc == -ENODEV) {700- printk(KERN_INFO "%s: no devices on the port\n", hwif->name);701- goto out;702- } else if (rc == -EBUSY)703- printk(KERN_ERR "%s: not ready before the probe\n", hwif->name);704- else705- rc = -ENODEV;706707 /*708 * Second drive should only exist if first drive was found,···707 if (drive->dev_flags & IDE_DFLAG_PRESENT)708 rc = 0;709 }710-out:711 /*712 * Use cached IRQ number. It might be (and is...) changed by probe713 * code above
···695 if (irqd)696 disable_irq(hwif->irq);697698+ if (ide_port_wait_ready(hwif) == -EBUSY)699+ printk(KERN_DEBUG "%s: Wait for ready failed before probe !\n", hwif->name);000000700701 /*702 * Second drive should only exist if first drive was found,···713 if (drive->dev_flags & IDE_DFLAG_PRESENT)714 rc = 0;715 }716+717 /*718 * Use cached IRQ number. It might be (and is...) changed by probe719 * code above