]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - drivers/scsi/mpt2sas/mpi/mpi2_type.h
HID: sony: Remove the size check for the Dualshock 4 HID Descriptor
[mirror_ubuntu-artful-kernel.git] / drivers / scsi / mpt2sas / 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 /*******************************************************************************
25 * Define MPI2_POINTER if it hasn't already been defined. By default
26 * MPI2_POINTER is defined to be a near pointer. MPI2_POINTER can be defined as
27 * a far pointer by defining MPI2_POINTER as "far *" before this header file is
28 * included.
29 */
30 #ifndef MPI2_POINTER
31 #define MPI2_POINTER *
32 #endif
33
34 /* the basic types may have already been included by mpi_type.h */
35 #ifndef MPI_TYPE_H
36 /*****************************************************************************
37 *
38 * Basic Types
39 *
40 *****************************************************************************/
41
42 typedef u8 U8;
43 typedef __le16 U16;
44 typedef __le32 U32;
45 typedef __le64 U64 __attribute__((aligned(4)));
46
47 /*****************************************************************************
48 *
49 * Pointer Types
50 *
51 *****************************************************************************/
52
53 typedef U8 *PU8;
54 typedef U16 *PU16;
55 typedef U32 *PU32;
56 typedef U64 *PU64;
57
58 #endif
59
60 #endif
61