summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-03-08 23:54:04 +0100
committerJeff Garzik <jeff@garzik.org>2007-04-28 20:15:57 +0200
commit570cb62deef574db10bcf1b4e9a8a0cbf7b101ee (patch)
tree9e1ac76c7f8798d57aa057140dbcd28252199f8d /drivers/ata/pata_platform.c
parentsata_promise: Switch to cable method, clean up some bits as a result (diff)
downloadlinux-570cb62deef574db10bcf1b4e9a8a0cbf7b101ee.tar.xz
linux-570cb62deef574db10bcf1b4e9a8a0cbf7b101ee.zip
pata_platform: Add cable_detect method
Signed-off-by: Alan Cox <number6@the-village.bc.nu> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r--drivers/ata/pata_platform.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index 4b82a5435a4e..507eb1ee05f8 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -80,6 +80,7 @@ static struct ata_port_operations pata_platform_port_ops = {
.thaw = ata_bmdma_thaw,
.error_handler = ata_bmdma_error_handler,
.post_internal_cmd = ata_bmdma_post_internal_cmd,
+ .cable_detect = ata_cable_unknown,
.qc_prep = ata_qc_prep,
.qc_issue = ata_qc_issue_prot,