]> git.ipfire.org Git - people/ms/u-boot.git/commit
USB: sync Queue Element Transfer Descriptor against EHCI spec
authorWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 14:13:15 +0000 (16:13 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 22:23:57 +0000 (00:23 +0200)
commit3ed16071b006dbda65070a4143db74da469f6e30
tree855adef8060aff452e1193dde322281adf01f682
parentd078b7c2ec8624e084e1493304816949ff382bda
USB: sync Queue Element Transfer Descriptor against EHCI spec

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>
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ehci.h