Author: pfg
Date: Mon May  2 17:44:03 2016
New Revision: 298932
URL: https://svnweb.freebsd.org/changeset/base/298932

Log:
  dev/usb: minor spelling fixes in comments.
  
  No functional change.
  
  Reviewed by:  hselasky

Modified:
  head/sys/dev/usb/controller/at91dci.c
  head/sys/dev/usb/controller/dwc_otg.c
  head/sys/dev/usb/controller/ehci.c
  head/sys/dev/usb/controller/ohci.c
  head/sys/dev/usb/controller/uhci.c
  head/sys/dev/usb/controller/xhcireg.h
  head/sys/dev/usb/input/ums.c
  head/sys/dev/usb/input/wsp.c
  head/sys/dev/usb/misc/udbp.c
  head/sys/dev/usb/net/if_cue.c
  head/sys/dev/usb/net/if_rue.c
  head/sys/dev/usb/net/if_urndis.c
  head/sys/dev/usb/serial/ulpt.c
  head/sys/dev/usb/serial/umcs.h
  head/sys/dev/usb/serial/uvisor.c
  head/sys/dev/usb/storage/rio500_usb.h
  head/sys/dev/usb/storage/umass.c
  head/sys/dev/usb/template/usb_template.c
  head/sys/dev/usb/usb_cdc.h
  head/sys/dev/usb/usb_dev.c
  head/sys/dev/usb/usb_device.c
  head/sys/dev/usb/usb_handle_request.c
  head/sys/dev/usb/usb_hid.c
  head/sys/dev/usb/usb_hub.c
  head/sys/dev/usb/usb_transfer.c
  head/sys/dev/usb/usbdevs
  head/sys/dev/usb/usbdi.h
  head/sys/dev/usb/wlan/if_run.c

Modified: head/sys/dev/usb/controller/at91dci.c
==============================================================================
--- head/sys/dev/usb/controller/at91dci.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/at91dci.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -1330,7 +1330,7 @@ at91dci_clear_stall_sub(struct at91dci_s
 
        /*
         * NOTE: One would assume that a FIFO reset would release the
-        * FIFO banks aswell, but it doesn't! We have to do this
+        * FIFO banks as well, but it doesn't! We have to do this
         * manually!
         */
 

Modified: head/sys/dev/usb/controller/dwc_otg.c
==============================================================================
--- head/sys/dev/usb/controller/dwc_otg.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/dwc_otg.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -3332,7 +3332,7 @@ dwc_otg_setup_standard_chain(struct usb_
                 * type in general, as a means to workaround
                 * that. This trick should work for both FULL and LOW
                 * speed USB traffic going through a TT. For non-TT
-                * traffic it works aswell. The reason for using
+                * traffic it works as well. The reason for using
                 * CONTROL type instead of BULK is that some TTs might
                 * reject LOW speed BULK traffic.
                 */

Modified: head/sys/dev/usb/controller/ehci.c
==============================================================================
--- head/sys/dev/usb/controller/ehci.c  Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/ehci.c  Mon May  2 17:44:03 2016        
(r298932)
@@ -2995,7 +2995,7 @@ struct usb_device_descriptor ehci_devd =
        UDPROTO_HSHUBSTT,               /* protocol */
        64,                             /* max packet */
        {0}, {0}, {0x00, 0x01},         /* device id */
-       1, 2, 0,                        /* string indicies */
+       1, 2, 0,                        /* string indexes */
        1                               /* # of configurations */
 };
 

Modified: head/sys/dev/usb/controller/ohci.c
==============================================================================
--- head/sys/dev/usb/controller/ohci.c  Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/ohci.c  Mon May  2 17:44:03 2016        
(r298932)
@@ -2043,7 +2043,7 @@ struct usb_device_descriptor ohci_devd =
        UDPROTO_FSHUB,                  /* protocol */
        64,                             /* max packet */
        {0}, {0}, {0x00, 0x01},         /* device id */
-       1, 2, 0,                        /* string indicies */
+       1, 2, 0,                        /* string indexes */
        1                               /* # of configurations */
 };
 

Modified: head/sys/dev/usb/controller/uhci.c
==============================================================================
--- head/sys/dev/usb/controller/uhci.c  Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/uhci.c  Mon May  2 17:44:03 2016        
(r298932)
@@ -2321,7 +2321,7 @@ struct usb_device_descriptor uhci_devd =
        UDPROTO_FSHUB,                  /* protocol */
        64,                             /* max packet */
        {0}, {0}, {0x00, 0x01},         /* device id */
