diff options
Diffstat (limited to 'drivers/scsi/mpt2sas')
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2.h | 14 | ||||
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_init.h | 9 | ||||
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | 8 | ||||
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_raid.h | 7 |
4 files changed, 27 insertions, 11 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2.h b/drivers/scsi/mpt2sas/mpi/mpi2.h index a80f3220c641..e960f9625c78 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2011 LSI Corporation. | 2 | * Copyright (c) 2000-2012 LSI Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi2.h | 5 | * Name: mpi2.h |
@@ -8,7 +8,7 @@ | |||
8 | * scatter/gather formats. | 8 | * scatter/gather formats. |
9 | * Creation Date: June 21, 2006 | 9 | * Creation Date: June 21, 2006 |
10 | * | 10 | * |
11 | * mpi2.h Version: 02.00.23 | 11 | * mpi2.h Version: 02.00.25 |
12 | * | 12 | * |
13 | * Version History | 13 | * Version History |
14 | * --------------- | 14 | * --------------- |
@@ -72,6 +72,9 @@ | |||
72 | * 05-25-11 02.00.21 Bumped MPI2_HEADER_VERSION_UNIT. | 72 | * 05-25-11 02.00.21 Bumped MPI2_HEADER_VERSION_UNIT. |
73 | * 08-24-11 02.00.22 Bumped MPI2_HEADER_VERSION_UNIT. | 73 | * 08-24-11 02.00.22 Bumped MPI2_HEADER_VERSION_UNIT. |
74 | * 11-18-11 02.00.23 Bumped MPI2_HEADER_VERSION_UNIT. | 74 | * 11-18-11 02.00.23 Bumped MPI2_HEADER_VERSION_UNIT. |
75 | * 02-06-12 02.00.24 Bumped MPI2_HEADER_VERSION_UNIT. | ||
76 | * 03-29-12 02.00.25 Bumped MPI2_HEADER_VERSION_UNIT. | ||
77 | * Added Hard Reset delay timings. | ||
75 | * -------------------------------------------------------------------------- | 78 | * -------------------------------------------------------------------------- |
76 | */ | 79 | */ |
77 | 80 | ||
@@ -97,7 +100,7 @@ | |||
97 | #define MPI2_VERSION_02_00 (0x0200) | 100 | #define MPI2_VERSION_02_00 (0x0200) |
98 | 101 | ||
99 | /* versioning for this MPI header set */ | 102 | /* versioning for this MPI header set */ |
100 | #define MPI2_HEADER_VERSION_UNIT (0x17) | 103 | #define MPI2_HEADER_VERSION_UNIT (0x19) |
101 | #define MPI2_HEADER_VERSION_DEV (0x00) | 104 | #define MPI2_HEADER_VERSION_DEV (0x00) |
102 | #define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) | 105 | #define MPI2_HEADER_VERSION_UNIT_MASK (0xFF00) |
103 | #define MPI2_HEADER_VERSION_UNIT_SHIFT (8) | 106 | #define MPI2_HEADER_VERSION_UNIT_SHIFT (8) |
@@ -275,6 +278,11 @@ typedef volatile struct _MPI2_SYSTEM_INTERFACE_REGS | |||
275 | #define MPI2_REQUEST_DESCRIPTOR_POST_HIGH_OFFSET (0x000000C4) | 278 | #define MPI2_REQUEST_DESCRIPTOR_POST_HIGH_OFFSET (0x000000C4) |
276 | 279 | ||
277 | 280 | ||
281 | /* Hard Reset delay timings */ | ||
282 | #define MPI2_HARD_RESET_PCIE_FIRST_READ_DELAY_MICRO_SEC (50000) | ||
283 | #define MPI2_HARD_RESET_PCIE_RESET_READ_WINDOW_MICRO_SEC (255000) | ||
284 | #define MPI2_HARD_RESET_PCIE_SECOND_READ_DELAY_MICRO_SEC (256000) | ||
285 | |||
278 | /***************************************************************************** | 286 | /***************************************************************************** |
279 | * | 287 | * |
280 | * Message Descriptors | 288 | * Message Descriptors |
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_init.h b/drivers/scsi/mpt2sas/mpi/mpi2_init.h index de90162413c2..38c5da398143 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_init.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_init.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2010 LSI Corporation. | 2 | * Copyright (c) 2000-2012 LSI Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi2_init.h | 5 | * Name: mpi2_init.h |
6 | * Title: MPI SCSI initiator mode messages and structures | 6 | * Title: MPI SCSI initiator mode messages and structures |
7 | * Creation Date: June 23, 2006 | 7 | * Creation Date: June 23, 2006 |
8 | * | 8 | * |
9 | * mpi2_init.h Version: 02.00.11 | 9 | * mpi2_init.h Version: 02.00.13 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -34,6 +34,8 @@ | |||
34 | * 02-10-10 02.00.09 Removed unused structure that had "#if 0" around it. | 34 | * 02-10-10 02.00.09 Removed unused structure that had "#if 0" around it. |
35 | * 05-12-10 02.00.10 Added optional vendor-unique region to SCSI IO Request. | 35 | * 05-12-10 02.00.10 Added optional vendor-unique region to SCSI IO Request. |
36 | * 11-10-10 02.00.11 Added MPI2_SCSIIO_NUM_SGLOFFSETS define. | 36 | * 11-10-10 02.00.11 Added MPI2_SCSIIO_NUM_SGLOFFSETS define. |
37 | * 02-06-12 02.00.13 Added alternate defines for Task Priority / Command | ||
38 | * Priority to match SAM-4. | ||
37 | * -------------------------------------------------------------------------- | 39 | * -------------------------------------------------------------------------- |
38 | */ | 40 | */ |
39 | 41 | ||
@@ -194,6 +196,9 @@ typedef struct _MPI2_SCSI_IO_REQUEST | |||
194 | 196 | ||
195 | #define MPI2_SCSIIO_CONTROL_TASKPRI_MASK (0x00007800) | 197 | #define MPI2_SCSIIO_CONTROL_TASKPRI_MASK (0x00007800) |
196 | #define MPI2_SCSIIO_CONTROL_TASKPRI_SHIFT (11) | 198 | #define MPI2_SCSIIO_CONTROL_TASKPRI_SHIFT (11) |
199 | /* alternate name for the previous field; called Command Priority in SAM-4 */ | ||
200 | #define MPI2_SCSIIO_CONTROL_CMDPRI_MASK (0x00007800) | ||
201 | #define MPI2_SCSIIO_CONTROL_CMDPRI_SHIFT (11) | ||
197 | 202 | ||
198 | #define MPI2_SCSIIO_CONTROL_TASKATTRIBUTE_MASK (0x00000700) | 203 | #define MPI2_SCSIIO_CONTROL_TASKATTRIBUTE_MASK (0x00000700) |
199 | #define MPI2_SCSIIO_CONTROL_SIMPLEQ (0x00000000) | 204 | #define MPI2_SCSIIO_CONTROL_SIMPLEQ (0x00000000) |
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h b/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h index 9a925c07a9ec..b0d4760bb17d 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2011 LSI Corporation. | 2 | * Copyright (c) 2000-2012 LSI Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi2_ioc.h | 5 | * Name: mpi2_ioc.h |
6 | * Title: MPI IOC, Port, Event, FW Download, and FW Upload messages | 6 | * Title: MPI IOC, Port, Event, FW Download, and FW Upload messages |
7 | * Creation Date: October 11, 2006 | 7 | * Creation Date: October 11, 2006 |
8 | * | 8 | * |
9 | * mpi2_ioc.h Version: 02.00.19 | 9 | * mpi2_ioc.h Version: 02.00.21 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -117,6 +117,7 @@ | |||
117 | * 08-24-11 02.00.19 Added PhysicalPort field to | 117 | * 08-24-11 02.00.19 Added PhysicalPort field to |
118 | * MPI2_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE structure. | 118 | * MPI2_EVENT_DATA_SAS_DEVICE_STATUS_CHANGE structure. |
119 | * Marked MPI2_PM_CONTROL_FEATURE_PCIE_LINK as obsolete. | 119 | * Marked MPI2_PM_CONTROL_FEATURE_PCIE_LINK as obsolete. |
120 | * 03-29-12 02.00.21 Added a product specific range to event values. | ||
120 | * -------------------------------------------------------------------------- | 121 | * -------------------------------------------------------------------------- |
121 | */ | 122 | */ |
122 | 123 | ||
@@ -492,7 +493,8 @@ typedef struct _MPI2_EVENT_NOTIFICATION_REPLY | |||
492 | #define MPI2_EVENT_SAS_NOTIFY_PRIMITIVE (0x0026) | 493 | #define MPI2_EVENT_SAS_NOTIFY_PRIMITIVE (0x0026) |
493 | #define MPI2_EVENT_TEMP_THRESHOLD (0x0027) | 494 | #define MPI2_EVENT_TEMP_THRESHOLD (0x0027) |
494 | #define MPI2_EVENT_HOST_MESSAGE (0x0028) | 495 | #define MPI2_EVENT_HOST_MESSAGE (0x0028) |
495 | 496 | #define MPI2_EVENT_MIN_PRODUCT_SPECIFIC (0x006E) | |
497 | #define MPI2_EVENT_MAX_PRODUCT_SPECIFIC (0x007F) | ||
496 | 498 | ||
497 | /* Log Entry Added Event data */ | 499 | /* Log Entry Added Event data */ |
498 | 500 | ||
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_raid.h b/drivers/scsi/mpt2sas/mpi/mpi2_raid.h index 0601612b875a..2b38af213beb 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_raid.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |||
@@ -1,12 +1,12 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2000-2010 LSI Corporation. | 2 | * Copyright (c) 2000-2012 LSI Corporation. |
3 | * | 3 | * |
4 | * | 4 | * |
5 | * Name: mpi2_raid.h | 5 | * Name: mpi2_raid.h |
6 | * Title: MPI Integrated RAID messages and structures | 6 | * Title: MPI Integrated RAID messages and structures |
7 | * Creation Date: April 26, 2007 | 7 | * Creation Date: April 26, 2007 |
8 | * | 8 | * |
9 | * mpi2_raid.h Version: 02.00.06 | 9 | * mpi2_raid.h Version: 02.00.08 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -26,7 +26,7 @@ | |||
26 | * 08-24-10 02.00.06 Added MPI2_RAID_ACTION_COMPATIBILITY_CHECK along with | 26 | * 08-24-10 02.00.06 Added MPI2_RAID_ACTION_COMPATIBILITY_CHECK along with |
27 | * related structures and defines. | 27 | * related structures and defines. |
28 | * Added product-specific range to RAID Action values. | 28 | * Added product-specific range to RAID Action values. |
29 | 29 | * 02-06-12 02.00.08 Added MPI2_RAID_ACTION_PHYSDISK_HIDDEN. | |
30 | * -------------------------------------------------------------------------- | 30 | * -------------------------------------------------------------------------- |
31 | */ | 31 | */ |
32 | 32 | ||
@@ -181,6 +181,7 @@ typedef struct _MPI2_RAID_ACTION_REQUEST | |||
181 | #define MPI2_RAID_ACTION_START_RAID_FUNCTION (0x21) | 181 | #define MPI2_RAID_ACTION_START_RAID_FUNCTION (0x21) |
182 | #define MPI2_RAID_ACTION_STOP_RAID_FUNCTION (0x22) | 182 | #define MPI2_RAID_ACTION_STOP_RAID_FUNCTION (0x22) |
183 | #define MPI2_RAID_ACTION_COMPATIBILITY_CHECK (0x23) | 183 | #define MPI2_RAID_ACTION_COMPATIBILITY_CHECK (0x23) |
184 | #define MPI2_RAID_ACTION_PHYSDISK_HIDDEN (0x24) | ||
184 | #define MPI2_RAID_ACTION_MIN_PRODUCT_SPECIFIC (0x80) | 185 | #define MPI2_RAID_ACTION_MIN_PRODUCT_SPECIFIC (0x80) |
185 | #define MPI2_RAID_ACTION_MAX_PRODUCT_SPECIFIC (0xFF) | 186 | #define MPI2_RAID_ACTION_MAX_PRODUCT_SPECIFIC (0xFF) |
186 | 187 | ||