From owner-p4-projects@FreeBSD.ORG Tue Nov 20 20:25:40 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 26A9C16A46B; Tue, 20 Nov 2007 20:25:40 +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 9CE6E16A418 for ; Tue, 20 Nov 2007 20:25:39 +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 9ED3C13C448 for ; Tue, 20 Nov 2007 20:25:39 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lAKKPdw4031308 for ; Tue, 20 Nov 2007 20:25:39 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lAKKPdse031270 for perforce@freebsd.org; Tue, 20 Nov 2007 20:25:39 GMT (envelope-from hselasky@FreeBSD.org) Date: Tue, 20 Nov 2007 20:25:39 GMT Message-Id: <200711202025.lAKKPdse031270@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 129302 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: Tue, 20 Nov 2007 20:25:40 -0000 http://perforce.freebsd.org/chv.cgi?CH=129302 Change 129302 by hselasky@hselasky_laptop001 on 2007/11/20 20:25:10 A pointer to a structure of type "struct usbd_page_cache" will be passed to the "bus_dmamap_callback_t" function. To be able to start the USB transfer after loading the DMA we need a back pointer to the USB transfer. This commit adds this back pointer. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_subr.h#53 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_subr.h#53 (text+ko) ==== @@ -202,6 +202,7 @@ struct usbd_page_cache { struct usbd_page *page_start; + struct usbd_xfer *p_xfer; uint32_t page_offset_buf; uint32_t page_offset_end; };