diff options
author | Mark Lord <liml@rtr.ca> | 2008-01-26 18:33:36 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-01 11:29:49 -0500 |
commit | a838b173c327890abc2059fc8b2d65f199622f48 (patch) | |
tree | 799eaa8d1440f4c33aaa823baf59ed91d7f79c65 /drivers | |
parent | 138bfdd03f2c08cc62b6af3900fb7be1c696315b (diff) |
sata_mv ncq Remove post internal cmd op
This driver currently has no need for the .post_internal_cmd op.
So get rid of it, to save unnecessary transitions between EDMA and non-EDMA modes.
Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ata/sata_mv.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 817595cfc2f7..d4634cf0fdc5 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -452,7 +452,6 @@ static void mv_qc_prep(struct ata_queued_cmd *qc); | |||
452 | static void mv_qc_prep_iie(struct ata_queued_cmd *qc); | 452 | static void mv_qc_prep_iie(struct ata_queued_cmd *qc); |
453 | static unsigned int mv_qc_issue(struct ata_queued_cmd *qc); | 453 | static unsigned int mv_qc_issue(struct ata_queued_cmd *qc); |
454 | static void mv_error_handler(struct ata_port *ap); | 454 | static void mv_error_handler(struct ata_port *ap); |
455 | static void mv_post_int_cmd(struct ata_queued_cmd *qc); | ||
456 | static void mv_eh_freeze(struct ata_port *ap); | 455 | static void mv_eh_freeze(struct ata_port *ap); |
457 | static void mv_eh_thaw(struct ata_port *ap); | 456 | static void mv_eh_thaw(struct ata_port *ap); |
458 | static void mv6_dev_config(struct ata_device *dev); | 457 | static void mv6_dev_config(struct ata_device *dev); |
@@ -541,7 +540,6 @@ static const struct ata_port_operations mv5_ops = { | |||
541 | .irq_on = ata_irq_on, | 540 | .irq_on = ata_irq_on, |
542 | 541 | ||
543 | .error_handler = mv_error_handler, | 542 | .error_handler = mv_error_handler, |
544 | .post_internal_cmd = mv_post_int_cmd, | ||
545 | .freeze = mv_eh_freeze, | 543 | .freeze = mv_eh_freeze, |
546 | .thaw = mv_eh_thaw, | 544 | .thaw = mv_eh_thaw, |
547 | 545 | ||
@@ -570,7 +568,6 @@ static const struct ata_port_operations mv6_ops = { | |||
570 | .irq_on = ata_irq_on, | 568 | .irq_on = ata_irq_on, |
571 | 569 | ||
572 | .error_handler = mv_error_handler, | 570 | .error_handler = mv_error_handler, |
573 | .post_internal_cmd = mv_post_int_cmd, | ||
574 | .freeze = mv_eh_freeze, | 571 | .freeze = mv_eh_freeze, |
575 | .thaw = mv_eh_thaw, | 572 | .thaw = mv_eh_thaw, |
576 | .qc_defer = ata_std_qc_defer, | 573 | .qc_defer = ata_std_qc_defer, |
@@ -599,7 +596,6 @@ static const struct ata_port_operations mv_iie_ops = { | |||
599 | .irq_on = ata_irq_on, | 596 | .irq_on = ata_irq_on, |
600 | 597 | ||
601 | .error_handler = mv_error_handler, | 598 | .error_handler = mv_error_handler, |
602 | .post_internal_cmd = mv_post_int_cmd, | ||
603 | .freeze = mv_eh_freeze, | 599 | .freeze = mv_eh_freeze, |
604 | .thaw = mv_eh_thaw, | 600 | .thaw = mv_eh_thaw, |
605 | .qc_defer = ata_std_qc_defer, | 601 | .qc_defer = ata_std_qc_defer, |
@@ -2424,11 +2420,6 @@ static void mv_error_handler(struct ata_port *ap) | |||
2424 | mv_hardreset, mv_postreset); | 2420 | mv_hardreset, mv_postreset); |
2425 | } | 2421 | } |
2426 | 2422 | ||
2427 | static void mv_post_int_cmd(struct ata_queued_cmd *qc) | ||
2428 | { | ||
2429 | mv_stop_dma(qc->ap); | ||
2430 | } | ||
2431 | |||
2432 | static void mv_eh_freeze(struct ata_port *ap) | 2423 | static void mv_eh_freeze(struct ata_port *ap) |
2433 | { | 2424 | { |
2434 | void __iomem *mmio = ap->host->iomap[MV_PRIMARY_BAR]; | 2425 | void __iomem *mmio = ap->host->iomap[MV_PRIMARY_BAR]; |