aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_pdc2027x.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_pdc2027x.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_pdc2027x.c')
-rw-r--r--drivers/ata/pata_pdc2027x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c
index 5fba36f04ca9..40b070ea85a1 100644
--- a/drivers/ata/pata_pdc2027x.c
+++ b/drivers/ata/pata_pdc2027x.c
@@ -173,7 +173,7 @@ static struct ata_port_operations pdc2027x_pata100_ops = {
173 .irq_clear = ata_bmdma_irq_clear, 173 .irq_clear = ata_bmdma_irq_clear,
174 .irq_on = ata_irq_on, 174 .irq_on = ata_irq_on,
175 175
176 .port_start = ata_port_start, 176 .port_start = ata_sff_port_start,
177}; 177};
178 178
179static struct ata_port_operations pdc2027x_pata133_ops = { 179static struct ata_port_operations pdc2027x_pata133_ops = {
@@ -206,7 +206,7 @@ static struct ata_port_operations pdc2027x_pata133_ops = {
206 .irq_clear = ata_bmdma_irq_clear, 206 .irq_clear = ata_bmdma_irq_clear,
207 .irq_on = ata_irq_on, 207 .irq_on = ata_irq_on,
208 208
209 .port_start = ata_port_start, 209 .port_start = ata_sff_port_start,
210}; 210};
211 211
212static struct ata_port_info pdc2027x_port_info[] = { 212static struct ata_port_info pdc2027x_port_info[] = {