9506 Want support for QLogic QL41000/45000 series devices
[unleashed.git] / usr / src / uts / common / io / qede / qede_types.h
blob88fdb16da70f0dd56f89bea12a2bdfec2b75f9ee
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, v.1, (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://opensource.org/licenses/CDDL-1.0.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
19 * CDDL HEADER END
23 * Copyright 2014-2017 Cavium, Inc.
24 * The contents of this file are subject to the terms of the Common Development
25 * and Distribution License, v.1, (the "License").
27 * You may not use this file except in compliance with the License.
29 * You can obtain a copy of the License at available
30 * at http://opensource.org/licenses/CDDL-1.0
32 * See the License for the specific language governing permissions and
33 * limitations under the License.
36 #ifndef _QEDE_TYPES_H
37 #define _QEDE_TYPES_H
39 typedef uint8_t u8;
40 typedef uint8_t U8;
41 typedef uint16_t u16;
42 typedef uint16_t U16;
43 typedef uint32_t u32;
44 typedef uint32_t U32;
45 typedef uint64_t u64;
46 typedef uint64_t U64;
47 typedef boolean_t bool;
49 typedef u16 __le16;
50 typedef u32 __le32;
51 typedef u64 __le64;
53 typedef int8_t s8;
54 typedef int16_t s16;
55 typedef int32_t s32;
56 typedef int64_t s64;
58 typedef void * int_ptr_t;
60 typedef int OSAL_BE32;
61 typedef void * osal_dpc_t;
62 typedef u64 dma_addr_t;
65 * NOTE: This should be changed to
66 * u32 for 32-bit. Add appr. ifdef
67 * or kerenl type which suits this
68 * requirement
70 typedef u64 osal_uintptr_t;
72 #endif /* !_QEDE_TYPES_H */