diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2010-02-17 14:16:58 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-03-01 21:04:58 +0100 |
commit | 303f1a76ae792885af8a4a0e784e22e31e850e9a (patch) | |
tree | d390d5ca09c5fc0ddb8ac3c1d09361c1bfa3a1f5 /drivers/ata/pata_piccolo.c | |
parent | libata: Pass host flags into the pci helper (diff) | |
download | linux-303f1a76ae792885af8a4a0e784e22e31e850e9a.tar.xz linux-303f1a76ae792885af8a4a0e784e22e31e850e9a.zip |
[libata] pata_efar: add locking for parallel scanning
Add clearing of UDMA enable bit also for PIO modes and then add
extra locking for parallel scanning.
This is similar change as commit 60c3be3 for ata_piix host driver
and while pata_efar doesn't enable parallel scan yet the race could
probably also be triggered by requesting re-scanning of both ports
at the same time using SCSI sysfs interface.
[Ported to current kernel without other patch dependancies by
Alan Cox]
Original is
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This one is
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_piccolo.c')
0 files changed, 0 insertions, 0 deletions