1 //------------------------------------------------------------------------------
3 // This file contains the definitions of the basic atheros data types.
4 // It is used to map the data types in atheros files to a platform specific
6 // Copyright (c) 2004-2010 Atheros Communications Inc.
7 // All rights reserved.
11 // Permission to use, copy, modify, and/or distribute this software for any
12 // purpose with or without fee is hereby granted, provided that the above
13 // copyright notice and this permission notice appear in all copies.
15 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
16 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
17 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
18 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
25 // Author(s): ="Atheros"
26 //------------------------------------------------------------------------------
28 #ifndef _ATHTYPES_LINUX_H_
29 #define _ATHTYPES_LINUX_H_
32 #include <linux/types.h>
34 #include <sys/types.h>
37 typedef int8_t A_INT8;
38 typedef int16_t A_INT16;
39 typedef int32_t A_INT32;
40 typedef int64_t A_INT64;
42 typedef u_int8_t A_UINT8;
43 typedef u_int16_t A_UINT16;
44 typedef u_int32_t A_UINT32;
45 typedef u_int64_t A_UINT64;
48 typedef unsigned long A_ATH_TIMER;
51 #endif /* _ATHTYPES_LINUX_H_ */