NetBSD-Bugs archive

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

Re: kern/42225 (can't read data from SuperTop IDE Bridge (umass))



Hello,


On Tue, Aug 02, 2011 at 02:53:02AM +0000, dholland%NetBSD.org@localhost wrote:
> Synopsis: can't read data from SuperTop IDE Bridge (umass)
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: dholland%NetBSD.org@localhost
> State-Changed-When: Tue, 02 Aug 2011 02:53:01 +0000
> State-Changed-Why:
> Does it work now as committed?


maybe it is the best to ignore the residue field completely and
calculate for oneself.  This removes the need of reading the additional
information from the transfer result data and the check if the residue
and the calculated residue are the same.

Even though Linux has a quirk for that, Darwin [1] just ignores this
and I think it is a good idea.  Haiku [2] ignores the residue, too, and
calculates it by itself.  Nobody seems to have a problem there.


[1] 
http://www.opensource.apple.com/source/IOUSBMassStorageClass/IOUSBMassStorageClass-261.0.3/USBMassStorageClassBulkOnly.cpp
[2] http://dev.haiku-os.org/ticket/6604


--
Matthias Kretschmer


Home | Main Index | Thread Index | Old Index