aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pdc_adma.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pdc_adma.c')
-rw-r--r--drivers/ata/pdc_adma.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/drivers/ata/pdc_adma.c b/drivers/ata/pdc_adma.c
index fdf62de57cfc..a5706149af6b 100644
--- a/drivers/ata/pdc_adma.c
+++ b/drivers/ata/pdc_adma.c
@@ -148,26 +148,29 @@ static struct scsi_host_template adma_ata_sht = {
148 .dma_boundary = ADMA_DMA_BOUNDARY, 148 .dma_boundary = ADMA_DMA_BOUNDARY,
149}; 149};
150 150
151static const struct ata_port_operations adma_ata_ops = { 151static struct ata_port_operations adma_ata_ops = {
152 .inherits = &ata_base_port_ops,
153
154 .dev_select = ata_std_dev_select,
152 .tf_load = ata_tf_load, 155 .tf_load = ata_tf_load,
153 .tf_read = ata_tf_read, 156 .tf_read = ata_tf_read,
154 .exec_command = ata_exec_command,
155 .check_status = ata_check_status, 157 .check_status = ata_check_status,
156 .dev_select = ata_std_dev_select, 158 .exec_command = ata_exec_command,
157 .check_atapi_dma = adma_check_atapi_dma,
158 .data_xfer = ata_data_xfer, 159 .data_xfer = ata_data_xfer,
160 .check_atapi_dma = adma_check_atapi_dma,
161 .bmdma_stop = adma_bmdma_stop,
162 .bmdma_status = adma_bmdma_status,
159 .qc_prep = adma_qc_prep, 163 .qc_prep = adma_qc_prep,
160 .qc_issue = adma_qc_issue, 164 .qc_issue = adma_qc_issue,
165 .irq_on = ata_irq_on,
166
161 .freeze = adma_freeze, 167 .freeze = adma_freeze,
162 .thaw = adma_thaw, 168 .thaw = adma_thaw,
163 .error_handler = adma_error_handler, 169 .error_handler = adma_error_handler,
164 .irq_clear = ata_noop_irq_clear, 170
165 .irq_on = ata_irq_on,
166 .port_start = adma_port_start, 171 .port_start = adma_port_start,
167 .port_stop = adma_port_stop, 172 .port_stop = adma_port_stop,
168 .host_stop = adma_host_stop, 173 .host_stop = adma_host_stop,
169 .bmdma_stop = adma_bmdma_stop,
170 .bmdma_status = adma_bmdma_status,
171}; 174};
172 175
173static struct ata_port_info adma_port_info[] = { 176static struct ata_port_info adma_port_info[] = {