aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_efar.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r--drivers/ata/pata_efar.c30
1 files changed, 3 insertions, 27 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index 8700d9dcd8c9..ef62fc642c17 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -236,36 +236,12 @@ static struct scsi_host_template efar_sht = {
236 ATA_BMDMA_SHT(DRV_NAME), 236 ATA_BMDMA_SHT(DRV_NAME),
237}; 237};
238 238
239static const struct ata_port_operations efar_ops = { 239static struct ata_port_operations efar_ops = {
240 .inherits = &ata_bmdma_port_ops,
241 .cable_detect = efar_cable_detect,
240 .set_piomode = efar_set_piomode, 242 .set_piomode = efar_set_piomode,
241 .set_dmamode = efar_set_dmamode, 243 .set_dmamode = efar_set_dmamode,
242 .mode_filter = ata_pci_default_filter,
243
244 .tf_load = ata_tf_load,
245 .tf_read = ata_tf_read,
246 .check_status = ata_check_status,
247 .exec_command = ata_exec_command,
248 .dev_select = ata_std_dev_select,
249
250 .freeze = ata_bmdma_freeze,
251 .thaw = ata_bmdma_thaw,
252 .error_handler = efar_error_handler, 244 .error_handler = efar_error_handler,
253 .post_internal_cmd = ata_bmdma_post_internal_cmd,
254 .cable_detect = efar_cable_detect,
255
256 .bmdma_setup = ata_bmdma_setup,
257 .bmdma_start = ata_bmdma_start,
258 .bmdma_stop = ata_bmdma_stop,
259 .bmdma_status = ata_bmdma_status,
260 .qc_prep = ata_qc_prep,
261 .qc_issue = ata_qc_issue_prot,
262 .data_xfer = ata_data_xfer,
263
264 .irq_handler = ata_interrupt,
265 .irq_clear = ata_bmdma_irq_clear,
266 .irq_on = ata_irq_on,
267
268 .port_start = ata_sff_port_start,
269}; 245};
270 246
271 247