Re: [PATCH] libata: add support for READ/WRITE LONG

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

 



Sergei Shtylyov wrote:
Hello.

Mark Lord wrote:
..
Again, ata_data_xfer() doesn't seem capable of performing ECC read/writes -- the ECC bytes must be transferred in 8-bit mode, AFAIR. ata_data_xfer()
can oinly do that for optionally trailing odd byte.

I have no idea what that was all about.  Care to explain again?

   Care to read the standards? :-/

RWLONG transfer the ECC info 8-bits at a time, using 16-bit words
to do so, no different from normal.  ???

   From ATA-1:

"The transfer of the vendor specific bytes shall be one byte at a time over bits DD0-7 only (8-bits wide)."

Yes, I said that already.  8-bits at a time, but using 16-bit transfers.
Kinda like it says here, in ATA-3 section 7.16:

The transfer of the vendor specifc bytes shall be 16 bit transfers
with the vendor specific byte in bits 7 through 0.  Bits 15 through 8
shall be ignored by the host.

But if we really want to be 100% compliant, we could consider dropping
to PIO0 for the command.  Not worth it, though, as in practice this is
not necessary, and it would mess up libata far more than is worthwhile
for this effort.

Cheers
-
To unsubscribe from this list: 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