From owner-p4-projects@FreeBSD.ORG Sat Oct 7 15:50:09 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5560216A415; Sat, 7 Oct 2006 15:50:09 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0857016A40F for ; Sat, 7 Oct 2006 15:50:08 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59CFE43D6A for ; Sat, 7 Oct 2006 15:50:03 +0000 (GMT) (envelope-from hselasky@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k97Fo3ej061917 for ; Sat, 7 Oct 2006 15:50:03 GMT (envelope-from hselasky@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k97Fo2Xh061908 for perforce@freebsd.org; Sat, 7 Oct 2006 15:50:02 GMT (envelope-from hselasky@FreeBSD.org) Date: Sat, 7 Oct 2006 15:50:02 GMT Message-Id: <200610071550.k97Fo2Xh061908@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 107421 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: Sat, 07 Oct 2006 15:50:09 -0000 http://perforce.freebsd.org/chv.cgi?CH=107421 Change 107421 by hselasky@hselasky_mini_itx on 2006/10/07 15:49:59 Update documentation. Affected files ... .. //depot/projects/usb/src/sys/dev/usb/README#9 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/README#9 (text+ko) ==== @@ -150,6 +150,8 @@ - "n_setup" is a number telling the USB system how many USB transfers should be unsetup +NOTE: This function can sleep, waiting for active mutexes to become unlocked! + /*------------------------------------------------------------------------* * void * usbd_transfer_start(xfer) @@ -172,18 +174,6 @@ "xfer->error=USBD_CANCELLED", before this function returns /*------------------------------------------------------------------------* - * void - * usbd_transfer_drain(priv_wait, priv_mtx) - *------------------------------------------------------------------------*/ - -- "priv_wait" is a pointer to a structure of type "struct usbd_memory_wait" - -- "priv_mtx" is a pointer to a mutex protecting the "priv_wait" structure - -NOTE: This function returns when the mutex "priv_mtx", is not used by the USB -system any more. - -/*------------------------------------------------------------------------* * struct usbd_config { * type, endpoint, direction, interval, timeout, frames, index * flags, bufsize, callback