diff options
Diffstat (limited to 'drivers/ata/pata_artop.c')
-rw-r--r-- | drivers/ata/pata_artop.c | 61 |
1 files changed, 6 insertions, 55 deletions
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 7bfb7e8bdca2..0101e5aef3e0 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -317,69 +317,20 @@ static struct scsi_host_template artop_sht = { | |||
317 | ATA_BMDMA_SHT(DRV_NAME), | 317 | ATA_BMDMA_SHT(DRV_NAME), |
318 | }; | 318 | }; |
319 | 319 | ||
320 | static const struct ata_port_operations artop6210_ops = { | 320 | static struct ata_port_operations artop6210_ops = { |
321 | .inherits = &ata_bmdma_port_ops, | ||
322 | .cable_detect = ata_cable_40wire, | ||
321 | .set_piomode = artop6210_set_piomode, | 323 | .set_piomode = artop6210_set_piomode, |
322 | .set_dmamode = artop6210_set_dmamode, | 324 | .set_dmamode = artop6210_set_dmamode, |
323 | .mode_filter = ata_pci_default_filter, | ||
324 | |||
325 | .tf_load = ata_tf_load, | ||
326 | .tf_read = ata_tf_read, | ||
327 | .check_status = ata_check_status, | ||
328 | .exec_command = ata_exec_command, | ||
329 | .dev_select = ata_std_dev_select, | ||
330 | |||
331 | .freeze = ata_bmdma_freeze, | ||
332 | .thaw = ata_bmdma_thaw, | ||
333 | .error_handler = artop6210_error_handler, | 325 | .error_handler = artop6210_error_handler, |
334 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
335 | .cable_detect = ata_cable_40wire, | ||
336 | |||
337 | .bmdma_setup = ata_bmdma_setup, | ||
338 | .bmdma_start = ata_bmdma_start, | ||
339 | .bmdma_stop = ata_bmdma_stop, | ||
340 | .bmdma_status = ata_bmdma_status, | ||
341 | .qc_prep = ata_qc_prep, | ||
342 | .qc_issue = ata_qc_issue_prot, | ||
343 | |||
344 | .data_xfer = ata_data_xfer, | ||
345 | |||
346 | .irq_handler = ata_interrupt, | ||
347 | .irq_clear = ata_bmdma_irq_clear, | ||
348 | .irq_on = ata_irq_on, | ||
349 | |||
350 | .port_start = ata_sff_port_start, | ||
351 | }; | 326 | }; |
352 | 327 | ||
353 | static const struct ata_port_operations artop6260_ops = { | 328 | static struct ata_port_operations artop6260_ops = { |
329 | .inherits = &ata_bmdma_port_ops, | ||
330 | .cable_detect = artop6260_cable_detect, | ||
354 | .set_piomode = artop6260_set_piomode, | 331 | .set_piomode = artop6260_set_piomode, |
355 | .set_dmamode = artop6260_set_dmamode, | 332 | .set_dmamode = artop6260_set_dmamode, |
356 | .mode_filter = ata_pci_default_filter, | ||
357 | |||
358 | .tf_load = ata_tf_load, | ||
359 | .tf_read = ata_tf_read, | ||
360 | .check_status = ata_check_status, | ||
361 | .exec_command = ata_exec_command, | ||
362 | .dev_select = ata_std_dev_select, | ||
363 | |||
364 | .freeze = ata_bmdma_freeze, | ||
365 | .thaw = ata_bmdma_thaw, | ||
366 | .error_handler = artop6260_error_handler, | 333 | .error_handler = artop6260_error_handler, |
367 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
368 | .cable_detect = artop6260_cable_detect, | ||
369 | |||
370 | .bmdma_setup = ata_bmdma_setup, | ||
371 | .bmdma_start = ata_bmdma_start, | ||
372 | .bmdma_stop = ata_bmdma_stop, | ||
373 | .bmdma_status = ata_bmdma_status, | ||
374 | .qc_prep = ata_qc_prep, | ||
375 | .qc_issue = ata_qc_issue_prot, | ||
376 | .data_xfer = ata_data_xfer, | ||
377 | |||
378 | .irq_handler = ata_interrupt, | ||
379 | .irq_clear = ata_bmdma_irq_clear, | ||
380 | .irq_on = ata_irq_on, | ||
381 | |||
382 | .port_start = ata_sff_port_start, | ||
383 | }; | 334 | }; |
384 | 335 | ||
385 | 336 | ||