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;
#define VMBUS_CONNID_EVENT 2
#define VMBUS_SINT_MESSAGE 2
-/* =============================================================================
+#define VMBUS_GPADL_START 0xffff /* 0x10000 effectively */
+
+/*
+ * ============================================================================
* hyperv_reg.h
- * =============================================================================
+ * ============================================================================
*/
/*
} __packed;
/*
- * =============================================================================
+ * ============================================================================
* vmbus.h
- * =============================================================================
+ * ============================================================================
*/
/*
} __packed;
/*
- * =============================================================================
+ * ============================================================================
* vmbus_reg.h
- * =============================================================================
+ * ============================================================================
*/
/*
#define VMBUS_CHOFFER_FLAG1_HASMNF 0x01
/*
- * =============================================================================
- * Temporary
- * =============================================================================
+ * ============================================================================
+ * Integrated services
+ * ============================================================================
*/
/*
} __packed;
/*
- * =============================================================================
+ * ============================================================================
* Helper macros
- * =============================================================================
+ * ============================================================================
*/
/* How many PFNs can be referenced by the header */