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



The following reply was made to PR kern/42225; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: Matthias Kretschmer <kretschm%cs.uni-bonn.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/42225 (can't read data from SuperTop IDE Bridge (umass))
Date: Wed, 10 Feb 2010 16:31:31 +0100

 You say dCSWDataResidue is always zero, but what are the sc->transfer_datalen,
 the sc->transfer_actlen and bCSWStatus values?
 
 Does it work if you make sure to limit the length at 
 
   min(sc->transfer_actlen, sc->transfer_datalen-UGETDW(dCSWDataResidue))
 
 instead (unconditionally, no quirk)?
 
 According to the spec paragraph 6.7.2 [case 7 or 8]:
 
   If the device actually transfers less data than the host indicated, then
        The device may end the transfer with a short packet.
        The device shall STALL the Bulk-In pipe.
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index