aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r--drivers/ata/pata_platform.c24
1 files changed, 4 insertions, 20 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c
index cd2d03a4591a..0588c9b7e73e 100644
--- a/drivers/ata/pata_platform.c
+++ b/drivers/ata/pata_platform.c
@@ -51,27 +51,11 @@ static struct scsi_host_template pata_platform_sht = {
51}; 51};
52 52
53static struct ata_port_operations pata_platform_port_ops = { 53static struct ata_port_operations pata_platform_port_ops = {
54 .set_mode = pata_platform_set_mode, 54 .inherits = &ata_sff_port_ops,
55
56 .tf_load = ata_tf_load,
57 .tf_read = ata_tf_read,
58 .check_status = ata_check_status,
59 .exec_command = ata_exec_command,
60 .dev_select = ata_std_dev_select,
61
62 .freeze = ata_bmdma_freeze,
63 .thaw = ata_bmdma_thaw,
64 .error_handler = ata_bmdma_error_handler,
65 .post_internal_cmd = ata_bmdma_post_internal_cmd,
66 .cable_detect = ata_cable_unknown,
67
68 .qc_prep = ata_qc_prep,
69 .qc_issue = ata_qc_issue_prot,
70
71 .data_xfer = ata_data_xfer_noirq, 55 .data_xfer = ata_data_xfer_noirq,
72 56 .cable_detect = ata_cable_unknown,
73 .irq_clear = ata_noop_irq_clear, 57 .set_mode = pata_platform_set_mode,
74 .irq_on = ata_irq_on, 58 .port_start = ATA_OP_NULL,
75}; 59};
76 60
77static void pata_platform_setup_port(struct ata_ioports *ioaddr, 61static void pata_platform_setup_port(struct ata_ioports *ioaddr,