diff options
Diffstat (limited to 'drivers/ata/sata_sis.c')
-rw-r--r-- | drivers/ata/sata_sis.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/ata/sata_sis.c b/drivers/ata/sata_sis.c index 4becb7fde5e7..9089c7ab5000 100644 --- a/drivers/ata/sata_sis.c +++ b/drivers/ata/sata_sis.c | |||
@@ -89,29 +89,10 @@ static struct scsi_host_template sis_sht = { | |||
89 | ATA_BMDMA_SHT(DRV_NAME), | 89 | ATA_BMDMA_SHT(DRV_NAME), |
90 | }; | 90 | }; |
91 | 91 | ||
92 | static const struct ata_port_operations sis_ops = { | 92 | static struct ata_port_operations sis_ops = { |
93 | .tf_load = ata_tf_load, | 93 | .inherits = &ata_bmdma_port_ops, |
94 | .tf_read = ata_tf_read, | ||
95 | .check_status = ata_check_status, | ||
96 | .exec_command = ata_exec_command, | ||
97 | .dev_select = ata_std_dev_select, | ||
98 | .bmdma_setup = ata_bmdma_setup, | ||
99 | .bmdma_start = ata_bmdma_start, | ||
100 | .bmdma_stop = ata_bmdma_stop, | ||
101 | .bmdma_status = ata_bmdma_status, | ||
102 | .qc_prep = ata_qc_prep, | ||
103 | .qc_issue = ata_qc_issue_prot, | ||
104 | .data_xfer = ata_data_xfer, | ||
105 | .mode_filter = ata_pci_default_filter, | ||
106 | .freeze = ata_bmdma_freeze, | ||
107 | .thaw = ata_bmdma_thaw, | ||
108 | .error_handler = ata_bmdma_error_handler, | ||
109 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
110 | .irq_clear = ata_bmdma_irq_clear, | ||
111 | .irq_on = ata_irq_on, | ||
112 | .scr_read = sis_scr_read, | 94 | .scr_read = sis_scr_read, |
113 | .scr_write = sis_scr_write, | 95 | .scr_write = sis_scr_write, |
114 | .port_start = ata_sff_port_start, | ||
115 | }; | 96 | }; |
116 | 97 | ||
117 | static const struct ata_port_info sis_port_info = { | 98 | static const struct ata_port_info sis_port_info = { |