Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/b99c872bb09f
branches:  netbsd-6
changeset: 777108:b99c872bb09f
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sat Sep 24 12:56:16 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 b1dfd5e2e767 -r b99c872bb09f sys/dev/pci/if_vioif.c
--- a/sys/dev/pci/if_vioif.c    Sat Sep 03 11:36:54 2016 +0000
+++ b/sys/dev/pci/if_vioif.c    Sat Sep 24 12:56:16 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vioif.c,v 1.2.8.2 2014/08/07 09:31:09 msaitoh Exp $ */
+/*     $NetBSD: if_vioif.c,v 1.2.8.3 2016/09/24 12:56:16 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.2 2014/08/07 09:31:09 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vioif.c,v 1.2.8.3 2016/09/24 12:56:16 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