Re: [PATCH 2/5] Subject: [PATCH] pata_efar: add locking for parallelscanning

From: Jeff Garzik
Date: Mon Mar 01 2010 - 15:12:38 EST

On 02/17/2010 08:16 AM, Alan Cox wrote:
From: Bartlomiej Zolnierkiewicz<bzolnier@xxxxxxxxx>

Add clearing of UDMA enable bit also for PIO modes and then add
an 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@xxxxxxxxx>

This one is
Signed-off-by: Alan Cox<alan@xxxxxxxxxxxxxxx>

drivers/ata/pata_efar.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)

applied 2-5

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at