summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-03-08 22:58:03 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-04-28 18:15:57 (GMT)
commit745975c052cc8e808860c8634a2efdcc2da6dd01 (patch)
tree69b0bf2ce18b739666748ed362b817a686e28403
parent2a25dfe4f43b2199376424dce67ed11e3e276467 (diff)
downloadlinux-745975c052cc8e808860c8634a2efdcc2da6dd01.tar.xz
pata_sc1200: restore cable type
Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-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,