Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2010 17:49:20 +0000 (UTC)
From:      Weongyo Jeong <weongyo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r213525 - user/weongyo/usb/sys/dev/usb
Message-ID:  <201010071749.o97HnKpI048343@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010071749.o97HnKpI048343>