Alan Cox wrote:
On Tue, 13 Nov 2007 12:24:45 -0500
Mark Lord <[EMAIL PROTECTED]> wrote:

Alan Cox wrote:
NAK.  There's no guarantee that the next command after an error
will always be REQUEST_SENSE.   Or is there?
For that device over ATAPI I believe the guarantee is there, the same as
for SCSI.
..

Even for SG_IO w/o requesting sense data?

Thats a very good question. Yes we might need to ignore ERR at that
point. Another possibility would be to notice if ERR seems to be stuck
after we are finished so we know for next time.
..

ERR should stay set until the next command has been written to the device.
So we could try and be clever to ignore ERR after PACKET, before CDB, only
if it was set by previous command.

Sounds a bit complex.

Just (unconditionally for tape) ignoring it between PACKET and CDB might be 
simpler.

Cheers
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to