aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_inic162x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_inic162x.c')
-rw-r--r--drivers/ata/sata_inic162x.c19
1 files changed, 4 insertions, 15 deletions
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index bb853df865da..047f80f5825c 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -522,26 +522,13 @@ static int inic_port_start(struct ata_port *ap)
522} 522}
523 523
524static struct ata_port_operations inic_port_ops = { 524static struct ata_port_operations inic_port_ops = {
525 .tf_load = ata_tf_load, 525 .inherits = &ata_sff_port_ops,
526 .tf_read = ata_tf_read,
527 .check_status = ata_check_status,
528 .exec_command = ata_exec_command,
529 .dev_select = ata_std_dev_select,
530
531 .scr_read = inic_scr_read,
532 .scr_write = inic_scr_write,
533 526
534 .bmdma_setup = inic_bmdma_setup, 527 .bmdma_setup = inic_bmdma_setup,
535 .bmdma_start = inic_bmdma_start, 528 .bmdma_start = inic_bmdma_start,
536 .bmdma_stop = inic_bmdma_stop, 529 .bmdma_stop = inic_bmdma_stop,
537 .bmdma_status = inic_bmdma_status, 530 .bmdma_status = inic_bmdma_status,
538
539 .irq_clear = ata_noop_irq_clear,
540 .irq_on = ata_irq_on,
541
542 .qc_prep = ata_qc_prep,
543 .qc_issue = inic_qc_issue, 531 .qc_issue = inic_qc_issue,
544 .data_xfer = ata_data_xfer,
545 532
546 .freeze = inic_freeze, 533 .freeze = inic_freeze,
547 .thaw = inic_thaw, 534 .thaw = inic_thaw,
@@ -549,8 +536,10 @@ static struct ata_port_operations inic_port_ops = {
549 .post_internal_cmd = inic_post_internal_cmd, 536 .post_internal_cmd = inic_post_internal_cmd,
550 .dev_config = inic_dev_config, 537 .dev_config = inic_dev_config,
551 538
552 .port_resume = inic_port_resume, 539 .scr_read = inic_scr_read,
540 .scr_write = inic_scr_write,
553 541
542 .port_resume = inic_port_resume,
554 .port_start = inic_port_start, 543 .port_start = inic_port_start,
555}; 544};
556 545