aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_triflex.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_triflex.c')
-rw-r--r--drivers/ata/pata_triflex.c32
1 files changed, 4 insertions, 28 deletions
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c
index 510569957d10..bc4956ef0931 100644
--- a/drivers/ata/pata_triflex.c
+++ b/drivers/ata/pata_triflex.c
@@ -184,36 +184,12 @@ static struct scsi_host_template triflex_sht = {
184}; 184};
185 185
186static struct ata_port_operations triflex_port_ops = { 186static struct ata_port_operations triflex_port_ops = {
187 .set_piomode = triflex_set_piomode, 187 .inherits = &ata_bmdma_port_ops,
188 .mode_filter = ata_pci_default_filter,
189
190 .tf_load = ata_tf_load,
191 .tf_read = ata_tf_read,
192 .check_status = ata_check_status,
193 .exec_command = ata_exec_command,
194 .dev_select = ata_std_dev_select,
195
196 .freeze = ata_bmdma_freeze,
197 .thaw = ata_bmdma_thaw,
198 .error_handler = triflex_error_handler,
199 .post_internal_cmd = ata_bmdma_post_internal_cmd,
200 .cable_detect = ata_cable_40wire,
201
202 .bmdma_setup = ata_bmdma_setup,
203 .bmdma_start = triflex_bmdma_start, 188 .bmdma_start = triflex_bmdma_start,
204 .bmdma_stop = triflex_bmdma_stop, 189 .bmdma_stop = triflex_bmdma_stop,
205 .bmdma_status = ata_bmdma_status, 190 .cable_detect = ata_cable_40wire,
206 191 .set_piomode = triflex_set_piomode,
207 .qc_prep = ata_qc_prep, 192 .error_handler = triflex_error_handler,
208 .qc_issue = ata_qc_issue_prot,
209
210 .data_xfer = ata_data_xfer,
211
212 .irq_handler = ata_interrupt,
213 .irq_clear = ata_bmdma_irq_clear,
214 .irq_on = ata_irq_on,
215
216 .port_start = ata_sff_port_start,
217}; 193};
218 194
219static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) 195static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id)