diff options
Diffstat (limited to 'drivers/ata/pata_icside.c')
-rw-r--r-- | drivers/ata/pata_icside.c | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index 88a1c7ae0a4d..ff16b0eaa2c2 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -339,35 +339,19 @@ static void pata_icside_error_handler(struct ata_port *ap) | |||
339 | } | 339 | } |
340 | 340 | ||
341 | static struct ata_port_operations pata_icside_port_ops = { | 341 | static struct ata_port_operations pata_icside_port_ops = { |
342 | .set_dmamode = pata_icside_set_dmamode, | 342 | .inherits = &ata_sff_port_ops, |
343 | |||
344 | .tf_load = ata_tf_load, | ||
345 | .tf_read = ata_tf_read, | ||
346 | .exec_command = ata_exec_command, | ||
347 | .check_status = ata_check_status, | ||
348 | .dev_select = ata_std_dev_select, | ||
349 | |||
350 | .cable_detect = ata_cable_40wire, | ||
351 | |||
352 | .bmdma_setup = pata_icside_bmdma_setup, | ||
353 | .bmdma_start = pata_icside_bmdma_start, | ||
354 | |||
355 | .data_xfer = ata_data_xfer_noirq, | ||
356 | |||
357 | /* no need to build any PRD tables for DMA */ | 343 | /* no need to build any PRD tables for DMA */ |
358 | .qc_prep = ata_noop_qc_prep, | 344 | .qc_prep = ata_noop_qc_prep, |
359 | .qc_issue = ata_qc_issue_prot, | 345 | .data_xfer = ata_data_xfer_noirq, |
346 | .bmdma_setup = pata_icside_bmdma_setup, | ||
347 | .bmdma_start = pata_icside_bmdma_start, | ||
348 | .bmdma_stop = pata_icside_bmdma_stop, | ||
349 | .bmdma_status = pata_icside_bmdma_status, | ||
360 | 350 | ||
361 | .freeze = ata_bmdma_freeze, | 351 | .cable_detect = ata_cable_40wire, |
362 | .thaw = ata_bmdma_thaw, | 352 | .set_dmamode = pata_icside_set_dmamode, |
363 | .error_handler = pata_icside_error_handler, | 353 | .error_handler = pata_icside_error_handler, |
364 | .post_internal_cmd = pata_icside_bmdma_stop, | 354 | .post_internal_cmd = pata_icside_bmdma_stop, |
365 | |||
366 | .irq_clear = ata_noop_irq_clear, | ||
367 | .irq_on = ata_irq_on, | ||
368 | |||
369 | .bmdma_stop = pata_icside_bmdma_stop, | ||
370 | .bmdma_status = pata_icside_bmdma_status, | ||
371 | }; | 355 | }; |
372 | 356 | ||
373 | static void __devinit | 357 | static void __devinit |