aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_marvell.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_marvell.c')
-rw-r--r--drivers/ata/pata_marvell.c33
1 files changed, 3 insertions, 30 deletions
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c
index 9de6e429d0d1..286310fc5910 100644
--- a/drivers/ata/pata_marvell.c
+++ b/drivers/ata/pata_marvell.c
@@ -95,37 +95,10 @@ static struct scsi_host_template marvell_sht = {
95 ATA_BMDMA_SHT(DRV_NAME), 95 ATA_BMDMA_SHT(DRV_NAME),
96}; 96};
97 97
98static const struct ata_port_operations marvell_ops = { 98static struct ata_port_operations marvell_ops = {
99 /* Task file is PCI ATA format, use helpers */ 99 .inherits = &ata_bmdma_port_ops,
100 .tf_load = ata_tf_load,
101 .tf_read = ata_tf_read,
102 .check_status = ata_check_status,
103 .exec_command = ata_exec_command,
104 .dev_select = ata_std_dev_select,
105
106 .mode_filter = ata_pci_default_filter,
107 .freeze = ata_bmdma_freeze,
108 .thaw = ata_bmdma_thaw,
109 .error_handler = marvell_error_handler,
110 .post_internal_cmd = ata_bmdma_post_internal_cmd,
111 .cable_detect = marvell_cable_detect, 100 .cable_detect = marvell_cable_detect,
112 101 .error_handler = marvell_error_handler,
113 /* BMDMA handling is PCI ATA format, use helpers */
114 .bmdma_setup = ata_bmdma_setup,
115 .bmdma_start = ata_bmdma_start,
116 .bmdma_stop = ata_bmdma_stop,
117 .bmdma_status = ata_bmdma_status,
118 .qc_prep = ata_qc_prep,
119 .qc_issue = ata_qc_issue_prot,
120 .data_xfer = ata_data_xfer,
121
122 /* Timeout handling */
123 .irq_handler = ata_interrupt,
124 .irq_clear = ata_bmdma_irq_clear,
125 .irq_on = ata_irq_on,
126
127 /* Generic PATA PCI ATA helpers */
128 .port_start = ata_sff_port_start,
129}; 102};
130 103
131 104