Deleted Added
full compact
mpi.h (170251) mpi.h (233425)
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi.h 170251 2007-06-03 22:58:27Z scottl $ */
1/* $FreeBSD: head/sys/dev/mpt/mpilib/mpi.h 233425 2012-03-24 16:23:21Z marius $ */
2/*-
2/*-
3 * Copyright (c) 2000-2005, LSI Logic Corporation and its contributors.
3 * Copyright (c) 2000-2010, LSI Logic Corporation and its contributors.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce at minimum a disclaimer

--- 16 unchanged lines hidden (view full) ---

28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT
30 * OWNER OR CONTRIBUTOR IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * Name: mpi.h
33 * Title: MPI Message independent structures and definitions
34 * Creation Date: July 27, 2000
35 *
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met:
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce at minimum a disclaimer

--- 16 unchanged lines hidden (view full) ---

28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF THE COPYRIGHT
30 * OWNER OR CONTRIBUTOR IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * Name: mpi.h
33 * Title: MPI Message independent structures and definitions
34 * Creation Date: July 27, 2000
35 *
36 * mpi.h Version: 01.05.13
36 * mpi.h Version: 01.05.17
37 *
38 * Version History
39 * ---------------
40 *
41 * Date Version Description
42 * -------- -------- ------------------------------------------------------
43 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
44 * 05-24-00 00.10.02 Added MPI_IOCSTATUS_SCSI_RESIDUAL_MISMATCH definition.

--- 56 unchanged lines hidden (view full) ---

101 * 06-24-05 01.05.08 Added function codes for SCSI IO 32 and
102 * TargetAssistExtended requests.
103 * Added EEDP IOCStatus codes.
104 * 08-03-05 01.05.09 Bumped MPI_HEADER_VERSION_UNIT.
105 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target.
106 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT.
107 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT.
108 * 05-24-07 01.05.13 Bumped MPI_HEADER_VERSION_UNIT.
37 *
38 * Version History
39 * ---------------
40 *
41 * Date Version Description
42 * -------- -------- ------------------------------------------------------
43 * 05-08-00 00.10.01 Original release for 0.10 spec dated 4/26/2000.
44 * 05-24-00 00.10.02 Added MPI_IOCSTATUS_SCSI_RESIDUAL_MISMATCH definition.

--- 56 unchanged lines hidden (view full) ---

101 * 06-24-05 01.05.08 Added function codes for SCSI IO 32 and
102 * TargetAssistExtended requests.
103 * Added EEDP IOCStatus codes.
104 * 08-03-05 01.05.09 Bumped MPI_HEADER_VERSION_UNIT.
105 * 08-30-05 01.05.10 Added 2 new IOCStatus codes for Target.
106 * 03-27-06 01.05.11 Bumped MPI_HEADER_VERSION_UNIT.
107 * 10-11-06 01.05.12 Bumped MPI_HEADER_VERSION_UNIT.
108 * 05-24-07 01.05.13 Bumped MPI_HEADER_VERSION_UNIT.
109 * 08-07-07 01.05.14 Bumped MPI_HEADER_VERSION_UNIT.
110 * 01-15-08 01.05.15 Bumped MPI_HEADER_VERSION_UNIT.
111 * 03-28-08 01.05.16 Bumped MPI_HEADER_VERSION_UNIT.
112 * 07-11-08 01.05.17 Bumped MPI_HEADER_VERSION_UNIT.
109 * --------------------------------------------------------------------------
110 */
111
112#ifndef MPI_H
113#define MPI_H
114
115
116/*****************************************************************************

--- 14 unchanged lines hidden (view full) ---

131#define MPI_VERSION_01_00 (0x0100)
132#define MPI_VERSION_01_01 (0x0101)
133#define MPI_VERSION_01_02 (0x0102)
134#define MPI_VERSION_01_03 (0x0103)
135#define MPI_VERSION_01_05 (0x0105)
136/* Note: The major versions of 0xe0 through 0xff are reserved */
137
138/* versioning for this MPI header set */
113 * --------------------------------------------------------------------------
114 */
115
116#ifndef MPI_H
117#define MPI_H
118
119
120/*****************************************************************************

--- 14 unchanged lines hidden (view full) ---

135#define MPI_VERSION_01_00 (0x0100)
136#define MPI_VERSION_01_01 (0x0101)
137#define MPI_VERSION_01_02 (0x0102)
138#define MPI_VERSION_01_03 (0x0103)
139#define MPI_VERSION_01_05 (0x0105)
140/* Note: The major versions of 0xe0 through 0xff are reserved */
141
142/* versioning for this MPI header set */
139#define MPI_HEADER_VERSION_UNIT (0x10)
143#define MPI_HEADER_VERSION_UNIT (0x14)
140#define MPI_HEADER_VERSION_DEV (0x00)
141#define MPI_HEADER_VERSION_UNIT_MASK (0xFF00)
142#define MPI_HEADER_VERSION_UNIT_SHIFT (8)
143#define MPI_HEADER_VERSION_DEV_MASK (0x00FF)
144#define MPI_HEADER_VERSION_DEV_SHIFT (0)
145#define MPI_HEADER_VERSION ((MPI_HEADER_VERSION_UNIT << 8) | MPI_HEADER_VERSION_DEV)
146
147/*****************************************************************************

--- 676 unchanged lines hidden ---
144#define MPI_HEADER_VERSION_DEV (0x00)
145#define MPI_HEADER_VERSION_UNIT_MASK (0xFF00)
146#define MPI_HEADER_VERSION_UNIT_SHIFT (8)
147#define MPI_HEADER_VERSION_DEV_MASK (0x00FF)
148#define MPI_HEADER_VERSION_DEV_SHIFT (0)
149#define MPI_HEADER_VERSION ((MPI_HEADER_VERSION_UNIT << 8) | MPI_HEADER_VERSION_DEV)
150
151/*****************************************************************************

--- 676 unchanged lines hidden ---