diff options
-rw-r--r-- | drivers/ata/libata-eh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index 0dbee550f9e8..67bf150fa66b 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c | |||
@@ -1810,6 +1810,10 @@ static int ata_eh_revalidate_and_attach(struct ata_port *ap, | |||
1810 | } | 1810 | } |
1811 | } | 1811 | } |
1812 | 1812 | ||
1813 | /* PDIAG- should have been released, ask cable type if post-reset */ | ||
1814 | if ((ehc->i.flags & ATA_EHI_DID_RESET) && ap->ops->cable_detect) | ||
1815 | ap->cbl = ap->ops->cable_detect(ap); | ||
1816 | |||
1813 | /* Configure new devices forward such that user doesn't see | 1817 | /* Configure new devices forward such that user doesn't see |
1814 | * device detection messages backwards. | 1818 | * device detection messages backwards. |
1815 | */ | 1819 | */ |