aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-03-09 08:37:46 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:57 -0400
commita73984a0d5664fa1bfdd9f0a475b8d74af7f44a6 (patch)
tree5d9e919be73fdc84ac66a9822a1a0fcc86840b90 /drivers/ata/pata_legacy.c
parentfecfda5d88dcc3775f72d6f3a55d11b77c67f878 (diff)
[libata] More PATA driver ->cable_detect support
Roll-up of ->cable_detect feature addition patches, authored and signed-off-by Alan Cox. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r--drivers/ata/pata_legacy.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index 86fbcd6a742b..0b1749a84df2 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -162,6 +162,7 @@ static struct ata_port_operations simple_port_ops = {
162 .thaw = ata_bmdma_thaw, 162 .thaw = ata_bmdma_thaw,
163 .error_handler = ata_bmdma_error_handler, 163 .error_handler = ata_bmdma_error_handler,
164 .post_internal_cmd = ata_bmdma_post_internal_cmd, 164 .post_internal_cmd = ata_bmdma_post_internal_cmd,
165 .cable_detect = ata_cable_40wire,
165 166
166 .qc_prep = ata_qc_prep, 167 .qc_prep = ata_qc_prep,
167 .qc_issue = ata_qc_issue_prot, 168 .qc_issue = ata_qc_issue_prot,
@@ -185,6 +186,7 @@ static struct ata_port_operations legacy_port_ops = {
185 .check_status = ata_check_status, 186 .check_status = ata_check_status,
186 .exec_command = ata_exec_command, 187 .exec_command = ata_exec_command,
187 .dev_select = ata_std_dev_select, 188 .dev_select = ata_std_dev_select,
189 .cable_detect = ata_cable_40wire,
188 190
189 .freeze = ata_bmdma_freeze, 191 .freeze = ata_bmdma_freeze,
190 .thaw = ata_bmdma_thaw, 192 .thaw = ata_bmdma_thaw,
@@ -305,6 +307,7 @@ static struct ata_port_operations pdc20230_port_ops = {
305 .thaw = ata_bmdma_thaw, 307 .thaw = ata_bmdma_thaw,
306 .error_handler = ata_bmdma_error_handler, 308 .error_handler = ata_bmdma_error_handler,
307 .post_internal_cmd = ata_bmdma_post_internal_cmd, 309 .post_internal_cmd = ata_bmdma_post_internal_cmd,
310 .cable_detect = ata_cable_40wire,
308 311
309 .qc_prep = ata_qc_prep, 312 .qc_prep = ata_qc_prep,
310 .qc_issue = ata_qc_issue_prot, 313 .qc_issue = ata_qc_issue_prot,
@@ -360,6 +363,7 @@ static struct ata_port_operations ht6560a_port_ops = {
360 .thaw = ata_bmdma_thaw, 363 .thaw = ata_bmdma_thaw,
361 .error_handler = ata_bmdma_error_handler, 364 .error_handler = ata_bmdma_error_handler,
362 .post_internal_cmd = ata_bmdma_post_internal_cmd, 365 .post_internal_cmd = ata_bmdma_post_internal_cmd,
366 .cable_detect = ata_cable_40wire,
363 367
364 .qc_prep = ata_qc_prep, 368 .qc_prep = ata_qc_prep,
365 .qc_issue = ata_qc_issue_prot, 369 .qc_issue = ata_qc_issue_prot,
@@ -426,6 +430,7 @@ static struct ata_port_operations ht6560b_port_ops = {
426 .thaw = ata_bmdma_thaw, 430 .thaw = ata_bmdma_thaw,
427 .error_handler = ata_bmdma_error_handler, 431 .error_handler = ata_bmdma_error_handler,
428 .post_internal_cmd = ata_bmdma_post_internal_cmd, 432 .post_internal_cmd = ata_bmdma_post_internal_cmd,
433 .cable_detect = ata_cable_40wire,
429 434
430 .qc_prep = ata_qc_prep, 435 .qc_prep = ata_qc_prep,
431 .qc_issue = ata_qc_issue_prot, 436 .qc_issue = ata_qc_issue_prot,
@@ -547,6 +552,7 @@ static struct ata_port_operations opti82c611a_port_ops = {
547 .thaw = ata_bmdma_thaw, 552 .thaw = ata_bmdma_thaw,
548 .error_handler = ata_bmdma_error_handler, 553 .error_handler = ata_bmdma_error_handler,
549 .post_internal_cmd = ata_bmdma_post_internal_cmd, 554 .post_internal_cmd = ata_bmdma_post_internal_cmd,
555 .cable_detect = ata_cable_40wire,
550 556
551 .qc_prep = ata_qc_prep, 557 .qc_prep = ata_qc_prep,
552 .qc_issue = ata_qc_issue_prot, 558 .qc_issue = ata_qc_issue_prot,
@@ -680,6 +686,7 @@ static struct ata_port_operations opti82c46x_port_ops = {
680 .thaw = ata_bmdma_thaw, 686 .thaw = ata_bmdma_thaw,
681 .error_handler = ata_bmdma_error_handler, 687 .error_handler = ata_bmdma_error_handler,
682 .post_internal_cmd = ata_bmdma_post_internal_cmd, 688 .post_internal_cmd = ata_bmdma_post_internal_cmd,
689 .cable_detect = ata_cable_40wire,
683 690
684 .qc_prep = ata_qc_prep, 691 .qc_prep = ata_qc_prep,
685 .qc_issue = opti82c46x_qc_issue_prot, 692 .qc_issue = opti82c46x_qc_issue_prot,