aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cs5520.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cs5520.c')
-rw-r--r--drivers/ata/pata_cs5520.c29
1 files changed, 3 insertions, 26 deletions
diff --git a/drivers/ata/pata_cs5520.c b/drivers/ata/pata_cs5520.c
index 7e643099a444..46d0ce32ee5a 100644
--- a/drivers/ata/pata_cs5520.c
+++ b/drivers/ata/pata_cs5520.c
@@ -145,34 +145,11 @@ static struct scsi_host_template cs5520_sht = {
145}; 145};
146 146
147static struct ata_port_operations cs5520_port_ops = { 147static struct ata_port_operations cs5520_port_ops = {
148 .inherits = &ata_bmdma_port_ops,
149 .qc_prep = ata_dumb_qc_prep,
150 .cable_detect = ata_cable_40wire,
148 .set_piomode = cs5520_set_piomode, 151 .set_piomode = cs5520_set_piomode,
149 .set_dmamode = cs5520_set_dmamode, 152 .set_dmamode = cs5520_set_dmamode,
150 .mode_filter = ata_pci_default_filter,
151
152 .tf_load = ata_tf_load,
153 .tf_read = ata_tf_read,
154 .check_status = ata_check_status,
155 .exec_command = ata_exec_command,
156 .dev_select = ata_std_dev_select,
157
158 .freeze = ata_bmdma_freeze,
159 .thaw = ata_bmdma_thaw,
160 .error_handler = ata_bmdma_error_handler,
161 .post_internal_cmd = ata_bmdma_post_internal_cmd,
162 .cable_detect = ata_cable_40wire,
163
164 .bmdma_setup = ata_bmdma_setup,
165 .bmdma_start = ata_bmdma_start,
166 .bmdma_stop = ata_bmdma_stop,
167 .bmdma_status = ata_bmdma_status,
168 .qc_prep = ata_dumb_qc_prep,
169 .qc_issue = ata_qc_issue_prot,
170 .data_xfer = ata_data_xfer,
171
172 .irq_clear = ata_bmdma_irq_clear,
173 .irq_on = ata_irq_on,
174
175 .port_start = ata_sff_port_start,
176}; 153};
177 154
178static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id) 155static int __devinit cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id)