Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 16:44:52 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 135659 for review
Message-ID:  <200802181644.m1IGiqLx041771@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135659

Change 135659 by hselasky@hselasky_laptop001 on 2008/02/18 16:44:27

	
	Clearify comments.

Affected files ...

.. //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#115 edit

Differences ...

==== //depot/projects/usb/src/sys/dev/usb/usb_transfer.c#115 (text+ko) ====

@@ -206,7 +206,8 @@
 /*------------------------------------------------------------------------*
  *	usbd_get_pipe_by_addr
  *
- * This function searches for an USB pipe by endpoint address.
+ * This function searches for an USB pipe by endpoint address and
+ * direction.
  *------------------------------------------------------------------------*/
 struct usbd_pipe *
 usbd_get_pipe_by_addr(struct usbd_device *udev, uint8_t ea_val)
@@ -219,7 +220,7 @@
 
 	/*
 	 * According to the USB specification not all bits are used
-	 * for the endpoint address. Mask away the reserved bits:
+	 * for the endpoint address. Keep defined bits only:
 	 */
 	ea_val &= EA_MASK;
 



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