aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-22 17:55:41 -0400
committerJeff Garzik <jeff@garzik.org>2007-10-12 14:55:36 -0400
commit81ad1837b590775336f68eafcae8dab13a975b3a (patch)
treeacdbe73364759c291eaf2ad40c708374e23cddfe /drivers/ata/pata_via.c
parentac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (diff)
libata: Switch most of the remaining SFF drivers to ata_sff_port_start
This avoids allocating DMA buffers if not needed but at the moment is mostly just a neatness item. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index e1f20e73a61e..5d41b6612d7f 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -378,7 +378,7 @@ static struct ata_port_operations via_port_ops = {
378 .irq_clear = ata_bmdma_irq_clear, 378 .irq_clear = ata_bmdma_irq_clear,
379 .irq_on = ata_irq_on, 379 .irq_on = ata_irq_on,
380 380
381 .port_start = ata_port_start, 381 .port_start = ata_sff_port_start,
382}; 382};
383 383
384static struct ata_port_operations via_port_ops_noirq = { 384static struct ata_port_operations via_port_ops_noirq = {
@@ -412,7 +412,7 @@ static struct ata_port_operations via_port_ops_noirq = {
412 .irq_clear = ata_bmdma_irq_clear, 412 .irq_clear = ata_bmdma_irq_clear,
413 .irq_on = ata_irq_on, 413 .irq_on = ata_irq_on,
414 414
415 .port_start = ata_port_start, 415 .port_start = ata_sff_port_start,
416}; 416};
417 417
418/** 418/**