aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c61
1 files changed, 3 insertions, 58 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index a7bc860e1310..d1edb1b27480 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -339,71 +339,16 @@ static struct scsi_host_template via_sht = {
339}; 339};
340 340
341static struct ata_port_operations via_port_ops = { 341static struct ata_port_operations via_port_ops = {
342 .inherits = &ata_bmdma_port_ops,
343 .cable_detect = via_cable_detect,
342 .set_piomode = via_set_piomode, 344 .set_piomode = via_set_piomode,
343 .set_dmamode = via_set_dmamode, 345 .set_dmamode = via_set_dmamode,
344 .mode_filter = ata_pci_default_filter,
345
346 .tf_load = ata_tf_load,
347 .tf_read = ata_tf_read,
348 .check_status = ata_check_status,
349 .exec_command = ata_exec_command,
350 .dev_select = ata_std_dev_select,
351
352 .freeze = ata_bmdma_freeze,
353 .thaw = ata_bmdma_thaw,
354 .error_handler = via_error_handler, 346 .error_handler = via_error_handler,
355 .post_internal_cmd = ata_bmdma_post_internal_cmd,
356 .cable_detect = via_cable_detect,
357
358 .bmdma_setup = ata_bmdma_setup,
359 .bmdma_start = ata_bmdma_start,
360 .bmdma_stop = ata_bmdma_stop,
361 .bmdma_status = ata_bmdma_status,
362
363 .qc_prep = ata_qc_prep,
364 .qc_issue = ata_qc_issue_prot,
365
366 .data_xfer = ata_data_xfer,
367
368 .irq_handler = ata_interrupt,
369 .irq_clear = ata_bmdma_irq_clear,
370 .irq_on = ata_irq_on,
371
372 .port_start = ata_sff_port_start,
373}; 347};
374 348
375static struct ata_port_operations via_port_ops_noirq = { 349static struct ata_port_operations via_port_ops_noirq = {
376 .set_piomode = via_set_piomode, 350 .inherits = &via_port_ops,
377 .set_dmamode = via_set_dmamode,
378 .mode_filter = ata_pci_default_filter,
379
380 .tf_load = ata_tf_load,
381 .tf_read = ata_tf_read,
382 .check_status = ata_check_status,
383 .exec_command = ata_exec_command,
384 .dev_select = ata_std_dev_select,
385
386 .freeze = ata_bmdma_freeze,
387 .thaw = ata_bmdma_thaw,
388 .error_handler = via_error_handler,
389 .post_internal_cmd = ata_bmdma_post_internal_cmd,
390 .cable_detect = via_cable_detect,
391
392 .bmdma_setup = ata_bmdma_setup,
393 .bmdma_start = ata_bmdma_start,
394 .bmdma_stop = ata_bmdma_stop,
395 .bmdma_status = ata_bmdma_status,
396
397 .qc_prep = ata_qc_prep,
398 .qc_issue = ata_qc_issue_prot,
399
400 .data_xfer = ata_data_xfer_noirq, 351 .data_xfer = ata_data_xfer_noirq,
401
402 .irq_handler = ata_interrupt,
403 .irq_clear = ata_bmdma_irq_clear,
404 .irq_on = ata_irq_on,
405
406 .port_start = ata_sff_port_start,
407}; 352};
408 353
409/** 354/**