mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
1d3a8118b0
commit
7e044a12c7
|
@ -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,
|
dev_printk(KERN_DEBUG, &pdev->dev,
|
||||||
"version " DRV_VERSION "\n");
|
"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[] = {
|
static const struct pci_device_id efar_pci_tbl[] = {
|
||||||
|
|
Loading…
Reference in New Issue