Huang, Xinmei
2007-Jan-24 09:02 UTC
[Xen-devel] [PATCH] Fix improper process of updating TD status field
This patch adds codes to clear TD status field explicitly when it''s fetched. In current Qemu-dm, UHC will set some status bits of TD in status updating stage, but never process the status bit if relevant condition does not occur, leaving it as it is. When a TD is fetched with some status bits are set to 1, it will return to Guest OS with these bits set to 1 even this TD is executed successfully. Some Windows OS, e.g. Windows 2000, will check status bits of TD in UHC interrupt routine, treat it as a unsuccessful one if some status bits are set to 1 and discard the data. Other Windows OS just check USBSTS of UHC, ignoring status field of TD unless the value of USBSTS indicates occurrence of error. With this patch, USB mouse/tablet in Windows 2000 would work normally. Signed-off-by: Xinmei Huang <xinmei.huang@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel