Re: vt8235 fix, hopefully last variant

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Sat Dec 21 2002 - 13:27:47 EST


On Sat, Dec 21, 2002 at 09:57:42AM -0800, John Reiser wrote:

> Looking at the important piece:
> -----
> > + /* Always use 4 address setup clocks on ATAPI devices */
> > + if (drive->media != ide_disk)
> > + t.setup = 4;
> -----
> it seems to me that using 4 for t.setup also should be done unless _all_ devices
> on that cable are ide_disk. In particular, if one device is ide_disk but the
> other is not, then "t.setup = 4;" should be used even when talking to the ide_disk.
> Otherwise the non-ide_disk device might get confused, respond when it should not,
> and garble the transaction. Or, is such a bad thing prevented in some other way?

Good idea.

-- 
Vojtech Pavlik
SuSE Labs
-
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 : Mon Dec 23 2002 - 22:00:29 EST