aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2021-12-22 09:01:54 +0000
committerGordon Bergling <gbe@FreeBSD.org>2021-12-22 09:01:54 +0000
commitbe0b80b845509c3a809642bf57bf329b519e8835 (patch)
tree3346958b4609259ef734d34e4719262fc2ac6d38
parentb5e0a70193a7a02ba611317cd1688e29002685a4 (diff)
downloadsrc-be0b80b845509c3a809642bf57bf329b519e8835.tar.gz
src-be0b80b845509c3a809642bf57bf329b519e8835.zip
enetc(4): Fix a typo in a source code comment
- s/decriptors/descriptors/ MFC after: 3 days
-rw-r--r--sys/dev/enetc/if_enetc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/enetc/if_enetc.c b/sys/dev/enetc/if_enetc.c
index 182b4f98b92a..e5337319fbbb 100644
--- a/sys/dev/enetc/if_enetc.c
+++ b/sys/dev/enetc/if_enetc.c
@@ -1293,7 +1293,7 @@ enetc_isc_rxd_refill(void *data, if_rxd_update_t iru)
* After enabling the queue NIC will prefetch the first
* 8 descriptors. It probably assumes that the RX is fully
* refilled when cidx == pidx.
- * Enable it only if we have enough decriptors ready on the ring.
+ * Enable it only if we have enough descriptors ready on the ring.
*/
if (!queue->enabled && pidx >= 8) {
ENETC_RXQ_WR4(sc, iru->iru_qsidx, ENETC_RBMR, sc->rbmr);