summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2010-02-17 13:17:52 (GMT)
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 20:07:21 (GMT)
commit7e044a12c73f474e59f1ddecf08d6781c7830f0f (patch)
tree304e21570e1f2c5ae251de6bfad52fc63c3bb1cb
parent1d3a8118b049252a84641b6643066bda0da0d316 (diff)
downloadlinux-7e044a12c73f474e59f1ddecf08d6781c7830f0f.tar.xz
pata_efar: Enable parallel scanning
Again originally proposed by Bartlomiej but this does it by using the generic helper logic instead. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r--drivers/ata/pata_efar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index 1617421..3bac0e0 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -277,7 +277,8 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent)
dev_printk(KERN_DEBUG, &pdev->dev,
"version " DRV_VERSION "\n");
- return ata_pci_sff_init_one(pdev, ppi, &efar_sht, NULL, 0);
+ return ata_pci_sff_init_one(pdev, ppi, &efar_sht, NULL,
+ ATA_HOST_PARALLEL_SCAN);
}
static const struct pci_device_id efar_pci_tbl[] = {