Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/dev/hyperv Pull up following revision(s) (requested b...



details:   https://anonhg.NetBSD.org/src/rev/e7fd5a0028ab
branches:  netbsd-9
changeset: 461435:e7fd5a0028ab
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Nov 26 08:22:51 2019 +0000

description:
Pull up following revision(s) (requested by nonaka in ticket #484):

        sys/dev/hyperv/if_hvn.c: revision 1.11

hvn(4): Fix incorrect ident when waiting for NVS command response.

diffstat:

 sys/dev/hyperv/if_hvn.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r da70b444ede7 -r e7fd5a0028ab sys/dev/hyperv/if_hvn.c
--- a/sys/dev/hyperv/if_hvn.c   Tue Nov 26 08:20:47 2019 +0000
+++ b/sys/dev/hyperv/if_hvn.c   Tue Nov 26 08:22:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_hvn.c,v 1.4.2.4 2019/11/25 16:58:54 martin Exp $    */
+/*     $NetBSD: if_hvn.c,v 1.4.2.5 2019/11/26 08:22:51 martin Exp $    */
 /*     $OpenBSD: if_hvn.c,v 1.39 2018/03/11 14:31:34 mikeb Exp $       */
 
 /*-
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.4.2.4 2019/11/25 16:58:54 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.4.2.5 2019/11/26 08:22:51 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1097,7 +1097,8 @@
                        hvn_nvs_intr(sc);
                        splx(s);
                } else
-                       tsleep(sc, PRIBIO | PCATCH, "nvscmd", mstohz(1));
+                       tsleep(sc->sc_nvsrsp, PRIBIO | PCATCH, "nvscmd",
+                           mstohz(1));
        } while (--timo > 0 && sc->sc_nvsdone != 1);
 
        if (timo == 0 && sc->sc_nvsdone != 1) {



Home | Main Index | Thread Index | Old Index