diff options
Diffstat (limited to 'drivers/ata/pata_atiixp.c')
-rw-r--r-- | drivers/ata/pata_atiixp.c | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index 645c47271ff5..2655f6a17ad3 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -226,36 +226,16 @@ static struct scsi_host_template atiixp_sht = { | |||
226 | }; | 226 | }; |
227 | 227 | ||
228 | static struct ata_port_operations atiixp_port_ops = { | 228 | static struct ata_port_operations atiixp_port_ops = { |
229 | .set_piomode = atiixp_set_piomode, | 229 | .inherits = &ata_bmdma_port_ops, |
230 | .set_dmamode = atiixp_set_dmamode, | ||
231 | .mode_filter = ata_pci_default_filter, | ||
232 | .tf_load = ata_tf_load, | ||
233 | .tf_read = ata_tf_read, | ||
234 | .check_status = ata_check_status, | ||
235 | .exec_command = ata_exec_command, | ||
236 | .dev_select = ata_std_dev_select, | ||
237 | |||
238 | .freeze = ata_bmdma_freeze, | ||
239 | .thaw = ata_bmdma_thaw, | ||
240 | .error_handler = atiixp_error_handler, | ||
241 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
242 | .cable_detect = atiixp_cable_detect, | ||
243 | 230 | ||
244 | .bmdma_setup = ata_bmdma_setup, | 231 | .qc_prep = ata_dumb_qc_prep, |
245 | .bmdma_start = atiixp_bmdma_start, | 232 | .bmdma_start = atiixp_bmdma_start, |
246 | .bmdma_stop = atiixp_bmdma_stop, | 233 | .bmdma_stop = atiixp_bmdma_stop, |
247 | .bmdma_status = ata_bmdma_status, | ||
248 | |||
249 | .qc_prep = ata_dumb_qc_prep, | ||
250 | .qc_issue = ata_qc_issue_prot, | ||
251 | 234 | ||
252 | .data_xfer = ata_data_xfer, | 235 | .cable_detect = atiixp_cable_detect, |
253 | 236 | .set_piomode = atiixp_set_piomode, | |
254 | .irq_handler = ata_interrupt, | 237 | .set_dmamode = atiixp_set_dmamode, |
255 | .irq_clear = ata_bmdma_irq_clear, | 238 | .error_handler = atiixp_error_handler, |
256 | .irq_on = ata_irq_on, | ||
257 | |||
258 | .port_start = ata_sff_port_start, | ||
259 | }; | 239 | }; |
260 | 240 | ||
261 | static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 241 | static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) |