diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2022-10-19 06:37:25 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2022-10-19 06:37:25 +0000 |
| commit | 3b53ba8e2bb71652acf163e97ec9c2f5f14b4b29 (patch) | |
| tree | e78f9c037f726c0d318f58f5db3513677820a7ca /sys/dev | |
| parent | 632661ce6f4d3c6c1974bc6085f7c67c2e05b481 (diff) | |
Fix typo. No functional change. OK'd by knakahara.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pci/if_wm.c | 12 | ||||
| -rw-r--r-- | sys/dev/pci/if_wmreg.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/if_wm.c b/sys/dev/pci/if_wm.c index 50f9b8ec127..1928a9f437d 100644 --- a/sys/dev/pci/if_wm.c +++ b/sys/dev/pci/if_wm.c @@ -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 @@ wm_nq_tx_offload(struct wm_softc *sc, struct wm_txqueue *txq, * 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 --git a/sys/dev/pci/if_wmreg.h b/sys/dev/pci/if_wmreg.h index 749c923efd2..0638f66118d 100644 --- a/sys/dev/pci/if_wmreg.h +++ b/sys/dev/pci/if_wmreg.h @@ -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 @@ typedef union nq_txdesc { uint32_t nqtxc_sn; uint32_t nqtxc_cmd; uint32_t nqtxc_mssidx; - } nqrx_ctx; + } nqtx_ctx; } __packed nq_txdesc_t; |
