pata_atiixp: enable parallel scan
authorAlan Cox <alan@linux.intel.com>
Wed, 17 Feb 2010 13:17:44 +0000 (13:17 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Mar 2010 20:07:01 +0000 (15:07 -0500)
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>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_atiixp.c

index 9ad3b4c..cbaf2ed 100644 (file)
@@ -246,7 +246,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[] = {