summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_opti.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2007-08-22 23:55:41 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-12 20:55:36 +0200
commit81ad1837b590775336f68eafcae8dab13a975b3a (patch)
treeacdbe73364759c291eaf2ad40c708374e23cddfe /drivers/ata/pata_opti.c
parent[libata] Remove ->port_disable() hook (diff)
downloadlinux-81ad1837b590775336f68eafcae8dab13a975b3a.tar.xz
linux-81ad1837b590775336f68eafcae8dab13a975b3a.zip
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_opti.c')
-rw-r--r--drivers/ata/pata_opti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c
index 2a4bfbfbe75a..8f79447b6151 100644
--- a/drivers/ata/pata_opti.c
+++ b/drivers/ata/pata_opti.c
@@ -210,7 +210,7 @@ static struct ata_port_operations opti_port_ops = {
.irq_clear = ata_bmdma_irq_clear,
.irq_on = ata_irq_on,
- .port_start = ata_port_start,
+ .port_start = ata_sff_port_start,
};
static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id)