aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_opti.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_opti.c')
-rw-r--r--drivers/ata/pata_opti.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c
index 1deacfa0be07..c4a0795c3ff4 100644
--- a/drivers/ata/pata_opti.c
+++ b/drivers/ata/pata_opti.c
@@ -169,29 +169,10 @@ static struct scsi_host_template opti_sht = {
169}; 169};
170 170
171static struct ata_port_operations opti_port_ops = { 171static struct ata_port_operations opti_port_ops = {
172 .inherits = &ata_sff_port_ops,
173 .cable_detect = ata_cable_40wire,
172 .set_piomode = opti_set_piomode, 174 .set_piomode = opti_set_piomode,
173 .tf_load = ata_tf_load,
174 .tf_read = ata_tf_read,
175 .check_status = ata_check_status,
176 .exec_command = ata_exec_command,
177 .dev_select = ata_std_dev_select,
178
179 .freeze = ata_bmdma_freeze,
180 .thaw = ata_bmdma_thaw,
181 .error_handler = opti_error_handler, 175 .error_handler = opti_error_handler,
182 .post_internal_cmd = ata_bmdma_post_internal_cmd,
183 .cable_detect = ata_cable_40wire,
184
185 .qc_prep = ata_qc_prep,
186 .qc_issue = ata_qc_issue_prot,
187
188 .data_xfer = ata_data_xfer,
189
190 .irq_handler = ata_interrupt,
191 .irq_clear = ata_noop_irq_clear,
192 .irq_on = ata_irq_on,
193
194 .port_start = ata_sff_port_start,
195}; 176};
196 177
197static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id) 178static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id)