aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_optidma.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_optidma.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_optidma.c')
-rw-r--r--drivers/ata/pata_optidma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c
index 848ae16f2390..6b07b5b48532 100644
--- a/drivers/ata/pata_optidma.c
+++ b/drivers/ata/pata_optidma.c
@@ -398,7 +398,7 @@ static struct ata_port_operations optidma_port_ops = {
398 .irq_clear = ata_bmdma_irq_clear, 398 .irq_clear = ata_bmdma_irq_clear,
399 .irq_on = ata_irq_on, 399 .irq_on = ata_irq_on,
400 400
401 .port_start = ata_port_start, 401 .port_start = ata_sff_port_start,
402}; 402};
403 403
404static struct ata_port_operations optiplus_port_ops = { 404static struct ata_port_operations optiplus_port_ops = {
@@ -432,7 +432,7 @@ static struct ata_port_operations optiplus_port_ops = {
432 .irq_clear = ata_bmdma_irq_clear, 432 .irq_clear = ata_bmdma_irq_clear,
433 .irq_on = ata_irq_on, 433 .irq_on = ata_irq_on,
434 434
435 .port_start = ata_port_start, 435 .port_start = ata_sff_port_start,
436}; 436};
437 437
438/** 438/**