Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Fix typo. No functional change. OK'd by knakahara.



details:   https://anonhg.NetBSD.org/src/rev/6f76032f7962
branches:  trunk
changeset: 371939:6f76032f7962
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Oct 19 06:37:25 2022 +0000

description:
Fix typo. No functional change. OK'd by knakahara.

diffstat:

 sys/dev/pci/if_wm.c    |  12 ++++++------
 sys/dev/pci/if_wmreg.h |   4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (53 lines):

diff -r 825c20e6ad74 -r 6f76032f7962 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Wed Oct 19 06:10:43 2022 +0000
+++ b/sys/dev/pci/if_wm.c       Wed Oct 19 06:37:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.764 2022/09/08 02:40:10 msaitoh Exp $      */
+/*     $NetBSD: if_wm.c,v 1.765 2022/10/19 06:37:25 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.764 2022/09/08 02:40:10 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.765 2022/10/19 06:37:25 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_if_wm.h"
@@ -8922,12 +8922,12 @@
         * however it does not cause problems.
         */
        /* Fill in the context descriptor. */
-       txq->txq_nq_descs[txq->txq_next].nqrx_ctx.nqtxc_vl_len =
+       txq->txq_nq_descs[txq->txq_next].nqtx_ctx.nqtxc_vl_len =
            htole32(vl_len);
-       txq->txq_nq_descs[txq->txq_next].nqrx_ctx.nqtxc_sn = 0;
-       txq->txq_nq_descs[txq->txq_next].nqrx_ctx.nqtxc_cmd =
+       txq->txq_nq_descs[txq->txq_next].nqtx_ctx.nqtxc_sn = 0;
+       txq->txq_nq_descs[txq->txq_next].nqtx_ctx.nqtxc_cmd =
            htole32(cmdc);
-       txq->txq_nq_descs[txq->txq_next].nqrx_ctx.nqtxc_mssidx =
+       txq->txq_nq_descs[txq->txq_next].nqtx_ctx.nqtxc_mssidx =
            htole32(mssidx);
        wm_cdtxsync(txq, txq->txq_next, 1, BUS_DMASYNC_PREWRITE);
        DPRINTF(sc, WM_DEBUG_TX,
diff -r 825c20e6ad74 -r 6f76032f7962 sys/dev/pci/if_wmreg.h
--- a/sys/dev/pci/if_wmreg.h    Wed Oct 19 06:10:43 2022 +0000
+++ b/sys/dev/pci/if_wmreg.h    Wed Oct 19 06:37:25 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wmreg.h,v 1.127 2022/07/22 05:23:50 msaitoh Exp $   */
+/*     $NetBSD: if_wmreg.h,v 1.128 2022/10/19 06:37:25 msaitoh Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -1707,7 +1707,7 @@
                uint32_t nqtxc_sn;
                uint32_t nqtxc_cmd;
                uint32_t nqtxc_mssidx;
-       } nqrx_ctx;
+       } nqtx_ctx;
 } __packed nq_txdesc_t;
 
 



Home | Main Index | Thread Index | Old Index