WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH]UHC should not generate interrupt when USB device ret

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]UHC should not generate interrupt when USB device returns NAK
From: "Huang, Xinmei" <xinmei.huang@xxxxxxxxx>
Date: Tue, 5 Dec 2006 12:53:12 +0800
Delivery-date: Mon, 04 Dec 2006 20:54:43 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccYIFUctQo+acaFStST+nWBI8j1CgACMYGg
Thread-topic: [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@xxxxxxxxx>

Attachment: usb.uhci.patch
Description: usb.uhci.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>