diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-05-03 03:41:25 +0000 |
| commit | 453130d9bfc1c6d68b366dfcb041689d69f81295 (patch) | |
| tree | fe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/fatm | |
| parent | 7860c0c3843dbb1cf8f4f2c20ee526e8dd2661da (diff) | |
Notes
Diffstat (limited to 'sys/dev/fatm')
| -rw-r--r-- | sys/dev/fatm/if_fatm.c | 8 | ||||
| -rw-r--r-- | sys/dev/fatm/if_fatmreg.h | 2 | ||||
| -rw-r--r-- | sys/dev/fatm/if_fatmvar.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/fatm/if_fatm.c b/sys/dev/fatm/if_fatm.c index 83f43fd4ed52..a530a44327d1 100644 --- a/sys/dev/fatm/if_fatm.c +++ b/sys/dev/fatm/if_fatm.c @@ -1664,7 +1664,7 @@ fatm_intr(void *p) * is stopped the stopping function will broadcast the cv. All threads will * find that the interface has been stopped and return. * - * Aquiring of the buffer is done by the fatm_getstat() function. The freeing + * Acquiring of the buffer is done by the fatm_getstat() function. The freeing * must be done by the caller when he has finished using the buffer. */ static void @@ -2105,7 +2105,7 @@ fatm_start(struct ifnet *ifp) } /* - * VCC managment + * VCC management * * This may seem complicated. The reason for this is, that we need an * asynchronuous open/close for the NATM VCCs because our ioctl handler @@ -2116,7 +2116,7 @@ fatm_start(struct ifnet *ifp) /* * Command the card to open/close a VC. - * Return the queue entry for waiting if we are succesful. + * Return the queue entry for waiting if we are successful. */ static struct cmdqueue * fatm_start_vcc(struct fatm_softc *sc, u_int vpi, u_int vci, uint32_t cmd, @@ -2849,7 +2849,7 @@ fatm_attach(device_t dev) sc->memt = rman_get_bustag(sc->memres); /* - * Convert endianess of slave access + * Convert endianness of slave access */ cfg = pci_read_config(dev, FATM_PCIR_MCTL, 1); cfg |= FATM_PCIM_SWAB; diff --git a/sys/dev/fatm/if_fatmreg.h b/sys/dev/fatm/if_fatmreg.h index d488dbfda5bf..d6eb0074bf2a 100644 --- a/sys/dev/fatm/if_fatmreg.h +++ b/sys/dev/fatm/if_fatmreg.h @@ -63,7 +63,7 @@ enum { * status word to PENDING. The card sets it to COMPLETE upon completion of * the transmit/receive or command. An unused queue entry contains FREE. * The ERROR can be ored into the COMPLETE. Note, that there are circumstances - * when ERROR is set without COMPLETE beeing set (when you try to activate + * when ERROR is set without COMPLETE being set (when you try to activate * a bad VCI like, for example, VCI 0). */ enum { diff --git a/sys/dev/fatm/if_fatmvar.h b/sys/dev/fatm/if_fatmvar.h index bcd87599eaba..ba064fe2300e 100644 --- a/sys/dev/fatm/if_fatmvar.h +++ b/sys/dev/fatm/if_fatmvar.h @@ -118,7 +118,7 @@ typedef void (*completion_cb)(struct fatm_softc *, struct cmdqueue *); struct cmdqueue { /* command queue element */ struct fqelem q; completion_cb cb; /* call on command completion */ - int error; /* set if error occured */ + int error; /* set if error occurred */ }; /* |
