|
@@ -3368,7 +3368,7 @@ int ata_std_prereset(struct ata_port *ap, unsigned long deadline)
|
|
|
*/
|
|
|
if (!(ap->flags & ATA_FLAG_SKIP_D2H_BSY) && !ata_port_offline(ap)) {
|
|
|
rc = ata_wait_ready(ap, deadline);
|
|
|
- if (rc) {
|
|
|
+ if (rc && rc != -ENODEV) {
|
|
|
ata_port_printk(ap, KERN_WARNING, "device not ready "
|
|
|
"(errno=%d), forcing hardreset\n", rc);
|
|
|
ehc->i.action |= ATA_EH_HARDRESET;
|