
In message 1287497595-22758-1-git-send-email-wd@denx.de I wrote:
Appendix B "EHCI 64-Bit Data Structures" of the "Enhanced Host Controller Interface Specification for Universal Serial Bus" (Rev. 1.0, March 12, 2002) defines additional fields which were missing in U-Boot's struct qTD; as these are also present in recent versions of struct ehci_qtd in the Linux kernel, we add them here, too.
This fixes some nasty memory corruption problems.
Reported-by: Dan Lykowski lykowdk@gmail.com See http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/76942
Signed-off-by: Wolfgang Denk wd@denx.de Cc: Remy Bohmer linux@bohmer.net Cc: Dan Lykowski lykowdk@gmail.com Cc: Stefano Babic sbabic@denx.de Tested-by: Stefano Babic sbabic@denx.de
Dear Remy,
this patch goes back to an old posting by Dan Lykowski.
Unfortunately Dan never submitted a patch, so this went unfixed until now, when the bug bit Stefano...
Best regards,
Wolfgang
drivers/usb/host/ehci-hcd.c | 1 + drivers/usb/host/ehci.h | 14 +++++++++----- 2 files changed, 10 insertions(+), 5 deletions(-)
Applied directly.
Remy, I hope this is OK with you.
Best regards,
Wolfgang Denk