diff options
Diffstat (limited to 'drivers/ata/pata_sc1200.c')
-rw-r--r-- | drivers/ata/pata_sc1200.c | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c index 38ce6e12ee3d..362b7f829d8e 100644 --- a/drivers/ata/pata_sc1200.c +++ b/drivers/ata/pata_sc1200.c | |||
@@ -184,37 +184,12 @@ static struct scsi_host_template sc1200_sht = { | |||
184 | }; | 184 | }; |
185 | 185 | ||
186 | static struct ata_port_operations sc1200_port_ops = { | 186 | static struct ata_port_operations sc1200_port_ops = { |
187 | .set_piomode = sc1200_set_piomode, | 187 | .inherits = &ata_bmdma_port_ops, |
188 | .set_dmamode = sc1200_set_dmamode, | ||
189 | .mode_filter = ata_pci_default_filter, | ||
190 | |||
191 | .tf_load = ata_tf_load, | ||
192 | .tf_read = ata_tf_read, | ||
193 | .check_status = ata_check_status, | ||
194 | .exec_command = ata_exec_command, | ||
195 | .dev_select = ata_std_dev_select, | ||
196 | |||
197 | .freeze = ata_bmdma_freeze, | ||
198 | .thaw = ata_bmdma_thaw, | ||
199 | .error_handler = ata_bmdma_error_handler, | ||
200 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | ||
201 | .cable_detect = ata_cable_40wire, | ||
202 | |||
203 | .bmdma_setup = ata_bmdma_setup, | ||
204 | .bmdma_start = ata_bmdma_start, | ||
205 | .bmdma_stop = ata_bmdma_stop, | ||
206 | .bmdma_status = ata_bmdma_status, | ||
207 | |||
208 | .qc_prep = ata_dumb_qc_prep, | 188 | .qc_prep = ata_dumb_qc_prep, |
209 | .qc_issue = sc1200_qc_issue_prot, | 189 | .qc_issue = sc1200_qc_issue_prot, |
210 | 190 | .cable_detect = ata_cable_40wire, | |
211 | .data_xfer = ata_data_xfer, | 191 | .set_piomode = sc1200_set_piomode, |
212 | 192 | .set_dmamode = sc1200_set_dmamode, | |
213 | .irq_handler = ata_interrupt, | ||
214 | .irq_clear = ata_bmdma_irq_clear, | ||
215 | .irq_on = ata_irq_on, | ||
216 | |||
217 | .port_start = ata_sff_port_start, | ||
218 | }; | 193 | }; |
219 | 194 | ||
220 | /** | 195 | /** |