aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/vmbus/vmbus_var.h
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-21 06:09:47 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-21 06:09:47 +0000
commit82b8a879643520599816dd65b81c370797203af1 (patch)
treef7718d6cd3be40c8fa19fdd29eda6bc9e507ac9b /sys/dev/hyperv/vmbus/vmbus_var.h
parent4143850b006d0dd39029671fc5af62cfd3eae062 (diff)
downloadsrc-82b8a879643520599816dd65b81c370797203af1.tar.gz
src-82b8a879643520599816dd65b81c370797203af1.zip
Notes
Diffstat (limited to 'sys/dev/hyperv/vmbus/vmbus_var.h')
-rw-r--r--sys/dev/hyperv/vmbus/vmbus_var.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/hyperv/vmbus/vmbus_var.h b/sys/dev/hyperv/vmbus/vmbus_var.h
index 5734b79c1585..1316d7443665 100644
--- a/sys/dev/hyperv/vmbus/vmbus_var.h
+++ b/sys/dev/hyperv/vmbus/vmbus_var.h
@@ -86,7 +86,7 @@ struct vmbus_softc {
u_long *vmbus_rx_evtflags;
/* compat evtflgs from host */
- struct hv_vmbus_channel **vmbus_chmap;
+ struct vmbus_channel **vmbus_chmap;
struct vmbus_msghc_ctx *vmbus_msg_hc;
struct vmbus_pcpu_data vmbus_pcpu[MAXCPU];
@@ -115,7 +115,7 @@ struct vmbus_softc {
/* Primary channels */
struct mtx vmbus_prichan_lock;
- TAILQ_HEAD(, hv_vmbus_channel) vmbus_prichans;
+ TAILQ_HEAD(, vmbus_channel) vmbus_prichans;
};
#define VMBUS_FLAG_ATTACHED 0x0001 /* vmbus was attached */
@@ -138,14 +138,14 @@ vmbus_get_device(void)
#define VMBUS_PCPU_GET(sc, field, cpu) (sc)->vmbus_pcpu[(cpu)].field
#define VMBUS_PCPU_PTR(sc, field, cpu) &(sc)->vmbus_pcpu[(cpu)].field
-struct hv_vmbus_channel;
+struct vmbus_channel;
struct trapframe;
struct vmbus_message;
struct vmbus_msghc;
void vmbus_handle_intr(struct trapframe *);
-int vmbus_add_child(struct hv_vmbus_channel *);
-int vmbus_delete_child(struct hv_vmbus_channel *);
+int vmbus_add_child(struct vmbus_channel *);
+int vmbus_delete_child(struct vmbus_channel *);
void vmbus_et_intr(struct trapframe *);
uint32_t vmbus_gpadl_alloc(struct vmbus_softc *);