Re: [PATCH] IDE udma_status = 0x76 and 2.5.30...

From: Marcin Dalecki (dalecki@evision.ag)
Date: Mon Aug 05 2002 - 09:21:06 EST


Uz.ytkownik Petr Vandrovec napisa?:

> PDC20265 works correctly without setting stop-bit in last descriptor
> for reads, as IDE drive signals no more data, and we stop udma engine
> manually in such case. But for writes PDC20265 prefetches beyond last
> pointer, finds garbage here (probably descriptor crossing 64KB, or
> odd length or ...), and aborts whole transfer in the middle (about
> 4 bytes before end of real write, when it tries to prefetch beginning
> of next sector).

What about inserting a trap pointer there? One which would allow to
determine "overflows" fast? However I don't see a way to trigger
something as convenient as a simple page fault here.

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:27 EST