Patchwork [5/5] pata_efar: Enable PARALLEL_SCAN

login
register
mail settings
Submitter Alan Cox
Date Feb. 17, 2010, 1:17 p.m.
Message ID <20100217131749.16884.3192.stgit@localhost.localdomain>
Download mbox | patch
Permalink /patch/45631/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Alan Cox - Feb. 17, 2010, 1:17 p.m.
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>
---

 drivers/ata/pata_efar.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)



--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c
index 2a9014c..4289db0 100644
--- a/drivers/ata/pata_efar.c
+++ b/drivers/ata/pata_efar.c
@@ -278,7 +278,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[] = {