Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
scsi
isci
scu_remote_node_context.h
Go to the documentation of this file.
1
/*
2
* This file is provided under a dual BSD/GPLv2 license. When using or
3
* redistributing this file, you may do so under either license.
4
*
5
* GPL LICENSE SUMMARY
6
*
7
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of version 2 of the GNU General Public License as
11
* published by the Free Software Foundation.
12
*
13
* This program is distributed in the hope that it will be useful, but
14
* WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
21
* The full GNU General Public License is included in this distribution
22
* in the file called LICENSE.GPL.
23
*
24
* BSD LICENSE
25
*
26
* Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
27
* All rights reserved.
28
*
29
* Redistribution and use in source and binary forms, with or without
30
* modification, are permitted provided that the following conditions
31
* are met:
32
*
33
* * Redistributions of source code must retain the above copyright
34
* notice, this list of conditions and the following disclaimer.
35
* * Redistributions in binary form must reproduce the above copyright
36
* notice, this list of conditions and the following disclaimer in
37
* the documentation and/or other materials provided with the
38
* distribution.
39
* * Neither the name of Intel Corporation nor the names of its
40
* contributors may be used to endorse or promote products derived
41
* from this software without specific prior written permission.
42
*
43
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
44
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
45
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
46
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
47
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
48
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
49
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
50
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
51
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
52
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
53
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
54
*/
55
56
#ifndef __SCU_REMOTE_NODE_CONTEXT_HEADER__
57
#define __SCU_REMOTE_NODE_CONTEXT_HEADER__
58
72
struct
ssp_remote_node_context
{
73
/* WORD 0 */
74
81
u32
remote_node_index
:12;
82
u32
reserved0_1
:4;
83
88
u32
remote_node_port_width
:4;
89
94
u32
logical_port_index
:3;
95
u32
reserved0_2
:5;
96
100
u32
nexus_loss_timer_enable
:1;
101
105
u32
check_bit
:1;
106
112
u32
is_valid
:1;
113
117
u32
is_remote_node_context
:1;
118
119
/* WORD 1 - 2 */
120
124
u32
remote_sas_address_lo
;
125
129
u32
remote_sas_address_hi
;
130
131
/* WORD 3 */
137
u32
function_number
:8;
138
u32
reserved3_1
:8;
139
144
u32
arbitration_wait_time
:16;
145
146
/* WORD 4 */
151
u32
connection_occupancy_timeout
:16;
152
157
u32
connection_inactivity_timeout
:16;
158
159
/* WORD 5 */
164
u32
initial_arbitration_wait_time
:16;
165
170
u32
oaf_connection_rate
:4;
171
176
u32
oaf_features
:4;
177
182
u32
oaf_source_zone_group
:8;
183
184
/* WORD 6 */
189
u32
oaf_more_compatibility_features
;
190
191
/* WORD 7 */
192
u32
reserved7
;
193
194
};
195
203
struct
stp_remote_node_context
{
207
u32
data
[8];
208
209
};
210
216
union
scu_remote_node_context
{
220
struct
ssp_remote_node_context
ssp
;
221
225
struct
stp_remote_node_context
stp
;
226
227
};
228
229
#endif
/* __SCU_REMOTE_NODE_CONTEXT_HEADER__ */
Generated on Thu Jan 10 2013 14:21:19 for Linux Kernel by
1.8.2