Source-Changes-HG archive

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

[src/netbsd-6-1]: src/sys/dev/pci Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/dcdaa167197b
branches:  netbsd-6-1
changeset: 776159:dcdaa167197b
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Sep 24 13:21:06 2016 +0000

description:
Pull up following revision(s) (requested by ozaki-r in ticket #1401):
        sys/dev/pci/if_vioif.c: revision 1.25
Fix initializing wrong queues
Pointed out by Mike Larkin.
PR kern/51448

diffstat:

 sys/dev/pci/if_vioif.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a47df2151edf -r dcdaa167197b sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Sat Sep 24 13:19:08 2016 +0000
+++ b/sys/dev/pci/if_vioif.c    Sat Sep 24 13:21:06 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.2.8.1.2.1 2014/08/07 09:34:21 msaitoh Exp $     */
+/*     $NetBSD: if_vioif.c,v 1.2.8.1.2.2 2016/09/24 13:21:06 bouyer Exp $      */
 
 /*
  * Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.2.8.1.2.1 2014/08/07 09:34:21 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.2.8.1.2.2 2016/09/24 13:21:06 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -378,7 +378,7 @@
        }
 
        for (i = 0; i < txqsize; i++) {
-               C_L1(txhdr_dmamaps[i], rx_hdrs[i],
+               C_L1(txhdr_dmamaps[i], tx_hdrs[i],
                    sizeof(struct virtio_net_hdr), 1,
                    WRITE, "tx header");
                C(tx_dmamaps[i], NULL, ETHER_MAX_LEN, 256 /* XXX */, 0,



Home | Main Index | Thread Index | Old Index