Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Fix typo
details: https://anonhg.NetBSD.org/src/rev/4bcca24c7919
branches: trunk
changeset: 1006892:4bcca24c7919
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 30 06:25:46 2020 +0000
description:
Fix typo
diffstat:
sys/arch/mac68k/dev/if_mc.c | 6 +++---
sys/arch/powerpc/booke/dev/pq3etsec.c | 6 +++---
sys/arch/sgimips/hpc/if_sq.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r e8e1ae2f5795 -r 4bcca24c7919 sys/arch/mac68k/dev/if_mc.c
--- a/sys/arch/mac68k/dev/if_mc.c Thu Jan 30 06:03:34 2020 +0000
+++ b/sys/arch/mac68k/dev/if_mc.c Thu Jan 30 06:25:46 2020 +0000
@@ -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@localhost>
@@ -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 @@
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) {
diff -r e8e1ae2f5795 -r 4bcca24c7919 sys/arch/powerpc/booke/dev/pq3etsec.c
--- a/sys/arch/powerpc/booke/dev/pq3etsec.c Thu Jan 30 06:03:34 2020 +0000
+++ b/sys/arch/powerpc/booke/dev/pq3etsec.c Thu Jan 30 06:25:46 2020 +0000
@@ -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 @@
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)
diff -r e8e1ae2f5795 -r 4bcca24c7919 sys/arch/sgimips/hpc/if_sq.c
--- a/sys/arch/sgimips/hpc/if_sq.c Thu Jan 30 06:03:34 2020 +0000
+++ b/sys/arch/sgimips/hpc/if_sq.c Thu Jan 30 06:25:46 2020 +0000
@@ -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_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)
Home |
Main Index |
Thread Index |
Old Index