aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_cs5530.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_cs5530.c')
-rw-r--r--drivers/ata/pata_cs5530.c31
1 files changed, 4 insertions, 27 deletions
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c
index 0bb03dabcf18..e4a16a578cac 100644
--- a/drivers/ata/pata_cs5530.c
+++ b/drivers/ata/pata_cs5530.c
@@ -166,37 +166,14 @@ static struct scsi_host_template cs5530_sht = {
166}; 166};
167 167
168static struct ata_port_operations cs5530_port_ops = { 168static struct ata_port_operations cs5530_port_ops = {
169 .set_piomode = cs5530_set_piomode, 169 .inherits = &ata_bmdma_port_ops,
170 .set_dmamode = cs5530_set_dmamode,
171 .mode_filter = ata_pci_default_filter,
172
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 .bmdma_setup = ata_bmdma_setup,
180 .bmdma_start = ata_bmdma_start,
181 .bmdma_stop = ata_bmdma_stop,
182 .bmdma_status = ata_bmdma_status,
183
184 .freeze = ata_bmdma_freeze,
185 .thaw = ata_bmdma_thaw,
186 .error_handler = ata_bmdma_error_handler,
187 .post_internal_cmd = ata_bmdma_post_internal_cmd,
188 .cable_detect = ata_cable_40wire,
189 170
190 .qc_prep = ata_dumb_qc_prep, 171 .qc_prep = ata_dumb_qc_prep,
191 .qc_issue = cs5530_qc_issue_prot, 172 .qc_issue = cs5530_qc_issue_prot,
192 173
193 .data_xfer = ata_data_xfer, 174 .cable_detect = ata_cable_40wire,
194 175 .set_piomode = cs5530_set_piomode,
195 .irq_handler = ata_interrupt, 176 .set_dmamode = cs5530_set_dmamode,
196 .irq_clear = ata_bmdma_irq_clear,
197 .irq_on = ata_irq_on,
198
199 .port_start = ata_sff_port_start,
200}; 177};
201 178
202static const struct dmi_system_id palmax_dmi_table[] = { 179static const struct dmi_system_id palmax_dmi_table[] = {