aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r--drivers/message/fusion/mptbase.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 15ff22645844..a8c80805e170 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -194,6 +194,35 @@
194 194
195/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 195/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
196/* 196/*
197 * ATTO UL4D associated structures and defines
198 */
199#define ATTOFLAG_DISC 0x0001
200#define ATTOFLAG_TAGGED 0x0002
201#define ATTOFLAG_WIDE_ENB 0x0008
202#define ATTOFLAG_ID_ENB 0x0010
203#define ATTOFLAG_LUN_ENB 0x0060
204
205typedef struct _ATTO_DEVICE_INFO
206{
207 u8 Offset; /* 00h */
208 u8 Period; /* 01h */
209 u16 ATTOFlags; /* 02h */
210} ATTO_DEVICE_INFO, MPI_POINTER PTR_ATTO_DEVICE_INFO,
211 ATTODeviceInfo_t, MPI_POINTER pATTODeviceInfo_t;
212
213typedef struct _ATTO_CONFIG_PAGE_SCSI_PORT_2
214{
215 CONFIG_PAGE_HEADER Header; /* 00h */
216 u16 PortFlags; /* 04h */
217 u16 Unused1; /* 06h */
218 u32 Unused2; /* 08h */
219 ATTO_DEVICE_INFO DeviceSettings[16]; /* 0Ch */
220} fATTO_CONFIG_PAGE_SCSI_PORT_2, MPI_POINTER PTR_ATTO_CONFIG_PAGE_SCSI_PORT_2,
221 ATTO_SCSIPortPage2_t, MPI_POINTER pATTO_SCSIPortPage2_t;
222
223
224/*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
225/*
197 * MPT protocol driver defs... 226 * MPT protocol driver defs...
198 */ 227 */
199typedef enum { 228typedef enum {