diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-08-22 17:55:41 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:36 -0400 |
commit | 81ad1837b590775336f68eafcae8dab13a975b3a (patch) | |
tree | acdbe73364759c291eaf2ad40c708374e23cddfe /drivers/ata/pata_pdc202xx_old.c | |
parent | ac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (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_pdc202xx_old.c')
-rw-r--r-- | drivers/ata/pata_pdc202xx_old.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index 9b7077d51489..fd4350029bc4 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
@@ -275,7 +275,7 @@ static struct ata_port_operations pdc2024x_port_ops = { | |||
275 | .irq_clear = ata_bmdma_irq_clear, | 275 | .irq_clear = ata_bmdma_irq_clear, |
276 | .irq_on = ata_irq_on, | 276 | .irq_on = ata_irq_on, |
277 | 277 | ||
278 | .port_start = ata_port_start, | 278 | .port_start = ata_sff_port_start, |
279 | }; | 279 | }; |
280 | 280 | ||
281 | static struct ata_port_operations pdc2026x_port_ops = { | 281 | static struct ata_port_operations pdc2026x_port_ops = { |
@@ -308,7 +308,7 @@ static struct ata_port_operations pdc2026x_port_ops = { | |||
308 | .irq_clear = ata_bmdma_irq_clear, | 308 | .irq_clear = ata_bmdma_irq_clear, |
309 | .irq_on = ata_irq_on, | 309 | .irq_on = ata_irq_on, |
310 | 310 | ||
311 | .port_start = ata_port_start, | 311 | .port_start = ata_sff_port_start, |
312 | }; | 312 | }; |
313 | 313 | ||
314 | static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) | 314 | static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id) |