From owner-p4-projects@FreeBSD.ORG Mon Jan 12 08:33:46 2009 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8DADF1065673; Mon, 12 Jan 2009 08:33:46 +0000 (UTC) Delivered-To: perforce@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DCB11065670 for ; Mon, 12 Jan 2009 08:33:46 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 3BEFF8FC0A for ; Mon, 12 Jan 2009 08:33:46 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n0C8Xk2T054600 for ; Mon, 12 Jan 2009 08:33:46 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n0C8Xkek054598 for perforce@freebsd.org; Mon, 12 Jan 2009 08:33:46 GMT (envelope-from hselasky@FreeBSD.org) Date: Mon, 12 Jan 2009 08:33:46 GMT Message-Id: <200901120833.n0C8Xkek054598@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky To: Perforce Change Reviews Cc: Subject: PERFORCE change 156005 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2009 08:33:47 -0000 http://perforce.freebsd.org/chv.cgi?CH=156005 Change 156005 by hselasky@hselasky_laptop001 on 2009/01/12 08:33:37 Add missing set frame data pointer call. The function call was missed when zero copy was introduced in UMASS. Reported by: WATANABE Kazuhiro. Affected files ... .. //depot/projects/usb/src/sys/dev/usb2/storage/umass2.c#21 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb2/storage/umass2.c#21 (text+ko) ==== @@ -2414,6 +2414,9 @@ } xfer->timeout = sc->sc_transfer.data_timeout; + if (xfer->flags.ext_buffer) { + usb2_set_frame_data(xfer, sc->sc_transfer.data_ptr, 0); + } xfer->frlengths[0] = max_bulk; usb2_start_hardware(xfer); return;