Hello Alan, 24.01.2012 19:45, Alan Stern: [trim]
Does this mean that the hardware has only one FIFO? Or only one for each direction? That's a pretty limited design.
Well EPs do have separate FIFOs, at least that's how the driver see it, but it looks like they are somehow not fully independent actually.
[trim]
It's even possible that the host will want to receive one packet from one endpoint (presumably the FIFO can hold more than one packet's worth?) followed by one packet from another endpoint. Judging by your description, it is impossible for the device to fulfill such requests. You will simply have to live with mismatches. There's nothing wrong them, so long as the device responds to a mismatch with NAK.
Ok, so you mean that it would be correct to just allow mismatches happen as much as they will and consider handling them (that is, resubmitting data) as a normal workflow?
Thank you. Nikolai
Alan Stern
-- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html