]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/ide/pci/siimage.c
IDE: Report errors during drive reset back to user space
[linux-2.6-omap-h63xx.git] / drivers / ide / pci / siimage.c
index b75e9bb390a73410c90e82dad9a059a673b4eee5..6e9d7655d89c02d1f6e426cd681428981fa66200 100644 (file)
@@ -421,8 +421,7 @@ static int sil_sata_reset_poll(ide_drive_t *drive)
                if ((sata_stat & 0x03) != 0x03) {
                        printk(KERN_WARNING "%s: reset phy dead, status=0x%08x\n",
                                            hwif->name, sata_stat);
-                       HWGROUP(drive)->polling = 0;
-                       return ide_started;
+                       return -ENXIO;
                }
        }