aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/fusion')
-rw-r--r--drivers/message/fusion/lsi/mpi.h7
-rw-r--r--drivers/message/fusion/lsi/mpi_cnfg.h61
-rw-r--r--drivers/message/fusion/lsi/mpi_history.txt66
-rw-r--r--drivers/message/fusion/lsi/mpi_init.h10
-rw-r--r--drivers/message/fusion/lsi/mpi_ioc.h40
-rw-r--r--drivers/message/fusion/lsi/mpi_raid.h11
6 files changed, 144 insertions, 51 deletions
diff --git a/drivers/message/fusion/lsi/mpi.h b/drivers/message/fusion/lsi/mpi.h
index 75223bf24ae8..6a92e3d118fe 100644
--- a/drivers/message/fusion/lsi/mpi.h
+++ b/drivers/message/fusion/lsi/mpi.h
@@ -1,12 +1,12 @@
1/* 1/*
2 * Copyright (c) 2000-2006 LSI Logic Corporation. 2 * Copyright (c) 2000-2007 LSI Logic Corporation.
3 * 3 *
4 * 4 *
5 * Name: mpi.h 5 * Name: mpi.h
6 * Title: MPI Message independent structures and definitions 6 * Title: MPI Message independent structures and definitions
7 * Creation Date: July 27, 2000 7 * Creation Date: July 27, 2000
8 * 8 *
9 * mpi.h Version: 01.05.12 9 * mpi.h Version: 01.05.13
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -78,6 +78,7 @@
78 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target. 78 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target.
79 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT. 79 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT.
80 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT. 80 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT.
81 * 05-24-07 01.05.13 Bumped MPI_HEADER_VERSION_UNIT.
81 * -------------------------------------------------------------------------- 82 * --------------------------------------------------------------------------
82 */ 83 */
83 84
@@ -108,7 +109,7 @@
108/* Note: The major versions of 0xe0 through 0xff are reserved */ 109/* Note: The major versions of 0xe0 through 0xff are reserved */
109 110
110/* versioning for this MPI header set */ 111/* versioning for this MPI header set */
111#define MPI_HEADER_VERSION_UNIT (0x0E) 112#define MPI_HEADER_VERSION_UNIT (0x10)
112#define MPI_HEADER_VERSION_DEV (0x00) 113#define MPI_HEADER_VERSION_DEV (0x00)
113#define MPI_HEADER_VERSION_UNIT_MASK (0xFF00) 114#define MPI_HEADER_VERSION_UNIT_MASK (0xFF00)
114#define MPI_HEADER_VERSION_UNIT_SHIFT (8) 115#define MPI_HEADER_VERSION_UNIT_SHIFT (8)
diff --git a/drivers/message/fusion/lsi/mpi_cnfg.h b/drivers/message/fusion/lsi/mpi_cnfg.h
index 0e4c8e77a81d..eda769730e39 100644
--- a/drivers/message/fusion/lsi/mpi_cnfg.h
+++ b/drivers/message/fusion/lsi/mpi_cnfg.h
@@ -1,12 +1,12 @@
1/* 1/*
2 * Copyright (c) 2000-2006 LSI Logic Corporation. 2 * Copyright (c) 2000-2007 LSI Logic Corporation.
3 * 3 *
4 * 4 *
5 * Name: mpi_cnfg.h 5 * Name: mpi_cnfg.h
6 * Title: MPI Config message, structures, and Pages 6 * Title: MPI Config message, structures, and Pages
7 * Creation Date: July 27, 2000 7 * Creation Date: July 27, 2000
8 * 8 *
9 * mpi_cnfg.h Version: 01.05.13 9 * mpi_cnfg.h Version: 01.05.15
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -293,6 +293,21 @@
293 * Added more AccessStatus values for SAS Device Page 0. 293 * Added more AccessStatus values for SAS Device Page 0.
294 * Added bit for SATA Asynchronous Notification Support in 294 * Added bit for SATA Asynchronous Notification Support in
295 * Flags field of SAS Device Page 0. 295 * Flags field of SAS Device Page 0.
296 * 02-28-07 01.05.14 Added ExtFlags field to Manufacturing Page 4.
297 * Added Disable SMART Polling for CapabilitiesFlags of
298 * IOC Page 6.
299 * Added Disable SMART Polling to DeviceSettings of BIOS
300 * Page 1.
301 * Added Multi-Port Domain bit for DiscoveryStatus field
302 * of SAS IO Unit Page.
303 * Added Multi-Port Domain Illegal flag for SAS IO Unit
304 * Page 1 AdditionalControlFlags field.
305 * 05-24-07 01.05.15 Added Hide Physical Disks with Non-Integrated RAID
306 * Metadata bit to Manufacturing Page 4 ExtFlags field.
307 * Added Internal Connector to End Device Present bit to
308 * Expander Page 0 Flags field.
309 * Fixed define for
310 * MPI_SAS_EXPANDER1_DISCINFO_BAD_PHY_DISABLED.
296 * -------------------------------------------------------------------------- 311 * --------------------------------------------------------------------------
297 */ 312 */
298 313
@@ -639,7 +654,7 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_4
639 U8 InfoSize1; /* 0Bh */ 654 U8 InfoSize1; /* 0Bh */
640 U8 InquirySize; /* 0Ch */ 655 U8 InquirySize; /* 0Ch */
641 U8 Flags; /* 0Dh */ 656 U8 Flags; /* 0Dh */
642 U16 Reserved2; /* 0Eh */ 657 U16 ExtFlags; /* 0Eh */
643 U8 InquiryData[56]; /* 10h */ 658 U8 InquiryData[56]; /* 10h */
644 U32 ISVolumeSettings; /* 48h */ 659 U32 ISVolumeSettings; /* 48h */
645 U32 IMEVolumeSettings; /* 4Ch */ 660 U32 IMEVolumeSettings; /* 4Ch */
@@ -658,7 +673,7 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_4
658} CONFIG_PAGE_MANUFACTURING_4, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_4, 673} CONFIG_PAGE_MANUFACTURING_4, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_4,
659 ManufacturingPage4_t, MPI_POINTER pManufacturingPage4_t; 674 ManufacturingPage4_t, MPI_POINTER pManufacturingPage4_t;
660 675
661#define MPI_MANUFACTURING4_PAGEVERSION (0x04) 676#define MPI_MANUFACTURING4_PAGEVERSION (0x05)
662 677
663/* defines for the Flags field */ 678/* defines for the Flags field */
664#define MPI_MANPAGE4_FORCE_BAD_BLOCK_TABLE (0x80) 679#define MPI_MANPAGE4_FORCE_BAD_BLOCK_TABLE (0x80)
@@ -670,6 +685,12 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_4
670#define MPI_MANPAGE4_IM_RESYNC_CACHE_ENABLE (0x02) 685#define MPI_MANPAGE4_IM_RESYNC_CACHE_ENABLE (0x02)
671#define MPI_MANPAGE4_IR_NO_MIX_SAS_SATA (0x01) 686#define MPI_MANPAGE4_IR_NO_MIX_SAS_SATA (0x01)
672 687
688/* defines for the ExtFlags field */
689#define MPI_MANPAGE4_EXTFLAGS_HIDE_NON_IR_METADATA (0x0008)
690#define MPI_MANPAGE4_EXTFLAGS_SAS_CACHE_DISABLE (0x0004)
691#define MPI_MANPAGE4_EXTFLAGS_SATA_CACHE_DISABLE (0x0002)
692#define MPI_MANPAGE4_EXTFLAGS_LEGACY_MODE (0x0001)
693
673 694
674#ifndef MPI_MANPAGE5_NUM_FORCEWWID 695#ifndef MPI_MANPAGE5_NUM_FORCEWWID
675#define MPI_MANPAGE5_NUM_FORCEWWID (1) 696#define MPI_MANPAGE5_NUM_FORCEWWID (1)
@@ -781,7 +802,7 @@ typedef struct _CONFIG_PAGE_MANUFACTURING_9
781} CONFIG_PAGE_MANUFACTURING_9, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_9, 802} CONFIG_PAGE_MANUFACTURING_9, MPI_POINTER PTR_CONFIG_PAGE_MANUFACTURING_9,
782 ManufacturingPage9_t, MPI_POINTER pManufacturingPage9_t; 803 ManufacturingPage9_t, MPI_POINTER pManufacturingPage9_t;
783 804
784#define MPI_MANUFACTURING6_PAGEVERSION (0x00) 805#define MPI_MANUFACTURING9_PAGEVERSION (0x00)
785 806
786 807
787typedef struct _CONFIG_PAGE_MANUFACTURING_10 808typedef struct _CONFIG_PAGE_MANUFACTURING_10
@@ -1138,6 +1159,8 @@ typedef struct _CONFIG_PAGE_IOC_6
1138 1159
1139/* IOC Page 6 Capabilities Flags */ 1160/* IOC Page 6 Capabilities Flags */
1140 1161
1162#define MPI_IOCPAGE6_CAP_FLAGS_DISABLE_SMART_POLLING (0x00000008)
1163
1141#define MPI_IOCPAGE6_CAP_FLAGS_MASK_METADATA_SIZE (0x00000006) 1164#define MPI_IOCPAGE6_CAP_FLAGS_MASK_METADATA_SIZE (0x00000006)
1142#define MPI_IOCPAGE6_CAP_FLAGS_64MB_METADATA_SIZE (0x00000000) 1165#define MPI_IOCPAGE6_CAP_FLAGS_64MB_METADATA_SIZE (0x00000000)
1143#define MPI_IOCPAGE6_CAP_FLAGS_512MB_METADATA_SIZE (0x00000002) 1166#define MPI_IOCPAGE6_CAP_FLAGS_512MB_METADATA_SIZE (0x00000002)
@@ -1208,6 +1231,7 @@ typedef struct _CONFIG_PAGE_BIOS_1
1208#define MPI_BIOSPAGE1_IOCSET_ALTERNATE_CHS (0x00000008) 1231#define MPI_BIOSPAGE1_IOCSET_ALTERNATE_CHS (0x00000008)
1209 1232
1210/* values for the DeviceSettings field */ 1233/* values for the DeviceSettings field */
1234#define MPI_BIOSPAGE1_DEVSET_DISABLE_SMART_POLLING (0x00000010)
1211#define MPI_BIOSPAGE1_DEVSET_DISABLE_SEQ_LUN (0x00000008) 1235#define MPI_BIOSPAGE1_DEVSET_DISABLE_SEQ_LUN (0x00000008)
1212#define MPI_BIOSPAGE1_DEVSET_DISABLE_RM_LUN (0x00000004) 1236#define MPI_BIOSPAGE1_DEVSET_DISABLE_RM_LUN (0x00000004)
1213#define MPI_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002) 1237#define MPI_BIOSPAGE1_DEVSET_DISABLE_NON_RM_LUN (0x00000002)
@@ -2281,11 +2305,11 @@ typedef struct _CONFIG_PAGE_RAID_VOL_0
2281typedef struct _CONFIG_PAGE_RAID_VOL_1 2305typedef struct _CONFIG_PAGE_RAID_VOL_1
2282{ 2306{
2283 CONFIG_PAGE_HEADER Header; /* 00h */ 2307 CONFIG_PAGE_HEADER Header; /* 00h */
2284 U8 VolumeID; /* 01h */ 2308 U8 VolumeID; /* 04h */
2285 U8 VolumeBus; /* 02h */ 2309 U8 VolumeBus; /* 05h */
2286 U8 VolumeIOC; /* 03h */ 2310 U8 VolumeIOC; /* 06h */
2287 U8 Reserved0; /* 04h */ 2311 U8 Reserved0; /* 07h */
2288 U8 GUID[24]; /* 05h */ 2312 U8 GUID[24]; /* 08h */
2289 U8 Name[32]; /* 20h */ 2313 U8 Name[32]; /* 20h */
2290 U64 WWID; /* 40h */ 2314 U64 WWID; /* 40h */
2291 U32 Reserved1; /* 48h */ 2315 U32 Reserved1; /* 48h */
@@ -2340,7 +2364,7 @@ typedef struct _RAID_PHYS_DISK0_STATUS
2340} RAID_PHYS_DISK0_STATUS, MPI_POINTER PTR_RAID_PHYS_DISK0_STATUS, 2364} RAID_PHYS_DISK0_STATUS, MPI_POINTER PTR_RAID_PHYS_DISK0_STATUS,
2341 RaidPhysDiskStatus_t, MPI_POINTER pRaidPhysDiskStatus_t; 2365 RaidPhysDiskStatus_t, MPI_POINTER pRaidPhysDiskStatus_t;
2342 2366
2343/* RAID Volume 2 IM Physical Disk DiskStatus flags */ 2367/* RAID Physical Disk PhysDiskStatus flags */
2344 2368
2345#define MPI_PHYSDISK0_STATUS_FLAG_OUT_OF_SYNC (0x01) 2369#define MPI_PHYSDISK0_STATUS_FLAG_OUT_OF_SYNC (0x01)
2346#define MPI_PHYSDISK0_STATUS_FLAG_QUIESCED (0x02) 2370#define MPI_PHYSDISK0_STATUS_FLAG_QUIESCED (0x02)
@@ -2544,6 +2568,7 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_0
2544#define MPI_SAS_IOUNIT0_DS_TABLE_LINK (0x00000400) 2568#define MPI_SAS_IOUNIT0_DS_TABLE_LINK (0x00000400)
2545#define MPI_SAS_IOUNIT0_DS_UNSUPPORTED_DEVICE (0x00000800) 2569#define MPI_SAS_IOUNIT0_DS_UNSUPPORTED_DEVICE (0x00000800)
2546#define MPI_SAS_IOUNIT0_DS_MAX_SATA_TARGETS (0x00001000) 2570#define MPI_SAS_IOUNIT0_DS_MAX_SATA_TARGETS (0x00001000)
2571#define MPI_SAS_IOUNIT0_DS_MULTI_PORT_DOMAIN (0x00002000)
2547 2572
2548 2573
2549typedef struct _MPI_SAS_IO_UNIT1_PHY_DATA 2574typedef struct _MPI_SAS_IO_UNIT1_PHY_DATA
@@ -2607,6 +2632,7 @@ typedef struct _CONFIG_PAGE_SAS_IO_UNIT_1
2607#define MPI_SAS_IOUNIT1_CONTROL_CLEAR_AFFILIATION (0x0001) 2632#define MPI_SAS_IOUNIT1_CONTROL_CLEAR_AFFILIATION (0x0001)
2608 2633
2609/* values for SAS IO Unit Page 1 AdditionalControlFlags */ 2634/* values for SAS IO Unit Page 1 AdditionalControlFlags */
2635#define MPI_SAS_IOUNIT1_ACONTROL_MULTI_PORT_DOMAIN_ILLEGAL (0x0080)
2610#define MPI_SAS_IOUNIT1_ACONTROL_SATA_ASYNCHROUNOUS_NOTIFICATION (0x0040) 2636#define MPI_SAS_IOUNIT1_ACONTROL_SATA_ASYNCHROUNOUS_NOTIFICATION (0x0040)
2611#define MPI_SAS_IOUNIT1_ACONTROL_HIDE_NONZERO_ATTACHED_PHY_IDENT (0x0020) 2637#define MPI_SAS_IOUNIT1_ACONTROL_HIDE_NONZERO_ATTACHED_PHY_IDENT (0x0020)
2612#define MPI_SAS_IOUNIT1_ACONTROL_PORT_ENABLE_ONLY_SATA_LINK_RESET (0x0010) 2638#define MPI_SAS_IOUNIT1_ACONTROL_PORT_ENABLE_ONLY_SATA_LINK_RESET (0x0010)
@@ -2734,6 +2760,7 @@ typedef struct _CONFIG_PAGE_SAS_EXPANDER_0
2734#define MPI_SAS_EXPANDER0_DS_UNSUPPORTED_DEVICE (0x00000800) 2760#define MPI_SAS_EXPANDER0_DS_UNSUPPORTED_DEVICE (0x00000800)
2735 2761
2736/* values for SAS Expander Page 0 Flags field */ 2762/* values for SAS Expander Page 0 Flags field */
2763#define MPI_SAS_EXPANDER0_FLAGS_CONNECTOR_END_DEVICE (0x04)
2737#define MPI_SAS_EXPANDER0_FLAGS_ROUTE_TABLE_CONFIG (0x02) 2764#define MPI_SAS_EXPANDER0_FLAGS_ROUTE_TABLE_CONFIG (0x02)
2738#define MPI_SAS_EXPANDER0_FLAGS_CONFIG_IN_PROGRESS (0x01) 2765#define MPI_SAS_EXPANDER0_FLAGS_CONFIG_IN_PROGRESS (0x01)
2739 2766
@@ -2774,7 +2801,7 @@ typedef struct _CONFIG_PAGE_SAS_EXPANDER_1
2774/* see mpi_sas.h for values for SAS Expander Page 1 AttachedDeviceInfo values */ 2801/* see mpi_sas.h for values for SAS Expander Page 1 AttachedDeviceInfo values */
2775 2802
2776/* values for SAS Expander Page 1 DiscoveryInfo field */ 2803/* values for SAS Expander Page 1 DiscoveryInfo field */
2777#define MPI_SAS_EXPANDER1_DISCINFO_BAD_PHY DISABLED (0x04) 2804#define MPI_SAS_EXPANDER1_DISCINFO_BAD_PHY_DISABLED (0x04)
2778#define MPI_SAS_EXPANDER1_DISCINFO_LINK_STATUS_CHANGE (0x02) 2805#define MPI_SAS_EXPANDER1_DISCINFO_LINK_STATUS_CHANGE (0x02)
2779#define MPI_SAS_EXPANDER1_DISCINFO_NO_ROUTING_ENTRIES (0x01) 2806#define MPI_SAS_EXPANDER1_DISCINFO_NO_ROUTING_ENTRIES (0x01)
2780 2807
@@ -2895,11 +2922,11 @@ typedef struct _CONFIG_PAGE_SAS_PHY_0
2895 U8 AttachedPhyIdentifier; /* 16h */ 2922 U8 AttachedPhyIdentifier; /* 16h */
2896 U8 Reserved2; /* 17h */ 2923 U8 Reserved2; /* 17h */
2897 U32 AttachedDeviceInfo; /* 18h */ 2924 U32 AttachedDeviceInfo; /* 18h */
2898 U8 ProgrammedLinkRate; /* 20h */ 2925 U8 ProgrammedLinkRate; /* 1Ch */
2899 U8 HwLinkRate; /* 21h */ 2926 U8 HwLinkRate; /* 1Dh */
2900 U8 ChangeCount; /* 22h */ 2927 U8 ChangeCount; /* 1Eh */
2901 U8 Flags; /* 23h */ 2928 U8 Flags; /* 1Fh */
2902 U32 PhyInfo; /* 24h */ 2929 U32 PhyInfo; /* 20h */
2903} CONFIG_PAGE_SAS_PHY_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_0, 2930} CONFIG_PAGE_SAS_PHY_0, MPI_POINTER PTR_CONFIG_PAGE_SAS_PHY_0,
2904 SasPhyPage0_t, MPI_POINTER pSasPhyPage0_t; 2931 SasPhyPage0_t, MPI_POINTER pSasPhyPage0_t;
2905 2932
diff --git a/drivers/message/fusion/lsi/mpi_history.txt b/drivers/message/fusion/lsi/mpi_history.txt
index ddc7ae029dd3..a1f479057ea3 100644
--- a/drivers/message/fusion/lsi/mpi_history.txt
+++ b/drivers/message/fusion/lsi/mpi_history.txt
@@ -3,28 +3,28 @@
3 MPI Header File Change History 3 MPI Header File Change History
4 ============================== 4 ==============================
5 5
6 Copyright (c) 2000-2006 LSI Logic Corporation. 6 Copyright (c) 2000-2007 LSI Logic Corporation.
7 7
8 --------------------------------------- 8 ---------------------------------------
9 Header Set Release Version: 01.05.14 9 Header Set Release Version: 01.05.16
10 Header Set Release Date: 10-11-06 10 Header Set Release Date: 05-24-07
11 --------------------------------------- 11 ---------------------------------------
12 12
13 Filename Current version Prior version 13 Filename Current version Prior version
14 ---------- --------------- ------------- 14 ---------- --------------- -------------
15 mpi.h 01.05.12 01.05.11 15 mpi.h 01.05.13 01.05.12
16 mpi_ioc.h 01.05.12 01.05.11 16 mpi_ioc.h 01.05.14 01.05.13
17 mpi_cnfg.h 01.05.13 01.05.12 17 mpi_cnfg.h 01.05.15 01.05.14
18 mpi_init.h 01.05.08 01.05.07 18 mpi_init.h 01.05.09 01.05.09
19 mpi_targ.h 01.05.06 01.05.06 19 mpi_targ.h 01.05.06 01.05.06
20 mpi_fc.h 01.05.01 01.05.01 20 mpi_fc.h 01.05.01 01.05.01
21 mpi_lan.h 01.05.01 01.05.01 21 mpi_lan.h 01.05.01 01.05.01
22 mpi_raid.h 01.05.02 01.05.02 22 mpi_raid.h 01.05.03 01.05.03
23 mpi_tool.h 01.05.03 01.05.03 23 mpi_tool.h 01.05.03 01.05.03
24 mpi_inb.h 01.05.01 01.05.01 24 mpi_inb.h 01.05.01 01.05.01
25 mpi_sas.h 01.05.04 01.05.03 25 mpi_sas.h 01.05.04 01.05.04
26 mpi_type.h 01.05.02 01.05.02 26 mpi_type.h 01.05.02 01.05.02
27 mpi_history.txt 01.05.14 01.05.13 27 mpi_history.txt 01.05.14 01.05.14
28 28
29 29
30 * Date Version Description 30 * Date Version Description
@@ -95,6 +95,7 @@ mpi.h
95 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target. 95 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target.
96 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT. 96 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT.
97 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT. 97 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT.
98 * 05-24-07 01.05.13 Bumped MPI_HEADER_VERSION_UNIT.
98 * -------------------------------------------------------------------------- 99 * --------------------------------------------------------------------------
99 100
100mpi_ioc.h 101mpi_ioc.h
@@ -191,6 +192,13 @@ mpi_ioc.h
191 * data structure. 192 * data structure.
192 * Added new ImageType values for FWDownload and FWUpload 193 * Added new ImageType values for FWDownload and FWUpload
193 * requests. 194 * requests.
195 * 02-28-07 01.05.13 Added MPI_EVENT_PRIMITIVE_ASYNCHRONOUS_EVENT for SAS
196 * Broadcast Event Data (replacing _RESERVED2).
197 * For Discovery Error Event Data DiscoveryStatus field,
198 * replaced _MULTPL_PATHS with _UNSUPPORTED_DEVICE and
199 * added _MULTI_PORT_DOMAIN.
200 * 05-24-07 01.05.14 Added Common Boot Block type to FWDownload Request.
201 * Added Common Boot Block type to FWUpload Request.
194 * -------------------------------------------------------------------------- 202 * --------------------------------------------------------------------------
195 203
196mpi_cnfg.h 204mpi_cnfg.h
@@ -473,6 +481,21 @@ mpi_cnfg.h
473 * Added more AccessStatus values for SAS Device Page 0. 481 * Added more AccessStatus values for SAS Device Page 0.
474 * Added bit for SATA Asynchronous Notification Support in 482 * Added bit for SATA Asynchronous Notification Support in
475 * Flags field of SAS Device Page 0. 483 * Flags field of SAS Device Page 0.
484 * 02-28-07 01.05.14 Added ExtFlags field to Manufacturing Page 4.
485 * Added Disable SMART Polling for CapabilitiesFlags of
486 * IOC Page 6.
487 * Added Disable SMART Polling to DeviceSettings of BIOS
488 * Page 1.
489 * Added Multi-Port Domain bit for DiscoveryStatus field
490 * of SAS IO Unit Page.
491 * Added Multi-Port Domain Illegal flag for SAS IO Unit
492 * Page 1 AdditionalControlFlags field.
493 * 05-24-07 01.05.15 Added Hide Physical Disks with Non-Integrated RAID
494 * Metadata bit to Manufacturing Page 4 ExtFlags field.
495 * Added Internal Connector to End Device Present bit to
496 * Expander Page 0 Flags field.
497 * Fixed define for
498 * MPI_SAS_EXPANDER1_DISCINFO_BAD_PHY_DISABLED.
476 * -------------------------------------------------------------------------- 499 * --------------------------------------------------------------------------
477 500
478mpi_init.h 501mpi_init.h
@@ -517,6 +540,8 @@ mpi_init.h
517 * unique in the first 32 characters. 540 * unique in the first 32 characters.
518 * 03-27-06 01.05.07 Added Task Management type of Clear ACA. 541 * 03-27-06 01.05.07 Added Task Management type of Clear ACA.
519 * 10-11-06 01.05.08 Shortened define for Task Management type of Clear ACA. 542 * 10-11-06 01.05.08 Shortened define for Task Management type of Clear ACA.
543 * 02-28-07 01.05.09 Defined two new MsgFlags bits for SCSI Task Management
544 * Request: Do Not Send Task IU and Soft Reset Option.
520 * -------------------------------------------------------------------------- 545 * --------------------------------------------------------------------------
521 546
522mpi_targ.h 547mpi_targ.h
@@ -571,7 +596,7 @@ mpi_fc.h
571 * 11-02-00 01.01.01 Original release for post 1.0 work 596 * 11-02-00 01.01.01 Original release for post 1.0 work
572 * 12-04-00 01.01.02 Added messages for Common Transport Send and 597 * 12-04-00 01.01.02 Added messages for Common Transport Send and
573 * Primitive Send. 598 * Primitive Send.
574 * 01-09-01 01.01.03 Modified some of the new flags to have an MPI prefix 599 * 01-09-01 01.01.03 Modifed some of the new flags to have an MPI prefix
575 * and modified the FcPrimitiveSend flags. 600 * and modified the FcPrimitiveSend flags.
576 * 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger 601 * 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger
577 * field. 602 * field.
@@ -634,6 +659,8 @@ mpi_raid.h
634 * 08-19-04 01.05.01 Original release for MPI v1.5. 659 * 08-19-04 01.05.01 Original release for MPI v1.5.
635 * 01-15-05 01.05.02 Added defines for the two new RAID Actions for 660 * 01-15-05 01.05.02 Added defines for the two new RAID Actions for
636 * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE. 661 * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE.
662 * 02-28-07 01.05.03 Added new RAID Action, Device FW Update Mode, and
663 * associated defines.
637 * -------------------------------------------------------------------------- 664 * --------------------------------------------------------------------------
638 665
639mpi_tool.h 666mpi_tool.h
@@ -682,7 +709,22 @@ mpi_type.h
682 709
683mpi_history.txt Parts list history 710mpi_history.txt Parts list history
684 711
685Filename 01.05.13 01.05.13 01.05.12 01.05.11 01.05.10 01.05.09 712Filename 01.05.15 01.05.15
713---------- -------- --------
714mpi.h 01.05.12 01.05.13
715mpi_ioc.h 01.05.13 01.05.14
716mpi_cnfg.h 01.05.14 01.05.15
717mpi_init.h 01.05.09 01.05.09
718mpi_targ.h 01.05.06 01.05.06
719mpi_fc.h 01.05.01 01.05.01
720mpi_lan.h 01.05.01 01.05.01
721mpi_raid.h 01.05.03 01.05.03
722mpi_tool.h 01.05.03 01.05.03
723mpi_inb.h 01.05.01 01.05.01
724mpi_sas.h 01.05.04 01.05.04
725mpi_type.h 01.05.02 01.05.02
726
727Filename 01.05.14 01.05.13 01.05.12 01.05.11 01.05.10 01.05.09
686---------- -------- -------- -------- -------- -------- -------- 728---------- -------- -------- -------- -------- -------- --------
687mpi.h 01.05.12 01.05.11 01.05.10 01.05.09 01.05.08 01.05.07 729mpi.h 01.05.12 01.05.11 01.05.10 01.05.09 01.05.08 01.05.07
688mpi_ioc.h 01.05.12 01.05.11 01.05.10 01.05.09 01.05.09 01.05.08 730mpi_ioc.h 01.05.12 01.05.11 01.05.10 01.05.09 01.05.09 01.05.08
diff --git a/drivers/message/fusion/lsi/mpi_init.h b/drivers/message/fusion/lsi/mpi_init.h
index ec9dff2249a7..3a02615f12d6 100644
--- a/drivers/message/fusion/lsi/mpi_init.h
+++ b/drivers/message/fusion/lsi/mpi_init.h
@@ -1,12 +1,12 @@
1/* 1/*
2 * Copyright (c) 2000-2006 LSI Logic Corporation. 2 * Copyright (c) 2000-2007 LSI Logic Corporation.
3 * 3 *
4 * 4 *
5 * Name: mpi_init.h 5 * Name: mpi_init.h
6 * Title: MPI initiator mode messages and structures 6 * Title: MPI initiator mode messages and structures
7 * Creation Date: June 8, 2000 7 * Creation Date: June 8, 2000
8 * 8 *
9 * mpi_init.h Version: 01.05.08 9 * mpi_init.h Version: 01.05.09
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -54,6 +54,8 @@
54 * unique in the first 32 characters. 54 * unique in the first 32 characters.
55 * 03-27-06 01.05.07 Added Task Management type of Clear ACA. 55 * 03-27-06 01.05.07 Added Task Management type of Clear ACA.
56 * 10-11-06 01.05.08 Shortened define for Task Management type of Clear ACA. 56 * 10-11-06 01.05.08 Shortened define for Task Management type of Clear ACA.
57 * 02-28-07 01.05.09 Defined two new MsgFlags bits for SCSI Task Management
58 * Request: Do Not Send Task IU and Soft Reset Option.
57 * -------------------------------------------------------------------------- 59 * --------------------------------------------------------------------------
58 */ 60 */
59 61
@@ -432,10 +434,14 @@ typedef struct _MSG_SCSI_TASK_MGMT
432#define MPI_SCSITASKMGMT_TASKTYPE_CLR_ACA (0x08) 434#define MPI_SCSITASKMGMT_TASKTYPE_CLR_ACA (0x08)
433 435
434/* MsgFlags bits */ 436/* MsgFlags bits */
437#define MPI_SCSITASKMGMT_MSGFLAGS_DO_NOT_SEND_TASK_IU (0x01)
438
435#define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00) 439#define MPI_SCSITASKMGMT_MSGFLAGS_TARGET_RESET_OPTION (0x00)
436#define MPI_SCSITASKMGMT_MSGFLAGS_LIP_RESET_OPTION (0x02) 440#define MPI_SCSITASKMGMT_MSGFLAGS_LIP_RESET_OPTION (0x02)
437#define MPI_SCSITASKMGMT_MSGFLAGS_LIPRESET_RESET_OPTION (0x04) 441#define MPI_SCSITASKMGMT_MSGFLAGS_LIPRESET_RESET_OPTION (0x04)
438 442
443#define MPI_SCSITASKMGMT_MSGFLAGS_SOFT_RESET_OPTION (0x08)
444
439/* SCSI Task Management Reply */ 445/* SCSI Task Management Reply */
440typedef struct _MSG_SCSI_TASK_MGMT_REPLY 446typedef struct _MSG_SCSI_TASK_MGMT_REPLY
441{ 447{
diff --git a/drivers/message/fusion/lsi/mpi_ioc.h b/drivers/message/fusion/lsi/mpi_ioc.h
index 6c33e3353375..b1893d185bc4 100644
--- a/drivers/message/fusion/lsi/mpi_ioc.h
+++ b/drivers/message/fusion/lsi/mpi_ioc.h
@@ -1,12 +1,12 @@
1/* 1/*
2 * Copyright (c) 2000-2006 LSI Logic Corporation. 2 * Copyright (c) 2000-2007 LSI Logic Corporation.
3 * 3 *
4 * 4 *
5 * Name: mpi_ioc.h 5 * Name: mpi_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: August 11, 2000 7 * Creation Date: August 11, 2000
8 * 8 *
9 * mpi_ioc.h Version: 01.05.12 9 * mpi_ioc.h Version: 01.05.14
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -106,6 +106,13 @@
106 * data structure. 106 * data structure.
107 * Added new ImageType values for FWDownload and FWUpload 107 * Added new ImageType values for FWDownload and FWUpload
108 * requests. 108 * requests.
109 * 02-28-07 01.05.13 Added MPI_EVENT_PRIMITIVE_ASYNCHRONOUS_EVENT for SAS
110 * Broadcast Event Data (replacing _RESERVED2).
111 * For Discovery Error Event Data DiscoveryStatus field,
112 * replaced _MULTPL_PATHS with _UNSUPPORTED_DEVICE and
113 * added _MULTI_PORT_DOMAIN.
114 * 05-24-07 01.05.14 Added Common Boot Block type to FWDownload Request.
115 * Added Common Boot Block type to FWUpload Request.
109 * -------------------------------------------------------------------------- 116 * --------------------------------------------------------------------------
110 */ 117 */
111 118
@@ -792,7 +799,7 @@ typedef struct _EVENT_DATA_SAS_BROADCAST_PRIMITIVE
792 799
793#define MPI_EVENT_PRIMITIVE_CHANGE (0x01) 800#define MPI_EVENT_PRIMITIVE_CHANGE (0x01)
794#define MPI_EVENT_PRIMITIVE_EXPANDER (0x03) 801#define MPI_EVENT_PRIMITIVE_EXPANDER (0x03)
795#define MPI_EVENT_PRIMITIVE_RESERVED2 (0x04) 802#define MPI_EVENT_PRIMITIVE_ASYNCHRONOUS_EVENT (0x04)
796#define MPI_EVENT_PRIMITIVE_RESERVED3 (0x05) 803#define MPI_EVENT_PRIMITIVE_RESERVED3 (0x05)
797#define MPI_EVENT_PRIMITIVE_RESERVED4 (0x06) 804#define MPI_EVENT_PRIMITIVE_RESERVED4 (0x06)
798#define MPI_EVENT_PRIMITIVE_CHANGE0_RESERVED (0x07) 805#define MPI_EVENT_PRIMITIVE_CHANGE0_RESERVED (0x07)
@@ -857,8 +864,9 @@ typedef struct _EVENT_DATA_DISCOVERY_ERROR
857#define MPI_EVENT_DSCVRY_ERR_DS_SMP_CRC_ERROR (0x00000100) 864#define MPI_EVENT_DSCVRY_ERR_DS_SMP_CRC_ERROR (0x00000100)
858#define MPI_EVENT_DSCVRY_ERR_DS_MULTPL_SUBTRACTIVE (0x00000200) 865#define MPI_EVENT_DSCVRY_ERR_DS_MULTPL_SUBTRACTIVE (0x00000200)
859#define MPI_EVENT_DSCVRY_ERR_DS_TABLE_TO_TABLE (0x00000400) 866#define MPI_EVENT_DSCVRY_ERR_DS_TABLE_TO_TABLE (0x00000400)
860#define MPI_EVENT_DSCVRY_ERR_DS_MULTPL_PATHS (0x00000800) 867#define MPI_EVENT_DSCVRY_ERR_DS_UNSUPPORTED_DEVICE (0x00000800)
861#define MPI_EVENT_DSCVRY_ERR_DS_MAX_SATA_TARGETS (0x00001000) 868#define MPI_EVENT_DSCVRY_ERR_DS_MAX_SATA_TARGETS (0x00001000)
869#define MPI_EVENT_DSCVRY_ERR_DS_MULTI_PORT_DOMAIN (0x00002000)
862 870
863/* SAS SMP Error Event data */ 871/* SAS SMP Error Event data */
864 872
@@ -990,6 +998,7 @@ typedef struct _MSG_FW_DOWNLOAD
990#define MPI_FW_DOWNLOAD_ITYPE_CONFIG_1 (0x07) 998#define MPI_FW_DOWNLOAD_ITYPE_CONFIG_1 (0x07)
991#define MPI_FW_DOWNLOAD_ITYPE_CONFIG_2 (0x08) 999#define MPI_FW_DOWNLOAD_ITYPE_CONFIG_2 (0x08)
992#define MPI_FW_DOWNLOAD_ITYPE_MEGARAID (0x09) 1000#define MPI_FW_DOWNLOAD_ITYPE_MEGARAID (0x09)
1001#define MPI_FW_DOWNLOAD_ITYPE_COMMON_BOOT_BLOCK (0x0B)
993 1002
994 1003
995typedef struct _FWDownloadTCSGE 1004typedef struct _FWDownloadTCSGE
@@ -1038,17 +1047,18 @@ typedef struct _MSG_FW_UPLOAD
1038} MSG_FW_UPLOAD, MPI_POINTER PTR_MSG_FW_UPLOAD, 1047} MSG_FW_UPLOAD, MPI_POINTER PTR_MSG_FW_UPLOAD,
1039 FWUpload_t, MPI_POINTER pFWUpload_t; 1048 FWUpload_t, MPI_POINTER pFWUpload_t;
1040 1049
1041#define MPI_FW_UPLOAD_ITYPE_FW_IOC_MEM (0x00) 1050#define MPI_FW_UPLOAD_ITYPE_FW_IOC_MEM (0x00)
1042#define MPI_FW_UPLOAD_ITYPE_FW_FLASH (0x01) 1051#define MPI_FW_UPLOAD_ITYPE_FW_FLASH (0x01)
1043#define MPI_FW_UPLOAD_ITYPE_BIOS_FLASH (0x02) 1052#define MPI_FW_UPLOAD_ITYPE_BIOS_FLASH (0x02)
1044#define MPI_FW_UPLOAD_ITYPE_NVDATA (0x03) 1053#define MPI_FW_UPLOAD_ITYPE_NVDATA (0x03)
1045#define MPI_FW_UPLOAD_ITYPE_BOOTLOADER (0x04) 1054#define MPI_FW_UPLOAD_ITYPE_BOOTLOADER (0x04)
1046#define MPI_FW_UPLOAD_ITYPE_FW_BACKUP (0x05) 1055#define MPI_FW_UPLOAD_ITYPE_FW_BACKUP (0x05)
1047#define MPI_FW_UPLOAD_ITYPE_MANUFACTURING (0x06) 1056#define MPI_FW_UPLOAD_ITYPE_MANUFACTURING (0x06)
1048#define MPI_FW_UPLOAD_ITYPE_CONFIG_1 (0x07) 1057#define MPI_FW_UPLOAD_ITYPE_CONFIG_1 (0x07)
1049#define MPI_FW_UPLOAD_ITYPE_CONFIG_2 (0x08) 1058#define MPI_FW_UPLOAD_ITYPE_CONFIG_2 (0x08)
1050#define MPI_FW_UPLOAD_ITYPE_MEGARAID (0x09) 1059#define MPI_FW_UPLOAD_ITYPE_MEGARAID (0x09)
1051#define MPI_FW_UPLOAD_ITYPE_COMPLETE (0x0A) 1060#define MPI_FW_UPLOAD_ITYPE_COMPLETE (0x0A)
1061#define MPI_FW_UPLOAD_ITYPE_COMMON_BOOT_BLOCK (0x0B)
1052 1062
1053typedef struct _FWUploadTCSGE 1063typedef struct _FWUploadTCSGE
1054{ 1064{
diff --git a/drivers/message/fusion/lsi/mpi_raid.h b/drivers/message/fusion/lsi/mpi_raid.h
index 802255d2747c..32819b1ec8ec 100644
--- a/drivers/message/fusion/lsi/mpi_raid.h
+++ b/drivers/message/fusion/lsi/mpi_raid.h
@@ -1,12 +1,12 @@
1/* 1/*
2 * Copyright (c) 2001-2005 LSI Logic Corporation. 2 * Copyright (c) 2001-2007 LSI Logic Corporation.
3 * 3 *
4 * 4 *
5 * Name: mpi_raid.h 5 * Name: mpi_raid.h
6 * Title: MPI RAID message and structures 6 * Title: MPI RAID message and structures
7 * Creation Date: February 27, 2001 7 * Creation Date: February 27, 2001
8 * 8 *
9 * mpi_raid.h Version: 01.05.02 9 * mpi_raid.h Version: 01.05.03
10 * 10 *
11 * Version History 11 * Version History
12 * --------------- 12 * ---------------
@@ -32,6 +32,8 @@
32 * 08-19-04 01.05.01 Original release for MPI v1.5. 32 * 08-19-04 01.05.01 Original release for MPI v1.5.
33 * 01-15-05 01.05.02 Added defines for the two new RAID Actions for 33 * 01-15-05 01.05.02 Added defines for the two new RAID Actions for
34 * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE. 34 * _SET_RESYNC_RATE and _SET_DATA_SCRUB_RATE.
35 * 02-28-07 01.05.03 Added new RAID Action, Device FW Update Mode, and
36 * associated defines.
35 * -------------------------------------------------------------------------- 37 * --------------------------------------------------------------------------
36 */ 38 */
37 39
@@ -90,6 +92,7 @@ typedef struct _MSG_RAID_ACTION
90#define MPI_RAID_ACTION_INACTIVATE_VOLUME (0x12) 92#define MPI_RAID_ACTION_INACTIVATE_VOLUME (0x12)
91#define MPI_RAID_ACTION_SET_RESYNC_RATE (0x13) 93#define MPI_RAID_ACTION_SET_RESYNC_RATE (0x13)
92#define MPI_RAID_ACTION_SET_DATA_SCRUB_RATE (0x14) 94#define MPI_RAID_ACTION_SET_DATA_SCRUB_RATE (0x14)
95#define MPI_RAID_ACTION_DEVICE_FW_UPDATE_MODE (0x15)
93 96
94/* ActionDataWord defines for use with MPI_RAID_ACTION_CREATE_VOLUME action */ 97/* ActionDataWord defines for use with MPI_RAID_ACTION_CREATE_VOLUME action */
95#define MPI_RAID_ACTION_ADATA_DO_NOT_SYNC (0x00000001) 98#define MPI_RAID_ACTION_ADATA_DO_NOT_SYNC (0x00000001)
@@ -111,6 +114,10 @@ typedef struct _MSG_RAID_ACTION
111/* ActionDataWord defines for use with MPI_RAID_ACTION_SET_DATA_SCRUB_RATE action */ 114/* ActionDataWord defines for use with MPI_RAID_ACTION_SET_DATA_SCRUB_RATE action */
112#define MPI_RAID_ACTION_ADATA_DATA_SCRUB_RATE_MASK (0x000000FF) 115#define MPI_RAID_ACTION_ADATA_DATA_SCRUB_RATE_MASK (0x000000FF)
113 116
117/* ActionDataWord defines for use with MPI_RAID_ACTION_DEVICE_FW_UPDATE_MODE action */
118#define MPI_RAID_ACTION_ADATA_ENABLE_FW_UPDATE (0x00000001)
119#define MPI_RAID_ACTION_ADATA_MASK_FW_UPDATE_TIMEOUT (0x0000FF00)
120#define MPI_RAID_ACTION_ADATA_SHIFT_FW_UPDATE_TIMEOUT (8)
114 121
115 122
116/* RAID Action reply message */ 123/* RAID Action reply message */