Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/dev/hyperv Pull up following revision(s) (requested b...
details: https://anonhg.NetBSD.org/src/rev/bef77e36f6c7
branches: netbsd-8
changeset: 852641:bef77e36f6c7
user: martin <martin%NetBSD.org@localhost>
date: Sat Nov 16 16:23:31 2019 +0000
description:
Pull up following revision(s) (requested by nonaka in ticket #1441):
sys/dev/hyperv/if_hvn.c: revision 1.6
sys/dev/hyperv/hvkbd.c: revision 1.4
hvn(4), hvkbd(4): No need to call vmbus_channel_setdeferred().
These devices do not perform batch reading.
diffstat:
sys/dev/hyperv/hvkbd.c | 10 ++--------
sys/dev/hyperv/if_hvn.c | 10 ++--------
2 files changed, 4 insertions(+), 16 deletions(-)
diffs (62 lines):
diff -r fe7a9ba1c905 -r bef77e36f6c7 sys/dev/hyperv/hvkbd.c
--- a/sys/dev/hyperv/hvkbd.c Thu Nov 14 16:06:17 2019 +0000
+++ b/sys/dev/hyperv/hvkbd.c Sat Nov 16 16:23:31 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hvkbd.c,v 1.1.4.4 2019/06/13 06:12:55 martin Exp $ */
+/* $NetBSD: hvkbd.c,v 1.1.4.5 2019/11/16 16:23:31 martin Exp $ */
/*-
* Copyright (c) 2017 Microsoft Corp.
@@ -36,7 +36,7 @@
#endif /* _KERNEL_OPT */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hvkbd.c,v 1.1.4.4 2019/06/13 06:12:55 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hvkbd.c,v 1.1.4.5 2019/11/16 16:23:31 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -216,12 +216,6 @@
return;
}
- if (vmbus_channel_setdeferred(sc->sc_chan, device_xname(self))) {
- aprint_error_dev(self,
- "failed to create the interrupt thread\n");
- goto free_buf;
- }
-
sc->sc_chan->ch_flags &= ~CHF_BATCHED;
if (vmbus_channel_open(sc->sc_chan,
HVKBD_TX_RING_SIZE + HVKBD_RX_RING_SIZE, NULL, 0, hvkbd_intr, sc)) {
diff -r fe7a9ba1c905 -r bef77e36f6c7 sys/dev/hyperv/if_hvn.c
--- a/sys/dev/hyperv/if_hvn.c Thu Nov 14 16:06:17 2019 +0000
+++ b/sys/dev/hyperv/if_hvn.c Sat Nov 16 16:23:31 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_hvn.c,v 1.2.2.2 2019/03/09 17:10:19 martin Exp $ */
+/* $NetBSD: if_hvn.c,v 1.2.2.3 2019/11/16 16:23:31 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.2.2.2 2019/03/09 17:10:19 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.2.2.3 2019/11/16 16:23:31 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -934,12 +934,6 @@
sc->sc_chan->ch_flags &= ~CHF_BATCHED;
- if (vmbus_channel_setdeferred(sc->sc_chan, device_xname(sc->sc_dev))) {
- aprint_error_dev(sc->sc_dev,
- "failed to create the interrupt thread\n");
- return -1;
- }
-
/* Associate our interrupt handler with the channel */
if (vmbus_channel_open(sc->sc_chan, ringsize, NULL, 0,
hvn_nvs_intr, sc)) {
Home |
Main Index |
Thread Index |
Old Index