aacreg.h (206534) | aacreg.h (206540) |
---|---|
1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2000 Michael Smith 3 * Copyright (c) 2000-2001 Scott Long 4 * Copyright (c) 2000 BSDi 5 * Copyright (c) 2001 Adaptec, Inc. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/aac/aacreg.h 206534 2010-04-13 00:33:07Z emaste $ | 29 * $FreeBSD: head/sys/dev/aac/aacreg.h 206540 2010-04-13 01:16:15Z emaste $ |
30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 263 unchanged lines hidden (view full) --- 301 u_int32_t AdapterFibAlign; 302 u_int32_t PrintfBufferAddress; 303 u_int32_t PrintfBufferSize; 304#define AAC_PAGE_SIZE 4096 305 u_int32_t HostPhysMemPages; 306 u_int32_t HostElapsedSeconds; 307 /* ADAPTER_INIT_STRUCT_REVISION_4 begins here */ 308 u_int32_t InitFlags; /* flags for supported features */ | 30 */ 31 32/* 33 * Data structures defining the interface between the driver and the Adaptec 34 * 'FSA' adapters. Note that many field names and comments here are taken 35 * verbatim from the Adaptec driver source in order to make comparing the 36 * two slightly easier. 37 */ --- 263 unchanged lines hidden (view full) --- 301 u_int32_t AdapterFibAlign; 302 u_int32_t PrintfBufferAddress; 303 u_int32_t PrintfBufferSize; 304#define AAC_PAGE_SIZE 4096 305 u_int32_t HostPhysMemPages; 306 u_int32_t HostElapsedSeconds; 307 /* ADAPTER_INIT_STRUCT_REVISION_4 begins here */ 308 u_int32_t InitFlags; /* flags for supported features */ |
309#define INITFLAGS_NEW_COMM_SUPPORTED 1 | 309#define AAC_INITFLAGS_NEW_COMM_SUPPORTED 1 |
310 u_int32_t MaxIoCommands; /* max outstanding commands */ 311 u_int32_t MaxIoSize; /* largest I/O command */ 312 u_int32_t MaxFibSize; /* largest FIB to adapter */ 313} __packed; 314 315/* 316 * Shared data types 317 */ --- 758 unchanged lines hidden (view full) --- 1076 ST_ROFS = 30, 1077 ST_MLINK = 31, 1078 ST_WOULDBLOCK = 35, 1079 ST_NAMETOOLONG = 63, 1080 ST_NOTEMPTY = 66, 1081 ST_DQUOT = 69, 1082 ST_STALE = 70, 1083 ST_REMOTE = 71, | 310 u_int32_t MaxIoCommands; /* max outstanding commands */ 311 u_int32_t MaxIoSize; /* largest I/O command */ 312 u_int32_t MaxFibSize; /* largest FIB to adapter */ 313} __packed; 314 315/* 316 * Shared data types 317 */ --- 758 unchanged lines hidden (view full) --- 1076 ST_ROFS = 30, 1077 ST_MLINK = 31, 1078 ST_WOULDBLOCK = 35, 1079 ST_NAMETOOLONG = 63, 1080 ST_NOTEMPTY = 66, 1081 ST_DQUOT = 69, 1082 ST_STALE = 70, 1083 ST_REMOTE = 71, |
1084 ST_NOT_READY = 72, |
|
1084 ST_BADHANDLE = 10001, 1085 ST_NOT_SYNC = 10002, 1086 ST_BAD_COOKIE = 10003, 1087 ST_NOTSUPP = 10004, 1088 ST_TOOSMALL = 10005, 1089 ST_SERVERFAULT = 10006, 1090 ST_BADTYPE = 10007, 1091 ST_JUKEBOX = 10008, 1092 ST_NOTMOUNTED = 10009, 1093 ST_MAINTMODE = 10010, | 1085 ST_BADHANDLE = 10001, 1086 ST_NOT_SYNC = 10002, 1087 ST_BAD_COOKIE = 10003, 1088 ST_NOTSUPP = 10004, 1089 ST_TOOSMALL = 10005, 1090 ST_SERVERFAULT = 10006, 1091 ST_BADTYPE = 10007, 1092 ST_JUKEBOX = 10008, 1093 ST_NOTMOUNTED = 10009, 1094 ST_MAINTMODE = 10010, |
1094 ST_STALEACL = 10011 | 1095 ST_STALEACL = 10011, 1096 ST_BUS_RESET = 20001 |
1095} AAC_FSAStatus; 1096 1097/* 1098 * Volume manager commands 1099 */ 1100typedef enum _VM_COMMANDS { 1101 VM_Null = 0, 1102 VM_NameServe, --- 442 unchanged lines hidden --- | 1097} AAC_FSAStatus; 1098 1099/* 1100 * Volume manager commands 1101 */ 1102typedef enum _VM_COMMANDS { 1103 VM_Null = 0, 1104 VM_NameServe, --- 442 unchanged lines hidden --- |