Jeff Garzik wrote:
Nah we should really dump the full taskfile...
Agreed. But the original command byte is not stored anywhere
for us to dump it from.
er eh?
All callers of ata_to_sense_error() have the full taskfile available.
Yes, but the command byte gets overwritten by the read-back status byte,
since they share the same byte in the taskfile.
So once the command has failed, the command byte is no longer there.
Or is it?
-ml
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html