|
@@ -678,6 +678,15 @@ static unsigned int sata_fsl_dev_classify(struct ata_port *ap)
|
|
|
return ata_dev_classify(&tf);
|
|
|
}
|
|
|
|
|
|
+static int sata_fsl_prereset(struct ata_linke *link, unsigned long deadline)
|
|
|
+{
|
|
|
+ /* FIXME: Never skip softreset, sata_fsl_softreset() is
|
|
|
+ * combination of soft and hard resets. sata_fsl_softreset()
|
|
|
+ * needs to be splitted into soft and hard resets.
|
|
|
+ */
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
static int sata_fsl_softreset(struct ata_link *link, unsigned int *class,
|
|
|
unsigned long deadline)
|
|
|
{
|
|
@@ -1157,6 +1166,7 @@ static const struct ata_port_operations sata_fsl_ops = {
|
|
|
|
|
|
.freeze = sata_fsl_freeze,
|
|
|
.thaw = sata_fsl_thaw,
|
|
|
+ .prereset = sata_fsl_prereset,
|
|
|
.softreset = sata_fsl_softreset,
|
|
|
.post_internal_cmd = sata_fsl_post_internal_cmd,
|
|
|
|