diff options
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
-rw-r--r-- | drivers/ata/pata_oldpiix.c | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index 45f9b3eb5b45..f6062b37310d 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c | |||
@@ -223,36 +223,13 @@ static struct scsi_host_template oldpiix_sht = { | |||
223 | ATA_BMDMA_SHT(DRV_NAME), | 223 | ATA_BMDMA_SHT(DRV_NAME), |
224 | }; | 224 | }; |
225 | 225 | ||
226 | static const struct ata_port_operations oldpiix_pata_ops = { | 226 | static struct ata_port_operations oldpiix_pata_ops = { |
227 | .inherits = &ata_bmdma_port_ops, | ||
228 | .qc_issue = oldpiix_qc_issue_prot, | ||
229 | .cable_detect = ata_cable_40wire, | ||
227 | .set_piomode = oldpiix_set_piomode, | 230 | .set_piomode = oldpiix_set_piomode, |
228 | .set_dmamode = oldpiix_set_dmamode, | 231 | .set_dmamode = oldpiix_set_dmamode, |
229 | .mode_filter = ata_pci_default_filter, | ||
230 | |||
231 | .tf_load = ata_tf_load, | ||
232 | .tf_read = ata_tf_read, | ||
233 | .check_status = ata_check_status, | ||
234 | .exec_command = ata_exec_command, | ||
235 | .dev_select = ata_std_dev_select, | ||
236 | |||
237 | .freeze = ata_bmdma_freeze, | ||
238 | .thaw = ata_bmdma_thaw, | ||
239 | .error_handler = oldpiix_pata_error_handler, | 232 | .error_handler = oldpiix_pata_error_handler, |
240 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
241 | .cable_detect = ata_cable_40wire, | ||
242 | |||
243 | .bmdma_setup = ata_bmdma_setup, | ||
244 | .bmdma_start = ata_bmdma_start, | ||
245 | .bmdma_stop = ata_bmdma_stop, | ||
246 | .bmdma_status = ata_bmdma_status, | ||
247 | .qc_prep = ata_qc_prep, | ||
248 | .qc_issue = oldpiix_qc_issue_prot, | ||
249 | .data_xfer = ata_data_xfer, | ||
250 | |||
251 | .irq_handler = ata_interrupt, | ||
252 | .irq_clear = ata_bmdma_irq_clear, | ||
253 | .irq_on = ata_irq_on, | ||
254 | |||
255 | .port_start = ata_sff_port_start, | ||
256 | }; | 233 | }; |
257 | 234 | ||
258 | 235 | ||