[SCSI] mpt3sas: MPI2.5 Rev F v2.5.1.1 specification
[linux-2.6.git] / drivers / scsi / mpt3sas / mpi / mpi2_type.h
blobba1fed50966e2669d25dc0dce02aaf60dfe49241
1 /*
2 * Copyright (c) 2000-2013 LSI Corporation.
5 * Name: mpi2_type.h
6 * Title: MPI basic type definitions
7 * Creation Date: August 16, 2006
9 * mpi2_type.h Version: 02.00.00
11 * Version History
12 * ---------------
14 * Date Version Description
15 * -------- -------- ------------------------------------------------------
16 * 04-30-07 02.00.00 Corresponds to Fusion-MPT MPI Specification Rev A.
17 * --------------------------------------------------------------------------
20 #ifndef MPI2_TYPE_H
21 #define MPI2_TYPE_H
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.
30 /* the basic types may have already been included by mpi_type.h */
31 #ifndef MPI_TYPE_H
32 /*****************************************************************************
34 * Basic Types
36 *****************************************************************************/
38 typedef u8 U8;
39 typedef __le16 U16;
40 typedef __le32 U32;
41 typedef __le64 U64 __attribute__ ((aligned(4)));
43 /*****************************************************************************
45 * Pointer Types
47 *****************************************************************************/
49 typedef U8 *PU8;
50 typedef U16 *PU16;
51 typedef U32 *PU32;
52 typedef U64 *PU64;
54 #endif
56 #endif