Fix a common typo in man pages and src comments

- s/desciptor/descriptor/

MFC after:	5 days
This commit is contained in:
Gordon Bergling 2021-08-28 19:24:27 +02:00
parent 5bdf58e196
commit b1603638e3
12 changed files with 12 additions and 12 deletions

View File

@ -309,7 +309,7 @@ If not set, the multiplexer path
.Ar /dev/fuse
is used.
.It Ev FUSE_DEV_FD
File desciptor of an opened Fuse device to use.
File descriptor of an opened Fuse device to use.
Overrides
.Ev FUSE_DEV_NAME .
.It Ev FUSE_NO_MOUNT

View File

@ -267,7 +267,7 @@ single contigous region of physical memory.
In practice this also tends to give a single contigous region in bus space.
This may change over time.
.It PROTO_IOC_BUSDMA_MEM_FREE
Free previously allocated memory and destroy the memory desciptor.
Free previously allocated memory and destroy the memory descriptor.
The
.Nm
driver is not in a position to track whether the memory has been mapped in

View File

@ -696,7 +696,7 @@ struct scb_data {
/************************ Target Mode Definitions *****************************/
/*
* Connection desciptor for select-in requests in target mode.
* Connection descriptor for select-in requests in target mode.
*/
struct target_cmd {
uint8_t scsiid; /* Our ID and the initiator's ID */

View File

@ -644,7 +644,7 @@ struct scb_data {
/************************ Target Mode Definitions *****************************/
/*
* Connection desciptor for select-in requests in target mode.
* Connection descriptor for select-in requests in target mode.
*/
struct target_cmd {
uint8_t scsiid; /* Our ID and the initiator's ID */

View File

@ -96,7 +96,7 @@ typedef struct SCI_PHYSICAL_MEMORY_DESCRIPTOR
void * virtual_address;
/**
* This field contains the physical address associated with this desciptor
* This field contains the physical address associated with this descriptor
* element. This field shall be zero when the descriptor is retrieved from
* the SCI implementation. The user shall set this field prior
* sci_controller_start()

View File

@ -121,7 +121,7 @@ typedef struct SCIF_SAS_CONTROLLER
SCI_BASE_CONTROLLER_STATE_HANDLER_T * state_handlers;
/**
* This field contains the memory desciptors defining the physical
* This field contains the memory descriptors defining the physical
* memory requirements for this controller.
*/
SCI_PHYSICAL_MEMORY_DESCRIPTOR_T mdes[SCIF_SAS_MAX_MEMORY_DESCRIPTORS];

View File

@ -697,7 +697,7 @@ static void
mge_free_dma(struct mge_softc *sc)
{
/* Free desciptors and mbufs */
/* Free descriptors and mbufs */
mge_free_desc(sc, sc->mge_rx_desc, MGE_RX_DESC_NUM, sc->mge_rx_dtag, 1);
mge_free_desc(sc, sc->mge_tx_desc, MGE_TX_DESC_NUM, sc->mge_tx_dtag, 0);

View File

@ -1950,7 +1950,7 @@ nge_encap(struct nge_softc *sc, struct mbuf **m_head)
if ((m->m_flags & M_VLANTAG) != 0)
desc->nge_extsts |= htole32(NGE_TXEXTSTS_VLANPKT |
bswap16(m->m_pkthdr.ether_vtag));
/* Set EOP on the last desciptor. */
/* Set EOP on the last descriptor. */
desc->nge_cmdsts &= htole32(~NGE_CMDSTS_MORE);
/* Set checksum offload in the first descriptor. */

View File

@ -2445,7 +2445,7 @@ sk_encap(sc_if, m_head)
}
sc_if->sk_cdata.sk_tx_prod = frag;
/* set EOF on the last desciptor */
/* set EOF on the last descriptor */
frag = (frag + SK_TX_RING_CNT - 1) % SK_TX_RING_CNT;
f = &sc_if->sk_rdata.sk_tx_ring[frag];
f->sk_ctl |= htole32(SK_TXCTL_LASTFRAG | SK_TXCTL_EOF_INTR);

View File

@ -53,7 +53,7 @@
*
* The Tigon 2 contains 2 R4000 CPUs and requires a newer firmware
* revision, which supports new features such as extended commands,
* extended jumbo receive ring desciptors and a mini receive ring.
* extended jumbo receive ring descriptors and a mini receive ring.
*
* Alteon Networks is to be commended for releasing such a vast amount
* of development material for the Tigon NIC without requiring an NDA

View File

@ -296,7 +296,7 @@ uhid_snes_ioctl(struct usb_fifo *fifo, u_long cmd, void *data, int fflags)
ugd->ugd_actlen = size;
if (ugd->ugd_data == NULL)
break; /*desciptor length only*/
break; /* descriptor length only*/
error = copyout(sc->sc_repdesc_ptr, ugd->ugd_data, size);
break;

View File

@ -1934,7 +1934,7 @@ vr_encap(struct vr_softc *sc, struct mbuf **m_head)
desc = &sc->vr_rdata.vr_tx_ring[prod];
/*
* Set EOP on the last desciptor and reuqest Tx completion
* Set EOP on the last descriptor and reuqest Tx completion
* interrupt for every VR_TX_INTR_THRESH-th frames.
*/
VR_INC(sc->vr_cdata.vr_tx_pkts, VR_TX_INTR_THRESH);