diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-09-20 10:28:20 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2016-09-20 10:28:20 +0000 |
commit | f2f3278abc22fd56299b293bfba86e02eed9e55c (patch) | |
tree | b3e9e6139c7600ce980507abac9b51959752805b /sys | |
parent | 21806d54b0dc035ffa04770323f906a8d107d824 (diff) |
Attach event counter
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pv/if_hvn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pv/if_hvn.c b/sys/dev/pv/if_hvn.c index bb121843476..3647a6f3506 100644 --- a/sys/dev/pv/if_hvn.c +++ b/sys/dev/pv/if_hvn.c @@ -822,6 +822,8 @@ hvn_nvs_attach(struct hvn_softc *sc) return (-1); } + hv_evcount_attach(sc->sc_chan, sc->sc_dev.dv_xname); + mtx_init(&sc->sc_nvslck, IPL_NET); memset(&cmd, 0, sizeof(cmd)); |