summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_hpt3x2n.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-02-23 08:26:06 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 20:58:46 +0100
commit16ea0fc98d53c72cb4e1a9edcb685a87e3a81430 (patch)
tree1a799ce01f8ea2b3a425631e791b946cb94285b1 /drivers/ata/pata_hpt3x2n.c
parent[libata] pata_marvell: CONFIG_AHCI is really CONFIG_SATA_AHCI (diff)
downloadlinux-16ea0fc98d53c72cb4e1a9edcb685a87e3a81430.tar.xz
linux-16ea0fc98d53c72cb4e1a9edcb685a87e3a81430.zip
libata: Pass host flags into the pci helper
This allows parallel scan and the like to be set without having to stop using the existing full helper functions. This patch merely adds the argument and fixes up the callers. It doesn't undo the special cases already in the tree or add any new parallel callers. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_hpt3x2n.c')
-rw-r--r--drivers/ata/pata_hpt3x2n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c
index 4a291221f277..01457b266f3d 100644
--- a/drivers/ata/pata_hpt3x2n.c
+++ b/drivers/ata/pata_hpt3x2n.c
@@ -548,7 +548,7 @@ static int hpt3x2n_init_one(struct pci_dev *dev, const struct pci_device_id *id)
outb(inb(iobase + 0x9c) | 0x04, iobase + 0x9c);
/* Now kick off ATA set up */
- return ata_pci_sff_init_one(dev, ppi, &hpt3x2n_sht, hpriv);
+ return ata_pci_sff_init_one(dev, ppi, &hpt3x2n_sht, hpriv, 0);
}
static const struct pci_device_id hpt3x2n[] = {