Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci len -> m_len



details:   https://anonhg.NetBSD.org/src/rev/62836536b288
branches:  trunk
changeset: 459861:62836536b288
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Sep 28 16:22:45 2019 +0000

description:
len -> m_len

diffstat:

 sys/dev/pci/if_mcx.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3bc79e28e6e5 -r 62836536b288 sys/dev/pci/if_mcx.c
--- a/sys/dev/pci/if_mcx.c      Sat Sep 28 16:20:43 2019 +0000
+++ b/sys/dev/pci/if_mcx.c      Sat Sep 28 16:22:45 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mcx.c,v 1.3 2019/09/28 16:20:43 tnn Exp $ */
+/*     $NetBSD: if_mcx.c,v 1.4 2019/09/28 16:22:45 tnn Exp $ */
 /*     $OpenBSD: if_mcx.c,v 1.33 2019/09/12 04:23:59 jmatthew Exp $ */
 
 /*
@@ -5629,7 +5629,7 @@
                bus_dmamap_sync(sc->sc_dmat, ms->ms_map, 0, ms->ms_map->dm_mapsize, BUS_DMASYNC_PREREAD);
                ms->ms_m = m;
 
-               rqe[slot].rqe_byte_count = htobe32(m->len);
+               rqe[slot].rqe_byte_count = htobe32(m->m_len);
                rqe[slot].rqe_addr = htobe64(ms->ms_map->dm_segs[0].ds_addr);
                rqe[slot].rqe_lkey = htobe32(sc->sc_lkey);
 



Home | Main Index | Thread Index | Old Index