summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sc1200.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-03-08 22:58:03 +0000
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:57 -0400
commit745975c052cc8e808860c8634a2efdcc2da6dd01 (patch)
tree69b0bf2ce18b739666748ed362b817a686e28403 /drivers/ata/pata_sc1200.c
parent2a25dfe4f43b2199376424dce67ed11e3e276467 (diff)
downloadop-kernel-dev-745975c052cc8e808860c8634a2efdcc2da6dd01.zip
op-kernel-dev-745975c052cc8e808860c8634a2efdcc2da6dd01.tar.gz
pata_sc1200: restore cable type
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_sc1200.c')
-rw-r--r--drivers/ata/pata_sc1200.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c
index 93b3ed0..66e8ff4 100644
--- a/drivers/ata/pata_sc1200.c
+++ b/drivers/ata/pata_sc1200.c
@@ -216,6 +216,7 @@ static struct ata_port_operations sc1200_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,
.bmdma_setup = ata_bmdma_setup,
.bmdma_start = ata_bmdma_start,
OpenPOWER on IntegriCloud