From 271e7e0f723da5c3dce847235cff4bbcf17542e0 Mon Sep 17 00:00:00 2001 From: thompsa Date: Thu, 14 Jan 2010 01:16:20 +0000 Subject: [PATCH] Grammar nits. Submitted by: Ben Kaduk --- share/man/man4/uhso.4 | 6 +++--- sys/dev/usb/net/uhso.c | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/share/man/man4/uhso.4 b/share/man/man4/uhso.4 index 5d6832c9da7a..7f10c6212a37 100644 --- a/share/man/man4/uhso.4 +++ b/share/man/man4/uhso.4 @@ -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 diff --git a/sys/dev/usb/net/uhso.c b/sys/dev/usb/net/uhso.c index bbada71e497f..a810ec48c5dd 100644 --- a/sys/dev/usb/net/uhso.c +++ b/sys/dev/usb/net/uhso.c @@ -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, int index, /* * 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 *sc, struct usb_interface *iface, /* * 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. */