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

source code of linux/drivers/scsi/mpt3sas/mpi/mpi2_type.h