diff options
author | Arjan van de Ven <arjan@infradead.org> | 2009-05-13 15:02:42 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-06-10 11:05:34 -0400 |
commit | 517d3cc15b36392e518abab6bacbb72089658313 (patch) | |
tree | 9a3565de854416352468cd1adc6666cc45eed3bc /drivers/ata/ata_piix.c | |
parent | 7f4774b38ee6270bbc6c3015cb3fa6c415ffb340 (diff) | |
download | op-kernel-dev-517d3cc15b36392e518abab6bacbb72089658313.zip op-kernel-dev-517d3cc15b36392e518abab6bacbb72089658313.tar.gz |
[libata] ata_piix: Enable parallel scan
This patch turns on parallel scanning for the ata_piix driver.
This driver is used on most netbooks (no AHCI for cheap storage it seems).
The scan is the dominating time factor in the kernel boot for these
devices; with this flag it gets cut in half for the device I used
for testing (eeepc).
Alan took a look at the driver source and concluded that it ought to be safe
to do for this driver. Alan has also checked with the hardware team.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/ata_piix.c')
-rw-r--r-- | drivers/ata/ata_piix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 6e165bf..d0a14cf 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -1589,6 +1589,7 @@ static int __devinit piix_init_one(struct pci_dev *pdev, host->ports[1]->mwdma_mask = 0; host->ports[1]->udma_mask = 0; } + host->flags |= ATA_HOST_PARALLEL_SCAN; pci_set_master(pdev); return ata_pci_sff_activate_host(host, ata_sff_interrupt, &piix_sht); |