Deleted Added
full compact
hv_vstorage.h (255524) hv_vstorage.h (256276)
1/*-
2 * Copyright (c) 2009-2012 Microsoft Corp.
3 * Copyright (c) 2012 NetApp Inc.
4 * Copyright (c) 2012 Citrix Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 10 unchanged lines hidden (view full) ---

19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1/*-
2 * Copyright (c) 2009-2012 Microsoft Corp.
3 * Copyright (c) 2012 NetApp Inc.
4 * Copyright (c) 2012 Citrix Inc.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 10 unchanged lines hidden (view full) ---

19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/dev/hyperv/storvsc/hv_vstorage.h 256276 2013-10-10 16:25:53Z dim $
27 */
28
29#ifndef __HV_VSTORAGE_H__
30#define __HV_VSTORAGE_H__
31
32/*
33 * Major/minor macros. Minor version is in LSB, meaning that earlier flat
34 * version numbers will be interpreted as "0.x" (i.e., 1 becomes 0.1).

--- 67 unchanged lines hidden (view full) ---

102 uint32_t transfer_len;
103
104 union {
105 uint8_t cdb[CDB16GENERIC_LENGTH];
106
107 uint8_t sense_data[SENSE_BUFFER_SIZE];
108
109 uint8_t reserved_array[MAX_DATA_BUFFER_LENGTH_WITH_PADDING];
29 */
30
31#ifndef __HV_VSTORAGE_H__
32#define __HV_VSTORAGE_H__
33
34/*
35 * Major/minor macros. Minor version is in LSB, meaning that earlier flat
36 * version numbers will be interpreted as "0.x" (i.e., 1 becomes 0.1).

--- 67 unchanged lines hidden (view full) ---

104 uint32_t transfer_len;
105
106 union {
107 uint8_t cdb[CDB16GENERIC_LENGTH];
108
109 uint8_t sense_data[SENSE_BUFFER_SIZE];
110
111 uint8_t reserved_array[MAX_DATA_BUFFER_LENGTH_WITH_PADDING];
110 };
112 } u;
111
112} __packed;
113
114/**
115 * This structure is sent during the initialization phase to get the different
116 * properties of the channel.
117 */
118

--- 67 unchanged lines hidden (view full) ---

186 * Structure used to query channel properties.
187 */
188 struct vmstor_chan_props chan_props;
189
190 /**
191 * Used during version negotiations.
192 */
193 struct vmstor_proto_ver version;
113
114} __packed;
115
116/**
117 * This structure is sent during the initialization phase to get the different
118 * properties of the channel.
119 */
120

--- 67 unchanged lines hidden (view full) ---

188 * Structure used to query channel properties.
189 */
190 struct vmstor_chan_props chan_props;
191
192 /**
193 * Used during version negotiations.
194 */
195 struct vmstor_proto_ver version;
194 };
196 } u;
195
196} __packed;
197
198
199/**
200 * SRB (SCSI Request Block) Status Codes
201 */
202#define SRB_STATUS_PENDING 0x00

--- 29 unchanged lines hidden ---
197
198} __packed;
199
200
201/**
202 * SRB (SCSI Request Block) Status Codes
203 */
204#define SRB_STATUS_PENDING 0x00

--- 29 unchanged lines hidden ---