svn commit: r213525 - user/weongyo/usb/sys/dev/usb

Weongyo Jeong weongyo at FreeBSD.org
Thu Oct 7 17:49:20 UTC 2010


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)


More information about the svn-src-user mailing list