Fix typo
This commit is contained in:
parent
7ea25e2de8
commit
65146fd908
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_mc.c,v 1.53 2020/01/29 05:25:41 thorpej Exp $ */
|
||||
/* $NetBSD: if_mc.c,v 1.54 2020/01/30 06:28:46 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 David Huang <khym@azeotrope.org>
|
||||
|
@ -35,7 +35,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.53 2020/01/29 05:25:41 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_mc.c,v 1.54 2020/01/30 06:28:46 martin Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_inet.h"
|
||||
|
@ -491,7 +491,7 @@ mc_tint(struct mc_softc *sc)
|
|||
|
||||
if (xmtfs & MORE)
|
||||
/* Real number is unknown. */
|
||||
if_statadd_ref(nsr, if_collsions, 2);
|
||||
if_statadd_ref(nsr, if_collisons, 2);
|
||||
else if (xmtfs & ONE)
|
||||
if_statinc_ref(nsr, if_collisions);
|
||||
else if (xmtfs & RTRY) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pq3etsec.c,v 1.48 2020/01/29 05:35:28 thorpej Exp $ */
|
||||
/* $NetBSD: pq3etsec.c,v 1.49 2020/01/30 06:27:13 martin Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -41,7 +41,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.48 2020/01/29 05:35:28 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pq3etsec.c,v 1.49 2020/01/30 06:27:13 martin Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/cpu.h>
|
||||
|
@ -2226,7 +2226,7 @@ pq3etsec_txq_consume(
|
|||
if (m->m_flags & M_HASFCB)
|
||||
m_adj(m, sizeof(struct txfcb));
|
||||
bpf_mtap(ifp, m, BPF_D_OUT);
|
||||
net_stats_ref_t nsr = IF_STAT_GETREF(ifp);
|
||||
net_stat_ref_t nsr = IF_STAT_GETREF(ifp);
|
||||
if_statinc_ref(nsr, if_opackets);
|
||||
if_statadd_ref(nsr, if_obytes, m->m_pkthdr.len);
|
||||
if (m->m_flags & M_MCAST)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_sq.c,v 1.53 2020/01/29 05:37:08 thorpej Exp $ */
|
||||
/* $NetBSD: if_sq.c,v 1.54 2020/01/30 06:25:46 martin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Rafal K. Boni
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.53 2020/01/29 05:37:08 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_sq.c,v 1.54 2020/01/30 06:25:46 martin Exp $");
|
||||
|
||||
|
||||
#include <sys/param.h>
|
||||
|
@ -1074,7 +1074,7 @@ sq_txintr(struct sq_softc *sc)
|
|||
|
||||
SQ_TRACE(SQ_TXINTR_ENTER, sc, sc->sc_prevtx, status);
|
||||
|
||||
net_stats_ref_t nsr = IF_STAT_GETREF(ifp);
|
||||
net_stat_ref_t nsr = IF_STAT_GETREF(ifp);
|
||||
tmp = (sc->hpc_regs->enetx_ctl_active >> shift) | TXSTAT_GOOD;
|
||||
if ((status & tmp) == 0) {
|
||||
if (status & TXSTAT_COLL)
|
||||
|
|
Loading…
Reference in New Issue