aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_it8213.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_it8213.c')
-rw-r--r--drivers/ata/pata_it8213.c31
1 files changed, 4 insertions, 27 deletions
diff --git a/drivers/ata/pata_it8213.c b/drivers/ata/pata_it8213.c
index 678a05b304d8..9ce89522e764 100644
--- a/drivers/ata/pata_it8213.c
+++ b/drivers/ata/pata_it8213.c
@@ -246,36 +246,13 @@ static struct scsi_host_template it8213_sht = {
246 ATA_BMDMA_SHT(DRV_NAME), 246 ATA_BMDMA_SHT(DRV_NAME),
247}; 247};
248 248
249static const struct ata_port_operations it8213_ops = { 249
250static struct ata_port_operations it8213_ops = {
251 .inherits = &ata_bmdma_port_ops,
252 .cable_detect = it8213_cable_detect,
250 .set_piomode = it8213_set_piomode, 253 .set_piomode = it8213_set_piomode,
251 .set_dmamode = it8213_set_dmamode, 254 .set_dmamode = it8213_set_dmamode,
252 .mode_filter = ata_pci_default_filter,
253
254 .tf_load = ata_tf_load,
255 .tf_read = ata_tf_read,
256 .check_status = ata_check_status,
257 .exec_command = ata_exec_command,
258 .dev_select = ata_std_dev_select,
259
260 .freeze = ata_bmdma_freeze,
261 .thaw = ata_bmdma_thaw,
262 .error_handler = it8213_error_handler, 255 .error_handler = it8213_error_handler,
263 .post_internal_cmd = ata_bmdma_post_internal_cmd,
264 .cable_detect = it8213_cable_detect,
265
266 .bmdma_setup = ata_bmdma_setup,
267 .bmdma_start = ata_bmdma_start,
268 .bmdma_stop = ata_bmdma_stop,
269 .bmdma_status = ata_bmdma_status,
270 .qc_prep = ata_qc_prep,
271 .qc_issue = ata_qc_issue_prot,
272 .data_xfer = ata_data_xfer,
273
274 .irq_handler = ata_interrupt,
275 .irq_clear = ata_bmdma_irq_clear,
276 .irq_on = ata_irq_on,
277
278 .port_start = ata_sff_port_start,
279}; 256};
280 257
281 258