aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_svw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r--drivers/ata/sata_svw.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
index c8768396e006..8636f164256e 100644
--- a/drivers/ata/sata_svw.c
+++ b/drivers/ata/sata_svw.c
@@ -334,30 +334,16 @@ static struct scsi_host_template k2_sata_sht = {
334}; 334};
335 335
336 336
337static const struct ata_port_operations k2_sata_ops = { 337static struct ata_port_operations k2_sata_ops = {
338 .inherits = &ata_bmdma_port_ops,
338 .tf_load = k2_sata_tf_load, 339 .tf_load = k2_sata_tf_load,
339 .tf_read = k2_sata_tf_read, 340 .tf_read = k2_sata_tf_read,
340 .check_status = k2_stat_check_status, 341 .check_status = k2_stat_check_status,
341 .exec_command = ata_exec_command,
342 .dev_select = ata_std_dev_select,
343 .check_atapi_dma = k2_sata_check_atapi_dma, 342 .check_atapi_dma = k2_sata_check_atapi_dma,
344 .bmdma_setup = k2_bmdma_setup_mmio, 343 .bmdma_setup = k2_bmdma_setup_mmio,
345 .bmdma_start = k2_bmdma_start_mmio, 344 .bmdma_start = k2_bmdma_start_mmio,
346 .bmdma_stop = ata_bmdma_stop,
347 .bmdma_status = ata_bmdma_status,
348 .qc_prep = ata_qc_prep,
349 .qc_issue = ata_qc_issue_prot,
350 .data_xfer = ata_data_xfer,
351 .mode_filter = ata_pci_default_filter,
352 .freeze = ata_bmdma_freeze,
353 .thaw = ata_bmdma_thaw,
354 .error_handler = ata_bmdma_error_handler,
355 .post_internal_cmd = ata_bmdma_post_internal_cmd,
356 .irq_clear = ata_bmdma_irq_clear,
357 .irq_on = ata_irq_on,
358 .scr_read = k2_sata_scr_read, 345 .scr_read = k2_sata_scr_read,
359 .scr_write = k2_sata_scr_write, 346 .scr_write = k2_sata_scr_write,
360 .port_start = ata_sff_port_start,
361}; 347};
362 348
363static const struct ata_port_info k2_port_info[] = { 349static const struct ata_port_info k2_port_info[] = {