Re: IDE driver: CBLID revisited

Vojtech Pavlik (vojtech@suse.cz)
Tue, 15 Jul 2003 08:54:50 +0200


On Mon, Jul 14, 2003 at 04:36:01PM -0700, jiho@c-zone.net wrote:

> The first test checks the cable type bit, then if that fails the rest
> checks UDMA enabled with mode timing for UDMA-66 or better.
>
> But the last test, (((u >> i) & 7) < 8)), should have < 6.

Indeed, since 6 means (6+2)*7.5ns which is 60ns, which is the correct
threshold. I probably forgot to subtract the '2' ...

Please can you make patches for 2.4 and 2.6?

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR
-
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/