aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_mv.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-03-09 09:46:47 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:58 -0400
commitcffacd85bcf6fc652292001873119333555fe260 (patch)
tree6aff080df2fe51284139c87db54b2b412c05871d /drivers/ata/sata_mv.c
parenta76b62ca70662cd0ca98edf366c6637009a95f7d (diff)
[libata] sata_mv: support ->cable_detect
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r--drivers/ata/sata_mv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 2580beb70539..10cad5d9a76d 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -402,6 +402,7 @@ static const struct ata_port_operations mv5_ops = {
402 .dev_select = ata_std_dev_select, 402 .dev_select = ata_std_dev_select,
403 403
404 .phy_reset = mv_phy_reset, 404 .phy_reset = mv_phy_reset,
405 .cable_detect = ata_cable_sata,
405 406
406 .qc_prep = mv_qc_prep, 407 .qc_prep = mv_qc_prep,
407 .qc_issue = mv_qc_issue, 408 .qc_issue = mv_qc_issue,
@@ -431,6 +432,7 @@ static const struct ata_port_operations mv6_ops = {
431 .dev_select = ata_std_dev_select, 432 .dev_select = ata_std_dev_select,
432 433
433 .phy_reset = mv_phy_reset, 434 .phy_reset = mv_phy_reset,
435 .cable_detect = ata_cable_sata,
434 436
435 .qc_prep = mv_qc_prep, 437 .qc_prep = mv_qc_prep,
436 .qc_issue = mv_qc_issue, 438 .qc_issue = mv_qc_issue,
@@ -460,6 +462,7 @@ static const struct ata_port_operations mv_iie_ops = {
460 .dev_select = ata_std_dev_select, 462 .dev_select = ata_std_dev_select,
461 463
462 .phy_reset = mv_phy_reset, 464 .phy_reset = mv_phy_reset,
465 .cable_detect = ata_cable_sata,
463 466
464 .qc_prep = mv_qc_prep_iie, 467 .qc_prep = mv_qc_prep_iie,
465 .qc_issue = mv_qc_issue, 468 .qc_issue = mv_qc_issue,
@@ -1972,7 +1975,6 @@ comreset_retry:
1972 ata_port_disable(ap); 1975 ata_port_disable(ap);
1973 return; 1976 return;
1974 } 1977 }
1975 ap->cbl = ATA_CBL_SATA;
1976 1978
1977 /* even after SStatus reflects that device is ready, 1979 /* even after SStatus reflects that device is ready,
1978 * it seems to take a while for link to be fully 1980 * it seems to take a while for link to be fully