From owner-svn-src-user@FreeBSD.ORG Thu Oct 7 17:49:20 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50E95106567A; Thu, 7 Oct 2010 17:49:20 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0728FC12; Thu, 7 Oct 2010 17:49:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o97HnKSs048345; Thu, 7 Oct 2010 17:49:20 GMT (envelope-from weongyo@svn.freebsd.org) Received: (from weongyo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o97HnKpI048343; Thu, 7 Oct 2010 17:49:20 GMT (envelope-from weongyo@svn.freebsd.org) Message-Id: <201010071749.o97HnKpI048343@svn.freebsd.org> From: Weongyo Jeong Date: Thu, 7 Oct 2010 17:49:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213525 - user/weongyo/usb/sys/dev/usb X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 17:49:20 -0000 Author: weongyo Date: Thu Oct 7 17:49:19 2010 New Revision: 213525 URL: http://svn.freebsd.org/changeset/base/213525 Log: Enhances a comment what xfer_setup is really doing. Modified: user/weongyo/usb/sys/dev/usb/usb_transfer.c Modified: user/weongyo/usb/sys/dev/usb/usb_transfer.c ============================================================================== --- user/weongyo/usb/sys/dev/usb/usb_transfer.c Thu Oct 7 17:35:10 2010 (r213524) +++ user/weongyo/usb/sys/dev/usb/usb_transfer.c Thu Oct 7 17:49:19 2010 (r213525) @@ -799,8 +799,9 @@ usbd_transfer_setup(struct usb_device *u parm.curr_xfer = xfer; /* - * Call the Host or Device controller transfer - * setup routine: + * Call the Host or Device controller transfer setup routine + * that at this point it'd calculate the buffer size only + * because parm->buf is NULL. */ (udev->bus->methods->xfer_setup) (&parm); if (parm.err)