Huang, Xinmei
2006-Dec-05 04:48 UTC
[Xen-devel] [PATCH]UHC should not generate interrupt when USB device returns NAK
This patch adds support for USB mouse/tablet status check and restricts Universal Host Controller interrupt generating when receiving NAK in interrupt transfer. According to usb spec, USB mouse/tablet device returns NAK to host controller if its status does not alter in interrupt transfer. And UHC should leave a TD active when receiving NAK and execute this incompleted TD in a subseqent frame. UHC only generates an interrupt on complete after the TD with ICO bit=1 is completed. This patch obliges UHC & USB mouse/tablet to behave consistently with spec. Signed-off-by: Xinmei Huang <xinmei.huang@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Huang, Xinmei
2006-Dec-05 04:53 UTC
[Xen-devel] [PATCH]UHC should not generate interrupt when USB device returns NAK
This patch adds support for USB mouse/tablet status check and restricts Universal Host Controller interrupt generating when received NAK in interrupt transfer. According to usb spec, USB mouse/tablet device returns NAK to host controller if its status does not alter in interrupt transfer. And UHC should leave a TD active when receiving NAK and execute this incompleted TD in a subseqent frame. UHC only generates an interrupt on complete after the TD with ICO bit=1 is completed. This patch obliges UHC & USB mouse/tablet to behave consistently with spec. Signed-off-by: Xinmei Huang <xinmei.huang@intel.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel