diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-18 01:01:48 +0200 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-05-18 01:01:48 +0200 |
commit | f1f8ac32dddfb765e8d57fdb3b3e9c10727a0873 (patch) | |
tree | e261e1490ba2171d66a2b4940478d6a7a9c98cb5 /drivers/ar6000/ar6000/athtypes_linux.h | |
parent | 1eec1fc0f0dd4463b06cebaf9825def6acad9a23 (diff) | |
parent | 4dbd5b751767bf88ffdda5d55646738871c751ad (diff) |
Merge branch 'ar6000-2.6.34' into om-gta02-2.6.34
Diffstat (limited to 'drivers/ar6000/ar6000/athtypes_linux.h')
-rw-r--r-- | drivers/ar6000/ar6000/athtypes_linux.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/drivers/ar6000/ar6000/athtypes_linux.h b/drivers/ar6000/ar6000/athtypes_linux.h new file mode 100644 index 00000000000..3e91de331f4 --- /dev/null +++ b/drivers/ar6000/ar6000/athtypes_linux.h @@ -0,0 +1,47 @@ +/* + * $Id: //depot/sw/releases/olca2.0-GPL/host/os/linux/include/athtypes_linux.h#1 $ + * + * This file contains the definitions of the basic atheros data types. + * It is used to map the data types in atheros files to a platform specific + * type. + * + * Copyright 2003-2005 Atheros Communications, Inc., All Rights Reserved. + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation; + * + * Software distributed under the License is distributed on an "AS + * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + * implied. See the License for the specific language governing + * rights and limitations under the License. + * + * + * + */ + +#ifndef _ATHTYPES_LINUX_H_ +#define _ATHTYPES_LINUX_H_ + +#ifdef __KERNEL__ +#include <linux/types.h> +#endif + +typedef int8_t A_INT8; +typedef int16_t A_INT16; +typedef int32_t A_INT32; +typedef int64_t A_INT64; + +typedef u_int8_t A_UINT8; +typedef u_int16_t A_UINT16; +typedef u_int32_t A_UINT32; +typedef u_int64_t A_UINT64; + +typedef int A_BOOL; +typedef char A_CHAR; +typedef unsigned char A_UCHAR; +typedef unsigned long A_ATH_TIMER; + + +#endif /* _ATHTYPES_LINUX_H_ */ |