PERFORCE change 135659 for review

Hans Petter Selasky hselasky at FreeBSD.org
Mon Feb 18 08:44:53 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=135659

Change 135659 by hselasky at 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;
 


More information about the p4-projects mailing list