diff options
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
-rw-r--r-- | drivers/ata/pata_cmd640.c | 33 |
1 files changed, 5 insertions, 28 deletions
diff --git a/drivers/ata/pata_cmd640.c b/drivers/ata/pata_cmd640.c index 26562b814400..061c891c8a66 100644 --- a/drivers/ata/pata_cmd640.c +++ b/drivers/ata/pata_cmd640.c | |||
@@ -170,35 +170,12 @@ static struct scsi_host_template cmd640_sht = { | |||
170 | }; | 170 | }; |
171 | 171 | ||
172 | static struct ata_port_operations cmd640_port_ops = { | 172 | static struct ata_port_operations cmd640_port_ops = { |
173 | .set_piomode = cmd640_set_piomode, | 173 | .inherits = &ata_bmdma_port_ops, |
174 | .mode_filter = ata_pci_default_filter, | 174 | /* In theory xfer_noirq is not needed once we kill the prefetcher */ |
175 | .tf_load = ata_tf_load, | ||
176 | .tf_read = ata_tf_read, | ||
177 | .check_status = ata_check_status, | ||
178 | .exec_command = ata_exec_command, | ||
179 | .dev_select = ata_std_dev_select, | ||
180 | |||
181 | .freeze = ata_bmdma_freeze, | ||
182 | .thaw = ata_bmdma_thaw, | ||
183 | .error_handler = ata_bmdma_error_handler, | ||
184 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
185 | .cable_detect = ata_cable_40wire, | ||
186 | |||
187 | .bmdma_setup = ata_bmdma_setup, | ||
188 | .bmdma_start = ata_bmdma_start, | ||
189 | .bmdma_stop = ata_bmdma_stop, | ||
190 | .bmdma_status = ata_bmdma_status, | ||
191 | |||
192 | .qc_prep = ata_qc_prep, | ||
193 | .qc_issue = cmd640_qc_issue_prot, | ||
194 | |||
195 | /* In theory this is not needed once we kill the prefetcher */ | ||
196 | .data_xfer = ata_data_xfer_noirq, | 175 | .data_xfer = ata_data_xfer_noirq, |
197 | 176 | .qc_issue = cmd640_qc_issue_prot, | |
198 | .irq_handler = ata_interrupt, | 177 | .cable_detect = ata_cable_40wire, |
199 | .irq_clear = ata_bmdma_irq_clear, | 178 | .set_piomode = cmd640_set_piomode, |
200 | .irq_on = ata_irq_on, | ||
201 | |||
202 | .port_start = cmd640_port_start, | 179 | .port_start = cmd640_port_start, |
203 | }; | 180 | }; |
204 | 181 | ||