summaryrefslogtreecommitdiffstats
path: root/sys/dev/hatm
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
committerpfg <pfg@FreeBSD.org>2016-05-03 03:41:25 +0000
commiteed4bd22add2269ccde27996035581801316c610 (patch)
treefe36ef227324b313676d43aef9a4d97c9a09675a /sys/dev/hatm
parent759c5e424131bdbb2db154a8f626569c324004d2 (diff)
downloadFreeBSD-src-eed4bd22add2269ccde27996035581801316c610.zip
FreeBSD-src-eed4bd22add2269ccde27996035581801316c610.tar.gz
sys/dev: minor spelling fixes.
Most affect comments, very few have user-visible effects.
Diffstat (limited to 'sys/dev/hatm')
-rw-r--r--sys/dev/hatm/if_hatm.c2
-rw-r--r--sys/dev/hatm/if_hatm_rx.c2
-rw-r--r--sys/dev/hatm/if_hatm_tx.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hatm/if_hatm.c b/sys/dev/hatm/if_hatm.c
index c34ee0e..e87b79f 100644
--- a/sys/dev/hatm/if_hatm.c
+++ b/sys/dev/hatm/if_hatm.c
@@ -557,7 +557,7 @@ hatm_init_bus_width(struct hatm_softc *sc)
}
/*
- * 4.6 Set Host Endianess
+ * 4.6 Set Host Endianness
*/
static void
hatm_init_endianess(struct hatm_softc *sc)
diff --git a/sys/dev/hatm/if_hatm_rx.c b/sys/dev/hatm/if_hatm_rx.c
index af0b925..c12ec6e 100644
--- a/sys/dev/hatm/if_hatm_rx.c
+++ b/sys/dev/hatm/if_hatm_rx.c
@@ -178,7 +178,7 @@ hatm_rx(struct hatm_softc *sc, u_int cid, u_int flags, struct mbuf *m0,
if (vcc->param.aal == ATMIO_AAL_5) {
/*
* Need to remove padding and the trailer. The trailer
- * may be split accross buffers according to 2.10.1.2
+ * may be split across buffers according to 2.10.1.2
* Assume that mbufs sizes are even (buffer sizes and cell
* payload sizes are) and that there are no empty mbufs.
*/
diff --git a/sys/dev/hatm/if_hatm_tx.c b/sys/dev/hatm/if_hatm_tx.c
index d0a28ba..8d64908 100644
--- a/sys/dev/hatm/if_hatm_tx.c
+++ b/sys/dev/hatm/if_hatm_tx.c
@@ -123,7 +123,7 @@ hatm_alloc_tpd(struct hatm_softc *sc, u_int flags)
return (NULL);
}
- /* make it beeing used */
+ /* make it being used */
t = SLIST_FIRST(&sc->tpd_free);
KASSERT(t != NULL, ("tpd botch"));
SLIST_REMOVE_HEAD(&sc->tpd_free, link);
OpenPOWER on IntegriCloud