summaryrefslogtreecommitdiff
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-18 09:20:02 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-18 09:20:02 +0000
commit53c3600d96fa5e666cd6247059dd22dc4699f305 (patch)
tree8908f7cf4a872d1aed2cdb224a3eea319802c4d4 /sys/dev/pv/hyperv.c
parent04b0858bc6892d2d821b63bf2f8f48936ce84dd8 (diff)
Clean up style and replace a magic value with a magic define
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index 2ebdfe83897..a34ca0fb50c 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -738,7 +738,7 @@ hv_vmbus_connect(struct hv_softc *sc)
if (rsp.chm_done) {
sc->sc_flags |= HSF_CONNECTED;
sc->sc_proto = versions[i];
- sc->sc_handle = 0xe1e10 - 1; /* magic! */
+ sc->sc_handle = VMBUS_GPADL_START;
DPRINTF("%s: protocol version %#x\n",
sc->sc_dev.dv_xname, versions[i]);
break;