-       1, 2, 0,                        /* string indicies */
+       1, 2, 0,                        /* string indexes */
        1                               /* # of configurations */
 };
 

Modified: head/sys/dev/usb/controller/xhcireg.h
==============================================================================
--- head/sys/dev/usb/controller/xhcireg.h       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/controller/xhcireg.h       Mon May  2 17:44:03 2016        
(r298932)
@@ -45,16 +45,16 @@
 #define        XHCI_HCIVERSION         0x02    /* RO Interface version number 
*/
 #define        XHCI_HCIVERSION_0_9     0x0090  /* xHCI version 0.9 */
 #define        XHCI_HCIVERSION_1_0     0x0100  /* xHCI version 1.0 */
-#define        XHCI_HCSPARAMS1         0x04    /* RO structual parameters 1 */
+#define        XHCI_HCSPARAMS1         0x04    /* RO structural parameters 1 */
 #define        XHCI_HCS1_DEVSLOT_MAX(x)((x) & 0xFF)
 #define        XHCI_HCS1_IRQ_MAX(x)    (((x) >> 8) & 0x3FF)
 #define        XHCI_HCS1_N_PORTS(x)    (((x) >> 24) & 0xFF)
-#define        XHCI_HCSPARAMS2         0x08    /* RO structual parameters 2 */
+#define        XHCI_HCSPARAMS2         0x08    /* RO structural parameters 2 */
 #define        XHCI_HCS2_IST(x)        ((x) & 0xF)
 #define        XHCI_HCS2_ERST_MAX(x)   (((x) >> 4) & 0xF)
 #define        XHCI_HCS2_SPR(x)        (((x) >> 24) & 0x1)
 #define        XHCI_HCS2_SPB_MAX(x)    (((x) >> 27) & 0x7F)
-#define        XHCI_HCSPARAMS3         0x0C    /* RO structual parameters 3 */
+#define        XHCI_HCSPARAMS3         0x0C    /* RO structural parameters 3 */
 #define        XHCI_HCS3_U1_DEL(x)     ((x) & 0xFF)
 #define        XHCI_HCS3_U2_DEL(x)     (((x) >> 16) & 0xFFFF)
 #define        XHCI_HCSPARAMS0         0x10    /* RO capability parameters */

Modified: head/sys/dev/usb/input/ums.c
==============================================================================
--- head/sys/dev/usb/input/ums.c        Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/input/ums.c        Mon May  2 17:44:03 2016        
(r298932)
@@ -572,7 +572,7 @@ ums_attach(device_t dev)
         * The Microsoft Wireless Notebook Optical Mouse seems to be in worse
         * shape than the Wireless Intellimouse 2.0, as its X, Y, wheel, and
         * all of its other button positions are all off. It also reports that
