summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2007-03-26 21:43:40 -0800
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:16:00 -0400
commit3be40d7665e733c2b53bac38fcb148433718f555 (patch)
tree0e5139507968a95c21b0d227008967ef6d2aa224 /drivers
parentb723d1448cbefc9fd591798d229d1dafb358bc66 (diff)
downloadop-kernel-dev-3be40d7665e733c2b53bac38fcb148433718f555.zip
op-kernel-dev-3be40d7665e733c2b53bac38fcb148433718f555.tar.gz
pata_qdI: restore cable detect
Signed-off-by: Alan Cox <number6@the-village.bc.nu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ata/pata_qdi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ata/pata_qdi.c b/drivers/ata/pata_qdi.c
index c381001..4447264 100644
--- a/drivers/ata/pata_qdi.c
+++ b/drivers/ata/pata_qdi.c
@@ -183,6 +183,7 @@ static struct ata_port_operations qdi6500_port_ops = {
.thaw = ata_bmdma_thaw,
.error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .cable_detect = ata_cable_40wire,
.qc_prep = ata_qc_prep,
.qc_issue = qdi_qc_issue_prot,
@@ -211,6 +212,7 @@ static struct ata_port_operations qdi6580_port_ops = {
.thaw = ata_bmdma_thaw,
.error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .cable_detect = ata_cable_40wire,
.qc_prep = ata_qc_prep,
.qc_issue = qdi_qc_issue_prot,
OpenPOWER on IntegriCloud