s/decriptor/descriptor/ in comment.

This commit is contained in:
msaitoh 2021-12-05 02:47:01 +00:00
parent 602777964f
commit 0706dce334
5 changed files with 15 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_temac.c,v 1.17 2021/03/29 13:14:13 rin Exp $ */
/* $NetBSD: if_temac.c,v 1.18 2021/12/05 02:47:01 msaitoh Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.17 2021/03/29 13:14:13 rin Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.18 2021/12/05 02:47:01 msaitoh Exp $");
#include <sys/param.h>
@ -1165,7 +1165,9 @@ temac_rxreap(struct temac_softc *sc)
if ((stat & CDMAC_STAT_DONE) == 0)
break;
/* Count any decriptor we've collected, regardless of status. */
/*
* Count any descriptor we've collected, regardless of status.
*/
nseg ++;
/* XXXFreza: This won't work for jumbo frames. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: cdboot.S,v 1.12 2011/01/04 16:53:05 jakllsch Exp $ */
/* $NetBSD: cdboot.S,v 1.13 2021/12/05 02:47:01 msaitoh Exp $ */
/*-
* Copyright (c) 2005 The NetBSD Foundation, Inc.
@ -222,7 +222,7 @@ boot_cdrom:
movw $str_banner, %si
call message
/* Read volume descriptor sectors until Primary decriptor found */
/* Read volume descriptor sectors until Primary descriptor found */
movl $VD_LBA, %eax
next_block:
movb $1, %dh /* Number of sectors to read */

View File

@ -1,4 +1,4 @@
/* $NetBSD: mfi.c,v 1.66 2021/11/06 06:52:48 msaitoh Exp $ */
/* $NetBSD: mfi.c,v 1.67 2021/12/05 02:47:01 msaitoh Exp $ */
/* $OpenBSD: mfi.c,v 1.66 2006/11/28 23:59:45 dlg Exp $ */
/*
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.66 2021/11/06 06:52:48 msaitoh Exp $");
__KERNEL_RCSID(0, "$NetBSD: mfi.c,v 1.67 2021/12/05 02:47:01 msaitoh Exp $");
#include "bio.h"
@ -2924,7 +2924,7 @@ mfi_tbolt_init_desc_pool(struct mfi_softc *sc)
uint32_t offset = 0;
uint8_t *addr = MFIMEM_KVA(sc->sc_tbolt_reqmsgpool);
/* Request Decriptors alignment restrictions */
/* Request Descriptors alignment restrictions */
KASSERT(((uintptr_t)addr & 0xFF) == 0);
/* Skip request message pool */

View File

@ -1,4 +1,4 @@
/* $NetBSD: rt2560.c,v 1.39 2021/06/16 00:21:18 riastradh Exp $ */
/* $NetBSD: rt2560.c,v 1.40 2021/12/05 02:47:01 msaitoh Exp $ */
/* $OpenBSD: rt2560.c,v 1.15 2006/04/20 20:31:12 miod Exp $ */
/* $FreeBSD: rt2560.c,v 1.3 2006/03/21 21:15:43 damien Exp $*/
@ -24,7 +24,7 @@
* http://www.ralinktech.com/
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rt2560.c,v 1.39 2021/06/16 00:21:18 riastradh Exp $");
__KERNEL_RCSID(0, "$NetBSD: rt2560.c,v 1.40 2021/12/05 02:47:01 msaitoh Exp $");
#include <sys/param.h>
@ -1238,7 +1238,7 @@ rt2560_decryption_intr(struct rt2560_softc *sc)
struct mbuf *mnew, *m;
int hw, error, s;
/* retrieve last decriptor index processed by cipher engine */
/* retrieve last descriptor index processed by cipher engine */
hw = (RAL_READ(sc, RT2560_SECCSR0) - sc->rxq.physaddr) /
RT2560_RX_DESC_SIZE;

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_mvxpevar.h,v 1.5 2019/09/13 07:55:07 msaitoh Exp $ */
/* $NetBSD: if_mvxpevar.h,v 1.6 2021/12/05 02:47:01 msaitoh Exp $ */
/*
* Copyright (c) 2015 Internet Initiative Japan Inc.
* All rights reserved.
@ -102,7 +102,7 @@
* DMA Descriptor
*
* the ethernet device has 8 rx/tx DMA queues. each of queue has its own
* decriptor list. descriptors are simply index by counter inside the device.
* descriptor list. descriptors are simply index by counter inside the device.
*/
#define MVXPE_TX_RING_CNT IFQ_MAXLEN
#define MVXPE_TX_RING_MSK (MVXPE_TX_RING_CNT - 1)