From 207332450ebe1df184818ab11115dcd7b95a5bc5 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 2 May 2016 17:44:03 +0000 Subject: [PATCH] dev/usb: minor spelling fixes in comments. No functional change. Reviewed by: hselasky --- sys/dev/usb/controller/at91dci.c | 2 +- sys/dev/usb/controller/dwc_otg.c | 2 +- sys/dev/usb/controller/ehci.c | 2 +- sys/dev/usb/controller/ohci.c | 2 +- sys/dev/usb/controller/uhci.c | 2 +- sys/dev/usb/controller/xhcireg.h | 6 +++--- sys/dev/usb/input/ums.c | 2 +- sys/dev/usb/input/wsp.c | 2 +- sys/dev/usb/misc/udbp.c | 2 +- sys/dev/usb/net/if_cue.c | 2 +- sys/dev/usb/net/if_rue.c | 2 +- sys/dev/usb/net/if_urndis.c | 2 +- sys/dev/usb/serial/ulpt.c | 2 +- sys/dev/usb/serial/umcs.h | 32 ++++++++++++++--------------- sys/dev/usb/serial/uvisor.c | 2 +- sys/dev/usb/storage/rio500_usb.h | 2 +- sys/dev/usb/storage/umass.c | 2 +- sys/dev/usb/template/usb_template.c | 4 ++-- sys/dev/usb/usb_cdc.h | 2 +- sys/dev/usb/usb_dev.c | 2 +- sys/dev/usb/usb_device.c | 4 ++-- sys/dev/usb/usb_handle_request.c | 2 +- sys/dev/usb/usb_hid.c | 2 +- sys/dev/usb/usb_hub.c | 6 +++--- sys/dev/usb/usb_transfer.c | 4 ++-- sys/dev/usb/usbdevs | 2 +- sys/dev/usb/usbdi.h | 2 +- sys/dev/usb/wlan/if_run.c | 6 +++--- 28 files changed, 52 insertions(+), 52 deletions(-) diff --git a/sys/dev/usb/controller/at91dci.c b/sys/dev/usb/controller/at91dci.c index 69ecffb1c52d..169595cd7412 100644 --- a/sys/dev/usb/controller/at91dci.c +++ b/sys/dev/usb/controller/at91dci.c @@ -1330,7 +1330,7 @@ at91dci_clear_stall_sub(struct at91dci_softc *sc, uint8_t ep_no, /* * 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! */ diff --git a/sys/dev/usb/controller/dwc_otg.c b/sys/dev/usb/controller/dwc_otg.c index 16c4c3acc3c6..1dcfa0284986 100644 --- a/sys/dev/usb/controller/dwc_otg.c +++ b/sys/dev/usb/controller/dwc_otg.c @@ -3332,7 +3332,7 @@ dwc_otg_setup_standard_chain(struct usb_xfer *xfer) * 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. */ diff --git a/sys/dev/usb/controller/ehci.c b/sys/dev/usb/controller/ehci.c index 7f9547ca6abe..e7c85a18d279 100644 --- a/sys/dev/usb/controller/ehci.c +++ b/sys/dev/usb/controller/ehci.c @@ -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 */ }; diff --git a/sys/dev/usb/controller/ohci.c b/sys/dev/usb/controller/ohci.c index 93785c085bed..a33ce04733bb 100644 --- a/sys/dev/usb/controller/ohci.c +++ b/sys/dev/usb/controller/ohci.c @@ -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 */ }; diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c index 5204d639c070..013a5f310422 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -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 */ }; diff --git a/sys/dev/usb/controller/xhcireg.h b/sys/dev/usb/controller/xhcireg.h index a0b739711081..d1f01975a3d8 100644 --- a/sys/dev/usb/controller/xhcireg.h +++ b/sys/dev/usb/controller/xhcireg.h @@ -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 */ diff --git a/sys/dev/usb/input/ums.c b/sys/dev/usb/input/ums.c index 43784bf1175b..4c85e6e638d6 100644 --- a/sys/dev/usb/input/ums.c +++ b/sys/dev/usb/input/ums.c @@ -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)) { diff --git a/sys/dev/usb/input/wsp.c b/sys/dev/usb/input/wsp.c index 86c935279974..694e0d9e7162 100644 --- a/sys/dev/usb/input/wsp.c +++ b/sys/dev/usb/input/wsp.c @@ -1040,7 +1040,7 @@ wsp_intr_callback(struct usb_xfer *xfer, usb_error_t error) 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; diff --git a/sys/dev/usb/misc/udbp.c b/sys/dev/usb/misc/udbp.c index 85924b3d1f97..3c07931bc068 100644 --- a/sys/dev/usb/misc/udbp.c +++ b/sys/dev/usb/misc/udbp.c @@ -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 diff --git a/sys/dev/usb/net/if_cue.c b/sys/dev/usb/net/if_cue.c index 39860fe49a8e..1190f98231e2 100644 --- a/sys/dev/usb/net/if_cue.c +++ b/sys/dev/usb/net/if_cue.c @@ -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. */ diff --git a/sys/dev/usb/net/if_rue.c b/sys/dev/usb/net/if_rue.c index 541d62d3ae75..9b86e88474b8 100644 --- a/sys/dev/usb/net/if_rue.c +++ b/sys/dev/usb/net/if_rue.c @@ -693,7 +693,7 @@ rue_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error) 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); diff --git a/sys/dev/usb/net/if_urndis.c b/sys/dev/usb/net/if_urndis.c index de7fd1e4b335..da3decc38b43 100644 --- a/sys/dev/usb/net/if_urndis.c +++ b/sys/dev/usb/net/if_urndis.c @@ -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 diff --git a/sys/dev/usb/serial/ulpt.c b/sys/dev/usb/serial/ulpt.c index 52dd494c3b91..529f83554457 100644 --- a/sys/dev/usb/serial/ulpt.c +++ b/sys/dev/usb/serial/ulpt.c @@ -419,7 +419,7 @@ ulpt_open(struct usb_fifo *fifo, int fflags) if (sc->sc_fflags == 0) { - /* reset USB paralell port */ + /* reset USB parallel port */ ulpt_reset(sc); } diff --git a/sys/dev/usb/serial/umcs.h b/sys/dev/usb/serial/umcs.h index 81dc70be27bb..8ba57c138781 100644 --- a/sys/dev/usb/serial/umcs.h +++ b/sys/dev/usb/serial/umcs.h @@ -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 */ diff --git a/sys/dev/usb/serial/uvisor.c b/sys/dev/usb/serial/uvisor.c index bd6bc6b8ed06..4d72e38d9df4 100644 --- a/sys/dev/usb/serial/uvisor.c +++ b/sys/dev/usb/serial/uvisor.c @@ -100,7 +100,7 @@ SYSCTL_INT(_hw_usb_uvisor, OID_AUTO, debug, CTLFLAG_RWTUN, /* 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 diff --git a/sys/dev/usb/storage/rio500_usb.h b/sys/dev/usb/storage/rio500_usb.h index 5b53e2c24924..4f9a520c1b5e 100644 --- a/sys/dev/usb/storage/rio500_usb.h +++ b/sys/dev/usb/storage/rio500_usb.h @@ -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. diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index 80b6da30a11f..acec1c9da528 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -2721,7 +2721,7 @@ umass_rbc_transform(struct umass_softc *sc, uint8_t *cmd_ptr, uint8_t cmd_len) 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: diff --git a/sys/dev/usb/template/usb_template.c b/sys/dev/usb/template/usb_template.c index 140c0b9b3c23..9adb30aa07d6 100644 --- a/sys/dev/usb/template/usb_template.c +++ b/sys/dev/usb/template/usb_template.c @@ -522,8 +522,8 @@ usb_make_device_desc(struct usb_temp_setup *temp, * 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, diff --git a/sys/dev/usb/usb_cdc.h b/sys/dev/usb/usb_cdc.h index b8f59faeca6a..86f351707359 100644 --- a/sys/dev/usb/usb_cdc.h +++ b/sys/dev/usb/usb_cdc.h @@ -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 diff --git a/sys/dev/usb/usb_dev.c b/sys/dev/usb/usb_dev.c index c48bfc9967e6..54e7f1b6f4aa 100644 --- a/sys/dev/usb/usb_dev.c +++ b/sys/dev/usb/usb_dev.c @@ -179,7 +179,7 @@ usb_loc_fill(struct usb_fs_privdata* pd, struct usb_cdev_privdata *cpd) * * 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. diff --git a/sys/dev/usb/usb_device.c b/sys/dev/usb/usb_device.c index 2976fec70be2..df9fea60eaa6 100644 --- a/sys/dev/usb/usb_device.c +++ b/sys/dev/usb/usb_device.c @@ -190,7 +190,7 @@ usbd_get_ep_by_addr(struct usb_device *udev, uint8_t ea_val) 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 *udev, uint8_t iface_index, } /* - * 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. */ diff --git a/sys/dev/usb/usb_handle_request.c b/sys/dev/usb/usb_handle_request.c index 7f3cdc68b26a..fcbdf95f748a 100644 --- a/sys/dev/usb/usb_handle_request.c +++ b/sys/dev/usb/usb_handle_request.c @@ -313,7 +313,7 @@ usb_handle_iface_request(struct usb_xfer *xfer, 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. diff --git a/sys/dev/usb/usb_hid.c b/sys/dev/usb/usb_hid.c index dc0ce99facc4..fe85f0c5560c 100644 --- a/sys/dev/usb/usb_hid.c +++ b/sys/dev/usb/usb_hid.c @@ -576,7 +576,7 @@ hid_report_size(const void *buf, usb_size_t len, enum hid_kind k, uint8_t *id) 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; diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c index 280e97a9aa51..90a85fc7e833 100644 --- a/sys/dev/usb/usb_hub.c +++ b/sys/dev/usb/usb_hub.c @@ -1766,7 +1766,7 @@ uhub_child_pnpinfo_string(device_t parent, device_t child, * 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, uint8_t start, /*------------------------------------------------------------------------* * 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) { diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index e3f388d81d03..3c920f98d62c 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -615,7 +615,7 @@ usbd_transfer_setup_sub(struct usb_setup_params *parm) /* * 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 @@ usbd_callback_wrapper(struct usb_xfer_queue *pq) * * 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 diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 223a2e31ba13..e9dda0b9735f 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -134,7 +134,7 @@ vendor MEGATRENDS 0x046b American Megatrends 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 diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index ab7cc1a4e0c4..202ad89fa729 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -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 \ diff --git a/sys/dev/usb/wlan/if_run.c b/sys/dev/usb/wlan/if_run.c index 74a83ec89eb7..1a9677662be4 100644 --- a/sys/dev/usb/wlan/if_run.c +++ b/sys/dev/usb/wlan/if_run.c @@ -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 *m, struct ieee80211_node *ni) /* * 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);