aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/include
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2016-07-20 05:26:04 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2016-07-20 05:26:04 +0000
commit9129ad2d709c2ee2e40a529cf443a3758dc6423a (patch)
tree17741ebeae2933e5fdbb5d15953d0659f8c65eaf /sys/dev/hyperv/include
parent4cd995ff5d6a50da4599edd02ee1affde55e02ae (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/include')
-rw-r--r--sys/dev/hyperv/include/hyperv.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/hyperv/include/hyperv.h b/sys/dev/hyperv/include/hyperv.h
index e6a773ff97842..a700ac9d18c07 100644
--- a/sys/dev/hyperv/include/hyperv.h
+++ b/sys/dev/hyperv/include/hyperv.h
@@ -117,7 +117,7 @@ typedef void (*vmbus_chan_callback_t)(void *);
typedef struct hv_vmbus_channel {
device_t ch_dev;
- struct vmbus_softc *vmbus_sc;
+ struct vmbus_softc *ch_vmbus;
uint32_t ch_flags; /* VMBUS_CHAN_FLAG_ */
uint32_t ch_id; /* channel id */
@@ -129,13 +129,13 @@ typedef struct hv_vmbus_channel {
uint32_t ch_montrig_mask;/* MNF trig mask */
/*
- * send to parent
+ * TX bufring; at the beginning of ch_bufring.
*/
- hv_vmbus_ring_buffer_info outbound;
+ hv_vmbus_ring_buffer_info ch_txbr;
/*
- * receive from parent
+ * RX bufring; immediately following ch_txbr.
*/
- hv_vmbus_ring_buffer_info inbound;
+ hv_vmbus_ring_buffer_info ch_rxbr;
struct taskqueue *ch_tq;
struct task ch_task;
@@ -169,9 +169,9 @@ typedef struct hv_vmbus_channel {
/*
* Driver private data
*/
- void *hv_chan_priv1;
- void *hv_chan_priv2;
- void *hv_chan_priv3;
+ void *ch_dev_priv1;
+ void *ch_dev_priv2;
+ void *ch_dev_priv3;
void *ch_bufring; /* TX+RX bufrings */
struct hyperv_dma ch_bufring_dma;