svn commit: r202270 - in head: share/man/man4 sys/dev/usb/net

Andrew Thompson thompsa at FreeBSD.org
Thu Jan 14 01:16:21 UTC 2010


Author: thompsa
Date: Thu Jan 14 01:16:20 2010
New Revision: 202270
URL: http://svn.freebsd.org/changeset/base/202270

Log:
  Grammar nits.
  
  Submitted by:	Ben Kaduk

Modified:
  head/share/man/man4/uhso.4
  head/sys/dev/usb/net/uhso.c

Modified: head/share/man/man4/uhso.4
==============================================================================
--- head/share/man/man4/uhso.4	Thu Jan 14 00:36:49 2010	(r202269)
+++ head/share/man/man4/uhso.4	Thu Jan 14 01:16:20 2010	(r202270)
@@ -47,8 +47,8 @@ driver which makes them behave like a
 .Xr tty 4 .
 The packet interface is exposed as a network interface.
 .Pp
-Connection of the packet interface is achieved by using the proprietary
-AT commands
+Establishing a connection on the packet interface is achieved by using the
+proprietary AT commands
 .Dq Li AT_OWANCALL
 and
 .Dq Li AT_OWANDATA
@@ -76,7 +76,7 @@ Option iCON 505
 .Pp
 The device features a mass storage device referred to as
 .Dq Zero-CD
-which contains drivers for Microsoft Windows, this is the default
+which contains drivers for Microsoft Windows; this is the default
 mode for the device.
 The
 .Nm

Modified: head/sys/dev/usb/net/uhso.c
==============================================================================
--- head/sys/dev/usb/net/uhso.c	Thu Jan 14 00:36:49 2010	(r202269)
+++ head/sys/dev/usb/net/uhso.c	Thu Jan 14 01:16:20 2010	(r202270)
@@ -152,8 +152,8 @@ struct uhso_softc {
 
 /*
  * Port definitions
- * Note that these definitions are arbitray and doesn't match
- * values returned by the auto config descriptor.
+ * Note that these definitions are arbitrary and do not match the values
+ * returned by the auto config descriptor.
  */
 #define UHSO_PORT_TYPE_CTL	0x01
 #define UHSO_PORT_TYPE_APP	0x02
@@ -568,7 +568,7 @@ uhso_attach(device_t self)
 	    "Port available at this interface");
 
 	/*
-	 * The default interface description on most Option devices aren't
+	 * The default interface description on most Option devices isn't
 	 * very helpful. So we skip device_set_usb_desc and set the
 	 * device description manually.
 	 */
@@ -841,7 +841,7 @@ uhso_probe_iface(struct uhso_softc *sc, 
 
 		/*
 		 * If there is an additional interrupt endpoint on this
-		 * interface we most likley have a multiplexed serial port
+		 * interface then we most likely have a multiplexed serial port
 		 * available.
 		 */
 		if (iface->idesc->bNumEndpoints < 3) {
@@ -979,7 +979,7 @@ uhso_attach_muxserial(struct uhso_softc 
 
 /*
  * Interrupt callback for the multiplexed serial port. Indicates
- * which serial port that has data waiting.
+ * which serial port has data waiting.
  */
 static void
 uhso_mux_intr_callback(struct usb_xfer *xfer, usb_error_t error)
@@ -1531,7 +1531,7 @@ tr_setup:
 /*
  * Deferred RX processing, called with mutex locked.
  *
- * Each frame we receive might contain several small ip-packets aswell
+ * Each frame we receive might contain several small ip-packets as well
  * as partial ip-packets. We need to separate/assemble them into individual
  * packets before sending them to the ip-layer.
  */


More information about the svn-src-head mailing list