From owner-cvs-all@FreeBSD.ORG Thu Jun 28 05:15:34 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CDAEA16A41F; Thu, 28 Jun 2007 05:15:34 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id A7D1613C46C; Thu, 28 Jun 2007 05:15:34 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5S5FYa3098913; Thu, 28 Jun 2007 05:15:34 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5S5FYKd098912; Thu, 28 Jun 2007 05:15:34 GMT (envelope-from imp) Message-Id: <200706280515.l5S5FYKd098912@repoman.freebsd.org> From: Warner Losh Date: Thu, 28 Jun 2007 05:15:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ugen.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 05:15:34 -0000 imp 2007-06-28 05:15:34 UTC FreeBSD src repository Modified files: sys/dev/usb ugen.c Log: For both interrupt and isochronous (the patch was unclear which one it applied to, but I'd think both), honor the timeout that's been set. Return 0 bytes to be consistant with what libusb expects. By default, the timeout will be zero, so only applications that change the default will see a change. The patch only seems to apply to the interrupt end points, but it should also apply to isochronous endpoints as well. Submitted by: Maurice Castro PR: 110122 Approved by: re (blanket) Revision Changes Path 1.110 +13 -3 src/sys/dev/usb/ugen.c