Re: [PATCH ide] : Increase WAIT_DRQ to support slow CF cards

From: Mark Lord
Date: Sat Oct 31 2009 - 09:56:50 EST


Robert Hancock wrote:
..
This has come up before:

http://marc.info/?l=linux-ide&m=123064513313466&w=2

I think this timeout should not even exist. libata has no such timeout (only the overall command completion timeout), and I can't find any reference in current ATA specs to the device being required to raise DRQ in any particular amount of time.
..

The reason for the original (20ms, then 50ms) timeout was this text
from the ATA1 specification, long since outdated:

- Upon receipt of a Class 3 command, the drive sets BSY within 400 nsec,
sets up the sector buffer for a write operation, sets DRQ within 20
msec, and clears BSY within 400 nsec of setting DRQ.

Cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/