aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2022-04-02 12:51:57 +0000
committerGordon Bergling <gbe@FreeBSD.org>2022-04-02 12:51:57 +0000
commit9097d2f5d10f2cf051eac81e0d3626554633d9f8 (patch)
tree516f1e2ba407fe8e408924e8a62fe9e8c2161514
parent8a3568b584cb9e1abab94c047172fc99421e99a9 (diff)
downloadsrc-9097d2f5d10f2cf051eac81e0d3626554633d9f8.tar.gz
src-9097d2f5d10f2cf051eac81e0d3626554633d9f8.zip
etherswitch(4): Fix a few common typos in source code comments
- s/accomodate/accommodate/ MFC after: 3 days
-rw-r--r--sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c b/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
index e3ea80fe2a1d..3be501b02acb 100644
--- a/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
+++ b/sys/dev/etherswitch/mtkswitch/mtkswitch_rt3050.c
@@ -403,7 +403,7 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
MTKSWITCH_LOCK_ASSERT(sc, MA_NOTOWNED);
MTKSWITCH_LOCK(sc);
- /* First, see if we can accomodate the request at all */
+ /* First, see if we can accommodate the request at all */
val = MTKSWITCH_READ(sc, MTKSWITCH_POC2);
if (sc->sc_switchtype == MTK_SWITCH_RT3050 ||
(val & POC2_UNTAG_VLAN) == 0) {
@@ -421,14 +421,14 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
tmp = v->es_untagged_ports & v->es_member_ports;
/* fail if untagged members are not a subset of all members */
if (tmp != v->es_untagged_ports) {
- /* Cannot accomodate request */
+ /* Cannot accommodate request */
MTKSWITCH_UNLOCK(sc);
return (ENOTSUP);
}
/* fail if any untagged member is set up to do tagging */
if ((tmp & val) != tmp) {
- /* Cannot accomodate request */
+ /* Cannot accommodate request */
MTKSWITCH_UNLOCK(sc);
return (ENOTSUP);
}
@@ -437,7 +437,7 @@ mtkswitch_vlan_setvgroup(struct mtkswitch_softc *sc, etherswitch_vlangroup_t *v)
tmp = v->es_member_ports & ~tmp;
/* fail if any tagged member is set up to do untagging */
if ((tmp & val) != 0) {
- /* Cannot accomodate request */
+ /* Cannot accommodate request */
MTKSWITCH_UNLOCK(sc);
return (ENOTSUP);
}