Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / drivers / scsi / mpt3sas / mpi / mpi2_type.h
1 /*
2  *  Copyright (c) 2000-2014 LSI Corporation.
3  *
4  *
5  *           Name:  mpi2_type.h
6  *          Title:  MPI basic type definitions
7  *  Creation Date:  August 16, 2006
8  *
9  *    mpi2_type.h Version:  02.00.00
10  *
11  *  Version History
12  *  ---------------
13  *
14  *  Date      Version   Description
15  *  --------  --------  ------------------------------------------------------
16  *  04-30-07  02.00.00  Corresponds to Fusion-MPT MPI Specification Rev A.
17  *  --------------------------------------------------------------------------
18  */
19
20 #ifndef MPI2_TYPE_H
21 #define MPI2_TYPE_H
22
23 /*******************************************************************************
24  * Define * if it hasn't already been defined. By default
25  * * is defined to be a near pointer. MPI2_POINTER can be defined as
26  * a far pointer by defining * as "far *" before this header file is
27  * included.
28  */
29
30 /* the basic types may have already been included by mpi_type.h */
31 #ifndef MPI_TYPE_H
32 /*****************************************************************************
33 *
34 *               Basic Types
35 *
36 *****************************************************************************/
37
38 typedef u8 U8;
39 typedef __le16 U16;
40 typedef __le32 U32;
41 typedef __le64 U64 __attribute__ ((aligned(4)));
42
43 /*****************************************************************************
44 *
45 *               Pointer Types
46 *
47 *****************************************************************************/
48
49 typedef U8 *PU8;
50 typedef U16 *PU16;
51 typedef U32 *PU32;
52 typedef U64 *PU64;
53
54 #endif
55
56 #endif