-        * it has two addional buttons and a tilt wheel.
+        * it has two additional buttons and a tilt wheel.
         */
        if (usb_test_quirk(uaa, UQ_MS_BAD_CLASS)) {
 

Modified: head/sys/dev/usb/input/wsp.c
==============================================================================
--- head/sys/dev/usb/input/wsp.c        Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/input/wsp.c        Mon May  2 17:44:03 2016        
(r298932)
@@ -1040,7 +1040,7 @@ wsp_intr_callback(struct usb_xfer *xfer,
                                if (sc->o_ntouch != ntouch)
                                        dx = dy = 0;
 
-                               /* Ignore unexpeted movment when typing */
+                               /* Ignore unexpeted movement when typing */
                                if (ntouch == 1 && sc->index[0]->tool_major > 
1200)
                                        dx = dy = 0;
 

Modified: head/sys/dev/usb/misc/udbp.c
==============================================================================
--- head/sys/dev/usb/misc/udbp.c        Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/misc/udbp.c        Mon May  2 17:44:03 2016        
(r298932)
@@ -744,7 +744,7 @@ ng_udbp_rcvdata(hook_p hook, item_p item
 
 /*
  * Do local shutdown processing..
- * We are a persistant device, we refuse to go away, and
+ * We are a persistent device, we refuse to go away, and
  * only remove our links and reset ourself.
  */
 static int

Modified: head/sys/dev/usb/net/if_cue.c
==============================================================================
--- head/sys/dev/usb/net/if_cue.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/net/if_cue.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
  * RX filter uses a 512-bit multicast hash table, single perfect entry
  * for the station address, and promiscuous mode. Unlike the ADMtek
  * and KLSI chips, the CATC ASIC supports read and write combining
- * mode where multiple packets can be transfered using a single bulk
+ * mode where multiple packets can be transferred using a single bulk
  * transaction, which helps performance a great deal.
  */
 

Modified: head/sys/dev/usb/net/if_rue.c
==============================================================================
--- head/sys/dev/usb/net/if_rue.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/net/if_rue.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -693,7 +693,7 @@ rue_bulk_read_callback(struct usb_xfer *
                usbd_copy_out(pc, actlen - 4, &status, sizeof(status));
                actlen -= 4;
 
-               /* check recieve packet was valid or not */
+               /* check receive packet was valid or not */
                status = le16toh(status);
                if ((status & RUE_RXSTAT_VALID) == 0) {
                        if_inc_counter(ifp, IFCOUNTER_IERRORS, 1);

Modified: head/sys/dev/usb/net/if_urndis.c
==============================================================================
--- head/sys/dev/usb/net/if_urndis.c    Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/net/if_urndis.c    Mon May  2 17:44:03 2016        
(r298932)
@@ -709,7 +709,7 @@ urndis_ctrl_halt(struct urndis_softc *sc
 }
 
 /*
- * NB: Querying a device has the requirment of using an input buffer the size
+ * NB: Querying a device has the requirement of using an input buffer the size
  *     of the expected reply or larger, except for variably sized replies.
  */
 static uint32_t

Modified: head/sys/dev/usb/serial/ulpt.c
==============================================================================
--- head/sys/dev/usb/serial/ulpt.c      Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/serial/ulpt.c      Mon May  2 17:44:03 2016        
(r298932)
@@ -419,7 +419,7 @@ ulpt_open(struct usb_fifo *fifo, int ffl
 
        if (sc->sc_fflags == 0) {
 
-               /* reset USB paralell port */
+               /* reset USB parallel port */
 
                ulpt_reset(sc);
        }

Modified: head/sys/dev/usb/serial/umcs.h
==============================================================================
--- head/sys/dev/usb/serial/umcs.h      Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/serial/umcs.h      Mon May  2 17:44:03 2016        
(r298932)
@@ -107,28 +107,28 @@
                                                 * 4, R/W */
 #define        MCS7840_DEV_REG_BI_FIFO_STAT1   0x32    /* Bulk-In FIFO Stat 
for Port
                                                 * 1, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BO_FIFO_STAT1   0x33    /* Bulk-out FIFO Stat 
for Port
                                                 * 1, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BI_FIFO_STAT2   0x34    /* Bulk-In FIFO Stat 
for Port
                                                 * 2, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BO_FIFO_STAT2   0x35    /* Bulk-out FIFO Stat 
for Port
                                                 * 2, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BI_FIFO_STAT3   0x36    /* Bulk-In FIFO Stat 
for Port
                                                 * 3, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BO_FIFO_STAT3   0x37    /* Bulk-out FIFO Stat 
for Port
                                                 * 3, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BI_FIFO_STAT4   0x38    /* Bulk-In FIFO Stat 
for Port
                                                 * 4, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_BO_FIFO_STAT4   0x39    /* Bulk-out FIFO Stat 
for Port
                                                 * 4, contains number of
-                                                * availiable bytes, R/Only */
+                                                * available bytes, R/Only */
 #define        MCS7840_DEV_REG_ZERO_PERIOD1    0x3a    /* Period between zero 
out
                                                 * frames for Port 1, R/W */
 #define        MCS7840_DEV_REG_ZERO_PERIOD2    0x3b    /* Period between zero 
out
@@ -139,28 +139,28 @@
                                                 * frames for Port 1, R/W */
 #define        MCS7840_DEV_REG_ZERO_ENABLE     0x3e    /* Enable/disable of 
zero out
                                                 * frames, R/W */
-#define        MCS7840_DEV_REG_THR_VAL_LOW1    0x3f    /* Low 8 bits of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_LOW1    0x3f    /* Low 8 bits of 
threshold
                                                 * value for Bulk-Out for Port
                                                 * 1, R/W */
-#define        MCS7840_DEV_REG_THR_VAL_HIGH1   0x40    /* High 1 bit of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_HIGH1   0x40    /* High 1 bit of 
threshold
                                                 * value for Bulk-Out and
                                                 * enable flag for Port 1, R/W 
*/
-#define        MCS7840_DEV_REG_THR_VAL_LOW2    0x41    /* Low 8 bits of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_LOW2    0x41    /* Low 8 bits of 
threshold
                                                 * value for Bulk-Out for Port
                                                 * 2, R/W */
-#define        MCS7840_DEV_REG_THR_VAL_HIGH2   0x42    /* High 1 bit of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_HIGH2   0x42    /* High 1 bit of 
threshold
                                                 * value for Bulk-Out and
                                                 * enable flag for Port 2, R/W 
*/
-#define        MCS7840_DEV_REG_THR_VAL_LOW3    0x43    /* Low 8 bits of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_LOW3    0x43    /* Low 8 bits of 
threshold
                                                 * value for Bulk-Out for Port
                                                 * 3, R/W */
-#define        MCS7840_DEV_REG_THR_VAL_HIGH3   0x44    /* High 1 bit of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_HIGH3   0x44    /* High 1 bit of 
threshold
                                                 * value for Bulk-Out and
                                                 * enable flag for Port 3, R/W 
*/
-#define        MCS7840_DEV_REG_THR_VAL_LOW4    0x45    /* Low 8 bits of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_LOW4    0x45    /* Low 8 bits of 
threshold
                                                 * value for Bulk-Out for Port
                                                 * 4, R/W */
-#define        MCS7840_DEV_REG_THR_VAL_HIGH4   0x46    /* High 1 bit of 
threshhold
+#define        MCS7840_DEV_REG_THR_VAL_HIGH4   0x46    /* High 1 bit of 
threshold
                                                 * value for Bulk-Out and
                                                 * enable flag for Port 4, R/W 
*/
 

Modified: head/sys/dev/usb/serial/uvisor.c
==============================================================================
--- head/sys/dev/usb/serial/uvisor.c    Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/serial/uvisor.c    Mon May  2 17:44:03 2016        
(r298932)
@@ -100,7 +100,7 @@ SYSCTL_INT(_hw_usb_uvisor, OID_AUTO, deb
 /* From the Linux driver */
 /*
  * UVISOR_REQUEST_BYTES_AVAILABLE asks the visor for the number of bytes that
- * are available to be transfered to the host for the specified endpoint.
+ * are available to be transferred to the host for the specified endpoint.
  * Currently this is not used, and always returns 0x0001
  */
 #define        UVISOR_REQUEST_BYTES_AVAILABLE          0x01

Modified: head/sys/dev/usb/storage/rio500_usb.h
==============================================================================
--- head/sys/dev/usb/storage/rio500_usb.h       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/storage/rio500_usb.h       Mon May  2 17:44:03 2016        
(r298932)
@@ -5,7 +5,7 @@
 
     Redistribution and use in source and binary forms, with or without
     modification, are permitted under any licence of your choise which
-    meets the open source licence definiton
+    meets the open source licence definition
     http://www.opensource.org/opd.html such as the GNU licence or the
     BSD licence.
 

Modified: head/sys/dev/usb/storage/umass.c
==============================================================================
--- head/sys/dev/usb/storage/umass.c    Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/storage/umass.c    Mon May  2 17:44:03 2016        
(r298932)
@@ -2721,7 +2721,7 @@ umass_rbc_transform(struct umass_softc *
                        cmd_len = 12;
                }
                sc->sc_transfer.cmd_len = cmd_len;
-               return (1);             /* sucess */
+               return (1);             /* success */
 
                /* All other commands are not legal in RBC */
        default:

Modified: head/sys/dev/usb/template/usb_template.c
==============================================================================
--- head/sys/dev/usb/template/usb_template.c    Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/template/usb_template.c    Mon May  2 17:44:03 2016        
(r298932)
@@ -522,8 +522,8 @@ usb_make_device_desc(struct usb_temp_set
  *     usb_hw_ep_match
  *
  * Return values:
- *    0: The endpoint profile does not match the criterias
- * Else: The endpoint profile matches the criterias
+ *    0: The endpoint profile does not match the criteria
+ * Else: The endpoint profile matches the criteria
  *------------------------------------------------------------------------*/
 static uint8_t
 usb_hw_ep_match(const struct usb_hw_ep_profile *pf,

Modified: head/sys/dev/usb/usb_cdc.h
==============================================================================
--- head/sys/dev/usb/usb_cdc.h  Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usb_cdc.h  Mon May  2 17:44:03 2016        (r298932)
@@ -161,7 +161,7 @@ struct usb_cdc_notification {
 #define        UCDC_NOTIFICATION_LENGTH        8
 
 /*
- * Bits set in the SERIAL STATE notifcation (first byte of data)
+ * Bits set in the SERIAL STATE notification (first byte of data)
  */
 
 #define        UCDC_N_SERIAL_OVERRUN           0x40

Modified: head/sys/dev/usb/usb_dev.c
==============================================================================
--- head/sys/dev/usb/usb_dev.c  Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usb_dev.c  Mon May  2 17:44:03 2016        (r298932)
@@ -179,7 +179,7 @@ usb_loc_fill(struct usb_fs_privdata* pd,
  *
  * This function is used to atomically refer an USB device by its
  * device location. If this function returns success the USB device
- * will not dissappear until the USB device is unreferenced.
+ * will not disappear until the USB device is unreferenced.
  *
  * Return values:
  *  0: Success, refcount incremented on the given USB device.

Modified: head/sys/dev/usb/usb_device.c
==============================================================================
--- head/sys/dev/usb/usb_device.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/usb_device.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -190,7 +190,7 @@ usbd_get_ep_by_addr(struct usb_device *u
        ea_val &= EA_MASK;
 
        /*
-        * Iterate accross all the USB endpoints searching for a match
+        * Iterate across all the USB endpoints searching for a match
         * based on the endpoint address:
         */
        for (; ep != ep_end; ep++) {
@@ -300,7 +300,7 @@ usbd_get_endpoint(struct usb_device *ude
        }
 
        /*
-        * Iterate accross all the USB endpoints searching for a match
+        * Iterate across all the USB endpoints searching for a match
         * based on the endpoint address. Note that we are searching
         * the endpoints from the beginning of the "udev->endpoints" array.
         */

Modified: head/sys/dev/usb/usb_handle_request.c
==============================================================================
--- head/sys/dev/usb/usb_handle_request.c       Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/usb_handle_request.c       Mon May  2 17:44:03 2016        
(r298932)
@@ -313,7 +313,7 @@ tr_repeat:
                case UR_SET_INTERFACE:
                        /*
                         * We assume that the endpoints are the same
-                        * accross the alternate settings.
+                        * across the alternate settings.
                         *
                         * Reset the endpoints, because re-attaching
                         * only a part of the device is not possible.

Modified: head/sys/dev/usb/usb_hid.c
==============================================================================
--- head/sys/dev/usb/usb_hid.c  Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usb_hid.c  Mon May  2 17:44:03 2016        (r298932)
@@ -576,7 +576,7 @@ hid_report_size(const void *buf, usb_siz
 
        for (d = hid_start_parse(buf, len, 1 << k); hid_get_item(d, &h);) {
                if (h.kind == k) {
-                       /* check for ID-byte presense */
+                       /* check for ID-byte presence */
                        if ((h.report_ID != 0) && !any_id) {
                                if (id != NULL)
                                        *id = h.report_ID;

Modified: head/sys/dev/usb/usb_hub.c
==============================================================================
--- head/sys/dev/usb/usb_hub.c  Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usb_hub.c  Mon May  2 17:44:03 2016        (r298932)
@@ -1766,7 +1766,7 @@ done:
  * The USB Transaction Translator:
  * ===============================
  *
- * When doing LOW- and FULL-speed USB transfers accross a HIGH-speed
+ * When doing LOW- and FULL-speed USB transfers across a HIGH-speed
  * USB HUB, bandwidth must be allocated for ISOCHRONOUS and INTERRUPT
  * USB transfers. To utilize bandwidth dynamically the "scatter and
  * gather" principle must be applied. This means that bandwidth must
@@ -1838,7 +1838,7 @@ usb_intr_find_best_slot(usb_size_t *ptr,
 /*------------------------------------------------------------------------*
  *     usb_hs_bandwidth_adjust
  *
- * This function will update the bandwith usage for the microframe
+ * This function will update the bandwidth usage for the microframe
  * having index "slot" by "len" bytes. "len" can be negative.  If the
  * "slot" argument is greater or equal to "USB_HS_MICRO_FRAMES_MAX"
  * the "slot" argument will be replaced by the slot having least used
@@ -2310,7 +2310,7 @@ usb_needs_explore_all(void)
                return;
        }
        /*
-        * Explore all USB busses in parallell.
+        * Explore all USB busses in parallel.
         */
        max = devclass_get_maxunit(dc);
        while (max >= 0) {

Modified: head/sys/dev/usb/usb_transfer.c
==============================================================================
--- head/sys/dev/usb/usb_transfer.c     Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/usb_transfer.c     Mon May  2 17:44:03 2016        
(r298932)
@@ -615,7 +615,7 @@ usbd_transfer_setup_sub(struct usb_setup
        /*
         * NOTE: we do not allow "max_packet_size" or "max_frame_size"
         * to be equal to zero when setting up USB transfers, hence
-        * this leads to alot of extra code in the USB kernel.
+        * this leads to a lot of extra code in the USB kernel.
         */
 
        if ((xfer->max_frame_size == 0) ||
@@ -2448,7 +2448,7 @@ done:
  *
  * This function is called when the DMA delay has been exectuded, and
  * will make sure that the callback is called to complete the USB
- * transfer. This code path is ususally only used when there is an USB
+ * transfer. This code path is usually only used when there is an USB
  * error like USB_ERR_CANCELLED.
  *------------------------------------------------------------------------*/
 void

Modified: head/sys/dev/usb/usbdevs
==============================================================================
--- head/sys/dev/usb/usbdevs    Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usbdevs    Mon May  2 17:44:03 2016        (r298932)
@@ -134,7 +134,7 @@ vendor MEGATRENDS   0x046b  American Megatr
 vendor LOGITECH                0x046d  Logitech
 vendor BTC             0x046e  Behavior Tech. Computer
 vendor PHILIPS         0x0471  Philips
-vendor SUN2            0x0472  Sun Microsystems (offical)
+vendor SUN2            0x0472  Sun Microsystems (official)
 vendor SANYO           0x0474  Sanyo Electric
 vendor SEAGATE         0x0477  Seagate
 vendor CONNECTIX       0x0478  Connectix

Modified: head/sys/dev/usb/usbdi.h
==============================================================================
--- head/sys/dev/usb/usbdi.h    Mon May  2 16:47:28 2016        (r298931)
+++ head/sys/dev/usb/usbdi.h    Mon May  2 17:44:03 2016        (r298932)
@@ -241,7 +241,7 @@ struct usb_config {
 /*
  * Use these macro when defining USB device ID arrays if you want to
  * have your driver module automatically loaded in host, device or
- * both modes respectivly:
+ * both modes respectively:
  */
 #if USB_HAVE_ID_SECTION
 #define        STRUCT_USB_HOST_ID \

Modified: head/sys/dev/usb/wlan/if_run.c
==============================================================================
--- head/sys/dev/usb/wlan/if_run.c      Mon May  2 16:47:28 2016        
(r298931)
+++ head/sys/dev/usb/wlan/if_run.c      Mon May  2 17:44:03 2016        
(r298932)
@@ -1030,7 +1030,7 @@ run_vap_delete(struct ieee80211vap *vap)
  * There are numbers of functions need to be called in context thread.
  * Rather than creating taskqueue event for each of those functions,
  * here is all-for-one taskqueue callback function. This function
- * gurantees deferred functions are executed in the same order they
+ * guarantees deferred functions are executed in the same order they
  * were enqueued.
  * '& RUN_CMDQ_MASQ' is to loop cmdq[].
  */
@@ -3372,7 +3372,7 @@ run_tx(struct run_softc *sc, struct mbuf
                /*
                 * Unlike PCI based devices, we don't get any interrupt from
                 * USB devices, so we simulate FIFO-is-full interrupt here.
-                * Ralink recomends to drain FIFO stats every 100 ms, but 16 
slots
+                * Ralink recommends to drain FIFO stats every 100 ms, but 16 
slots
                 * quickly get fulled. To prevent overflow, increment a counter 
on
                 * every FIFO stat request, so we know how many slots are left.
                 * We do this only in HOSTAP or multiple vap mode since FIFO 
stats
@@ -4884,7 +4884,7 @@ run_update_beacon_cb(void *arg)
 
        /*
         * No need to call ieee80211_beacon_update(), run_update_beacon()
-        * is taking care of apropriate calls.
+        * is taking care of appropriate calls.
         */
        if (rvp->beacon_mbuf == NULL) {
                rvp->beacon_mbuf = ieee80211_beacon_alloc(ni);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to