This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Folks Attached is a patch for the upd985xx USB slave. This patch fixes a problem when the ep0 maximum payload length is not 8. RedHat have an internal patch which has not yet been contributed which changes the default to 64. (This patch does not require that patch). The problem occurs when replying with less bytes then requested. If this happens and the reply is a multiple of the maximum payload size, a zero byte packet must be appended. The current code has a hardcoded 8 for the maximum packet size. This patch changes it to use the CDL configured value. The patch also adds some clarification has to how the maximum payload size is determined from the CDL options. Andrew
Attachment:
diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |