From owner-cvs-all@FreeBSD.ORG Mon Nov 24 18:23:30 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9A0316A4CE; Mon, 24 Nov 2003 18:23:30 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43C1643FDF; Mon, 24 Nov 2003 18:23:30 -0800 (PST) (envelope-from iedowse@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAP2NUXJ051543; Mon, 24 Nov 2003 18:23:30 -0800 (PST) (envelope-from iedowse@repoman.freebsd.org) Received: (from iedowse@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAP2NTua051542; Mon, 24 Nov 2003 18:23:29 -0800 (PST) (envelope-from iedowse) Message-Id: <200311250223.hAP2NTua051542@repoman.freebsd.org> From: Ian Dowse Date: Mon, 24 Nov 2003 18:23:29 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/usb ohci.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Tue, 25 Nov 2003 02:23:31 -0000 iedowse 2003/11/24 18:23:29 PST FreeBSD src repository Modified files: sys/dev/usb ohci.c Log: Write the correct value to `td_be' for the second and further transfer descriptors when a large request needs to be split into more than one 8k chunk. The bug was that the calculation did not take into account the offset of the chunk within the overall request. This is reported to fix crashes and data corruption on ohci controllers. Submitted by: green Approved by: re Revision Changes Path 1.139 +1 -1 src/sys/dev/usb/ohci.c