diff options
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r-- | drivers/ata/sata_fsl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 9c4e6a6698c2..fddd346b1d57 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -678,6 +678,15 @@ static unsigned int sata_fsl_dev_classify(struct ata_port *ap) | |||
678 | return ata_dev_classify(&tf); | 678 | return ata_dev_classify(&tf); |
679 | } | 679 | } |
680 | 680 | ||
681 | static int sata_fsl_prereset(struct ata_linke *link, unsigned long deadline) | ||
682 | { | ||
683 | /* FIXME: Never skip softreset, sata_fsl_softreset() is | ||
684 | * combination of soft and hard resets. sata_fsl_softreset() | ||
685 | * needs to be splitted into soft and hard resets. | ||
686 | */ | ||
687 | return 0; | ||
688 | } | ||
689 | |||
681 | static int sata_fsl_softreset(struct ata_link *link, unsigned int *class, | 690 | static int sata_fsl_softreset(struct ata_link *link, unsigned int *class, |
682 | unsigned long deadline) | 691 | unsigned long deadline) |
683 | { | 692 | { |
@@ -1157,6 +1166,7 @@ static const struct ata_port_operations sata_fsl_ops = { | |||
1157 | 1166 | ||
1158 | .freeze = sata_fsl_freeze, | 1167 | .freeze = sata_fsl_freeze, |
1159 | .thaw = sata_fsl_thaw, | 1168 | .thaw = sata_fsl_thaw, |
1169 | .prereset = sata_fsl_prereset, | ||
1160 | .softreset = sata_fsl_softreset, | 1170 | .softreset = sata_fsl_softreset, |
1161 | .post_internal_cmd = sata_fsl_post_internal_cmd, | 1171 | .post_internal_cmd = sata_fsl_post_internal_cmd, |
1162 | 1172 | ||