Patchwork [4/5] pata_atiixp: enable parallel scan

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

Comments

Alan Cox - Feb. 17, 2010, 1:17 p.m.
This was originally proposed by Bartlomiej but as a device specific
expansion of the init_one function rather than making the helper more
generic.

Enable the parallel scan via the generic flags.

Signed-off-by: Alan Cox <alan@linux.intel.com>
---

 drivers/ata/pata_atiixp.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_atiixp.c b/drivers/ata/pata_atiixp.c
index 7143cb0..017e6e1 100644
--- a/drivers/ata/pata_atiixp.c
+++ b/drivers/ata/pata_atiixp.c
@@ -247,7 +247,8 @@  static int atiixp_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
 		if (!pci_test_config_bits(pdev, &atiixp_enable_bits[i]))
 			ppi[i] = &ata_dummy_port_info;
 
-	return ata_pci_sff_init_one(pdev, ppi, &atiixp_sht, NULL, 0);
+	return ata_pci_sff_init_one(pdev, ppi, &atiixp_sht, NULL,
+						ATA_HOST_PARALLEL_SCAN);
 }
 
 static const struct pci_device_id atiixp[] = {