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_serverworks.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_serverworks.c')
-rw-r--r-- | drivers/ata/pata_serverworks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 7c08f25c9544..df68806df4be 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -348,7 +348,7 @@ static struct ata_port_operations serverworks_osb4_port_ops = { | |||
348 | .irq_clear = ata_bmdma_irq_clear, | 348 | .irq_clear = ata_bmdma_irq_clear, |
349 | .irq_on = ata_irq_on, | 349 | .irq_on = ata_irq_on, |
350 | 350 | ||
351 | .port_start = ata_port_start, | 351 | .port_start = ata_sff_port_start, |
352 | }; | 352 | }; |
353 | 353 | ||
354 | static struct ata_port_operations serverworks_csb_port_ops = { | 354 | static struct ata_port_operations serverworks_csb_port_ops = { |
@@ -382,7 +382,7 @@ static struct ata_port_operations serverworks_csb_port_ops = { | |||
382 | .irq_clear = ata_bmdma_irq_clear, | 382 | .irq_clear = ata_bmdma_irq_clear, |
383 | .irq_on = ata_irq_on, | 383 | .irq_on = ata_irq_on, |
384 | 384 | ||
385 | .port_start = ata_port_start, | 385 | .port_start = ata_sff_port_start, |
386 | }; | 386 | }; |
387 | 387 | ||
388 | static int serverworks_fixup_osb4(struct pci_dev *pdev) | 388 | static int serverworks_fixup_osb4(struct pci_dev *pdev) |