diff options
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h')
-rw-r--r-- | drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h index e3728d736d85..d76a65847603 100644 --- a/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h +++ b/drivers/scsi/mpt2sas/mpi/mpi2_cnfg.h | |||
@@ -6,7 +6,7 @@ | |||
6 | * Title: MPI Configuration messages and pages | 6 | * Title: MPI Configuration messages and pages |
7 | * Creation Date: November 10, 2006 | 7 | * Creation Date: November 10, 2006 |
8 | * | 8 | * |
9 | * mpi2_cnfg.h Version: 02.00.14 | 9 | * mpi2_cnfg.h Version: 02.00.15 |
10 | * | 10 | * |
11 | * Version History | 11 | * Version History |
12 | * --------------- | 12 | * --------------- |
@@ -121,6 +121,10 @@ | |||
121 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_6 and related defines. | 121 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_6 and related defines. |
122 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_7 and related defines. | 122 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_7 and related defines. |
123 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_8 and related defines. | 123 | * Added MPI2_CONFIG_PAGE_SASIOUNIT_8 and related defines. |
124 | * 05-12-10 02.00.15 Added MPI2_RAIDVOL0_STATUS_FLAG_VOL_NOT_CONSISTENT | ||
125 | * define. | ||
126 | * Added MPI2_PHYSDISK0_INCOMPATIBLE_MEDIA_TYPE define. | ||
127 | * Added MPI2_SAS_NEG_LINK_RATE_UNSUPPORTED_PHY define. | ||
124 | * -------------------------------------------------------------------------- | 128 | * -------------------------------------------------------------------------- |
125 | */ | 129 | */ |
126 | 130 | ||
@@ -333,7 +337,7 @@ typedef struct _MPI2_CONFIG_REQUEST | |||
333 | #define MPI2_CONFIG_ACTION_PAGE_READ_NVRAM (0x06) | 337 | #define MPI2_CONFIG_ACTION_PAGE_READ_NVRAM (0x06) |
334 | #define MPI2_CONFIG_ACTION_PAGE_GET_CHANGEABLE (0x07) | 338 | #define MPI2_CONFIG_ACTION_PAGE_GET_CHANGEABLE (0x07) |
335 | 339 | ||
336 | /* values for SGLFlags field are in the SGL section of mpi2.h */ | 340 | /* use MPI2_SGLFLAGS_ defines from mpi2.h for the SGLFlags field */ |
337 | 341 | ||
338 | 342 | ||
339 | /* Config Reply Message */ | 343 | /* Config Reply Message */ |
@@ -379,6 +383,8 @@ typedef struct _MPI2_CONFIG_REPLY | |||
379 | #define MPI2_MFGPAGE_DEVID_SAS2116_1 (0x0064) | 383 | #define MPI2_MFGPAGE_DEVID_SAS2116_1 (0x0064) |
380 | #define MPI2_MFGPAGE_DEVID_SAS2116_2 (0x0065) | 384 | #define MPI2_MFGPAGE_DEVID_SAS2116_2 (0x0065) |
381 | 385 | ||
386 | #define MPI2_MFGPAGE_DEVID_SSS6200 (0x007E) | ||
387 | |||
382 | #define MPI2_MFGPAGE_DEVID_SAS2208_1 (0x0080) | 388 | #define MPI2_MFGPAGE_DEVID_SAS2208_1 (0x0080) |
383 | #define MPI2_MFGPAGE_DEVID_SAS2208_2 (0x0081) | 389 | #define MPI2_MFGPAGE_DEVID_SAS2208_2 (0x0081) |
384 | #define MPI2_MFGPAGE_DEVID_SAS2208_3 (0x0082) | 390 | #define MPI2_MFGPAGE_DEVID_SAS2208_3 (0x0082) |
@@ -390,6 +396,8 @@ typedef struct _MPI2_CONFIG_REPLY | |||
390 | #define MPI2_MFGPAGE_DEVID_SAS2308_3 (0x006E) | 396 | #define MPI2_MFGPAGE_DEVID_SAS2308_3 (0x006E) |
391 | 397 | ||
392 | 398 | ||
399 | |||
400 | |||
393 | /* Manufacturing Page 0 */ | 401 | /* Manufacturing Page 0 */ |
394 | 402 | ||
395 | typedef struct _MPI2_CONFIG_PAGE_MAN_0 | 403 | typedef struct _MPI2_CONFIG_PAGE_MAN_0 |
@@ -729,6 +737,7 @@ typedef struct _MPI2_CONFIG_PAGE_IO_UNIT_1 | |||
729 | /* IO Unit Page 1 Flags defines */ | 737 | /* IO Unit Page 1 Flags defines */ |
730 | #define MPI2_IOUNITPAGE1_ENABLE_HOST_BASED_DISCOVERY (0x00000800) | 738 | #define MPI2_IOUNITPAGE1_ENABLE_HOST_BASED_DISCOVERY (0x00000800) |
731 | #define MPI2_IOUNITPAGE1_MASK_SATA_WRITE_CACHE (0x00000600) | 739 | #define MPI2_IOUNITPAGE1_MASK_SATA_WRITE_CACHE (0x00000600) |
740 | #define MPI2_IOUNITPAGE1_SATA_WRITE_CACHE_SHIFT (9) | ||
732 | #define MPI2_IOUNITPAGE1_ENABLE_SATA_WRITE_CACHE (0x00000000) | 741 | #define MPI2_IOUNITPAGE1_ENABLE_SATA_WRITE_CACHE (0x00000000) |
733 | #define MPI2_IOUNITPAGE1_DISABLE_SATA_WRITE_CACHE (0x00000200) | 742 | #define MPI2_IOUNITPAGE1_DISABLE_SATA_WRITE_CACHE (0x00000200) |
734 | #define MPI2_IOUNITPAGE1_UNCHANGED_SATA_WRITE_CACHE (0x00000400) | 743 | #define MPI2_IOUNITPAGE1_UNCHANGED_SATA_WRITE_CACHE (0x00000400) |
@@ -1347,6 +1356,7 @@ typedef struct _MPI2_CONFIG_PAGE_RAID_VOL_0 | |||
1347 | #define MPI2_RAIDVOL0_STATUS_FLAG_CAPACITY_EXPANSION (0x00040000) | 1356 | #define MPI2_RAIDVOL0_STATUS_FLAG_CAPACITY_EXPANSION (0x00040000) |
1348 | #define MPI2_RAIDVOL0_STATUS_FLAG_BACKGROUND_INIT (0x00020000) | 1357 | #define MPI2_RAIDVOL0_STATUS_FLAG_BACKGROUND_INIT (0x00020000) |
1349 | #define MPI2_RAIDVOL0_STATUS_FLAG_RESYNC_IN_PROGRESS (0x00010000) | 1358 | #define MPI2_RAIDVOL0_STATUS_FLAG_RESYNC_IN_PROGRESS (0x00010000) |
1359 | #define MPI2_RAIDVOL0_STATUS_FLAG_VOL_NOT_CONSISTENT (0x00000080) | ||
1350 | #define MPI2_RAIDVOL0_STATUS_FLAG_OCE_ALLOWED (0x00000040) | 1360 | #define MPI2_RAIDVOL0_STATUS_FLAG_OCE_ALLOWED (0x00000040) |
1351 | #define MPI2_RAIDVOL0_STATUS_FLAG_BGI_COMPLETE (0x00000020) | 1361 | #define MPI2_RAIDVOL0_STATUS_FLAG_BGI_COMPLETE (0x00000020) |
1352 | #define MPI2_RAIDVOL0_STATUS_FLAG_1E_OFFSET_MIRROR (0x00000000) | 1362 | #define MPI2_RAIDVOL0_STATUS_FLAG_1E_OFFSET_MIRROR (0x00000000) |
@@ -1469,11 +1479,15 @@ typedef struct _MPI2_CONFIG_PAGE_RD_PDISK_0 | |||
1469 | #define MPI2_PHYSDISK0_INCOMPATIBLE_MAX_LBA (0x03) | 1479 | #define MPI2_PHYSDISK0_INCOMPATIBLE_MAX_LBA (0x03) |
1470 | #define MPI2_PHYSDISK0_INCOMPATIBLE_SATA_EXTENDED_CMD (0x04) | 1480 | #define MPI2_PHYSDISK0_INCOMPATIBLE_SATA_EXTENDED_CMD (0x04) |
1471 | #define MPI2_PHYSDISK0_INCOMPATIBLE_REMOVEABLE_MEDIA (0x05) | 1481 | #define MPI2_PHYSDISK0_INCOMPATIBLE_REMOVEABLE_MEDIA (0x05) |
1482 | #define MPI2_PHYSDISK0_INCOMPATIBLE_MEDIA_TYPE (0x06) | ||
1472 | #define MPI2_PHYSDISK0_INCOMPATIBLE_UNKNOWN (0xFF) | 1483 | #define MPI2_PHYSDISK0_INCOMPATIBLE_UNKNOWN (0xFF) |
1473 | 1484 | ||
1474 | /* PhysDiskAttributes defines */ | 1485 | /* PhysDiskAttributes defines */ |
1486 | #define MPI2_PHYSDISK0_ATTRIB_MEDIA_MASK (0x0C) | ||
1475 | #define MPI2_PHYSDISK0_ATTRIB_SOLID_STATE_DRIVE (0x08) | 1487 | #define MPI2_PHYSDISK0_ATTRIB_SOLID_STATE_DRIVE (0x08) |
1476 | #define MPI2_PHYSDISK0_ATTRIB_HARD_DISK_DRIVE (0x04) | 1488 | #define MPI2_PHYSDISK0_ATTRIB_HARD_DISK_DRIVE (0x04) |
1489 | |||
1490 | #define MPI2_PHYSDISK0_ATTRIB_PROTOCOL_MASK (0x03) | ||
1477 | #define MPI2_PHYSDISK0_ATTRIB_SAS_PROTOCOL (0x02) | 1491 | #define MPI2_PHYSDISK0_ATTRIB_SAS_PROTOCOL (0x02) |
1478 | #define MPI2_PHYSDISK0_ATTRIB_SATA_PROTOCOL (0x01) | 1492 | #define MPI2_PHYSDISK0_ATTRIB_SATA_PROTOCOL (0x01) |
1479 | 1493 | ||
@@ -1545,6 +1559,7 @@ typedef struct _MPI2_CONFIG_PAGE_RD_PDISK_1 | |||
1545 | #define MPI2_SAS_NEG_LINK_RATE_SATA_OOB_COMPLETE (0x03) | 1559 | #define MPI2_SAS_NEG_LINK_RATE_SATA_OOB_COMPLETE (0x03) |
1546 | #define MPI2_SAS_NEG_LINK_RATE_PORT_SELECTOR (0x04) | 1560 | #define MPI2_SAS_NEG_LINK_RATE_PORT_SELECTOR (0x04) |
1547 | #define MPI2_SAS_NEG_LINK_RATE_SMP_RESET_IN_PROGRESS (0x05) | 1561 | #define MPI2_SAS_NEG_LINK_RATE_SMP_RESET_IN_PROGRESS (0x05) |
1562 | #define MPI2_SAS_NEG_LINK_RATE_UNSUPPORTED_PHY (0x06) | ||
1548 | #define MPI2_SAS_NEG_LINK_RATE_1_5 (0x08) | 1563 | #define MPI2_SAS_NEG_LINK_RATE_1_5 (0x08) |
1549 | #define MPI2_SAS_NEG_LINK_RATE_3_0 (0x09) | 1564 | #define MPI2_SAS_NEG_LINK_RATE_3_0 (0x09) |
1550 | #define MPI2_SAS_NEG_LINK_RATE_6_0 (0x0A) | 1565 | #define MPI2_SAS_NEG_LINK_RATE_6_0 (0x0A) |
@@ -1571,6 +1586,7 @@ typedef struct _MPI2_CONFIG_PAGE_RD_PDISK_1 | |||
1571 | #define MPI2_SAS_PHYINFO_PHY_VACANT (0x80000000) | 1586 | #define MPI2_SAS_PHYINFO_PHY_VACANT (0x80000000) |
1572 | 1587 | ||
1573 | #define MPI2_SAS_PHYINFO_PHY_POWER_CONDITION_MASK (0x18000000) | 1588 | #define MPI2_SAS_PHYINFO_PHY_POWER_CONDITION_MASK (0x18000000) |
1589 | #define MPI2_SAS_PHYINFO_SHIFT_PHY_POWER_CONDITION (27) | ||
1574 | #define MPI2_SAS_PHYINFO_PHY_POWER_ACTIVE (0x00000000) | 1590 | #define MPI2_SAS_PHYINFO_PHY_POWER_ACTIVE (0x00000000) |
1575 | #define MPI2_SAS_PHYINFO_PHY_POWER_PARTIAL (0x08000000) | 1591 | #define MPI2_SAS_PHYINFO_PHY_POWER_PARTIAL (0x08000000) |
1576 | #define MPI2_SAS_PHYINFO_PHY_POWER_SLUMBER (0x10000000) | 1592 | #define MPI2_SAS_PHYINFO_PHY_POWER_SLUMBER (0x10000000) |