Re: libata PATA updated patch

From: Matthieu CASTET
Date: Wed May 17 2006 - 15:09:25 EST

Le Tue, 16 May 2006 17:13:57 +0100, Alan Cox a écrit :

> I've put a patch versus -rc4 in the usual place. This should sort out
> the PIO problems and a few other glitches
> Alan
Ok the via timing are ok now.

If I had in ata_host_intr someting like [1] for checking the altstatus, my
ATAPI drive works.
It report "ata_altstatus take 3us", for driver that wasn't worked before.

I don't know if it is a correct fix and where it should be putted (in
libata-core or in the pata_via check_altstatus callback).
I don't know if it should be used only for ATA_CMD_SET_FEATURES &&

Now real testing could begging.


for (i=0; ata_altstatus(ap) & ATA_BUSY; i++) {
if (i > 10)
goto idle_irq;
if (i)
printk("ata_altstatus take %dus\n", i);

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