Re: LibPATA code issues / 2.6.15.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lord wrote:
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.

It's trivial to save it locally before stomping...

	Jeff



-
: 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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux