aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_mpc52xx.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-03-09 07:24:15 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:56 -0400
commita0fcdc0259e98d1c16d96baea9ba8a8603e41791 (patch)
tree568c6a99b5e38486c84b5145ac2e3719b8c62720 /drivers/ata/pata_mpc52xx.c
parent6a3d586d8e8a50e4cfd7f8c36d82a53c5614e05b (diff)
[libata] Update several PATA drivers for new ->cable_detect hook
All patches authored and signed-off-by Alan Cox, sent on Mar 7, 2007. I merely combined them all into a single patch. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
-rw-r--r--drivers/ata/pata_mpc52xx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 882c36eaf293..77b57321ff52 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -24,7 +24,7 @@
24 24
25 25
26#define DRV_NAME "mpc52xx_ata" 26#define DRV_NAME "mpc52xx_ata"
27#define DRV_VERSION "0.1.0" 27#define DRV_VERSION "0.1.0ac2"
28 28
29 29
30/* Private structures used by the driver */ 30/* Private structures used by the driver */
@@ -297,6 +297,7 @@ static struct ata_port_operations mpc52xx_ata_port_ops = {
297 .freeze = ata_bmdma_freeze, 297 .freeze = ata_bmdma_freeze,
298 .thaw = ata_bmdma_thaw, 298 .thaw = ata_bmdma_thaw,
299 .error_handler = mpc52xx_ata_error_handler, 299 .error_handler = mpc52xx_ata_error_handler,
300 .cable_detect = ata_cable_40wire,
300 .qc_prep = ata_qc_prep, 301 .qc_prep = ata_qc_prep,
301 .qc_issue = ata_qc_issue_prot, 302 .qc_issue = ata_qc_issue_prot,
302 .data_xfer = ata_data_xfer, 303 .data_xfer = ata_data_xfer,