| Index: chromeos/compat-wireless/drivers/staging/ath6kl/os/linux/include/athtypes_linux.h
|
| diff --git a/chromeos/compat-wireless/drivers/staging/ath6kl/os/linux/include/athtypes_linux.h b/chromeos/compat-wireless/drivers/staging/ath6kl/os/linux/include/athtypes_linux.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9d9ecbb2a4d746199ce2639d5d4d63424c505948
|
| --- /dev/null
|
| +++ b/chromeos/compat-wireless/drivers/staging/ath6kl/os/linux/include/athtypes_linux.h
|
| @@ -0,0 +1,53 @@
|
| +//------------------------------------------------------------------------------
|
| +//
|
| +// 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 (c) 2004-2010 Atheros Communications Inc.
|
| +// All rights reserved.
|
| +//
|
| +//
|
| +//
|
| +// Permission to use, copy, modify, and/or distribute this software for any
|
| +// purpose with or without fee is hereby granted, provided that the above
|
| +// copyright notice and this permission notice appear in all copies.
|
| +//
|
| +// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
| +// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
| +// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
| +// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
| +// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
| +// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
| +// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
| +//
|
| +//
|
| +//
|
| +// Author(s): ="Atheros"
|
| +//------------------------------------------------------------------------------
|
| +
|
| +#ifndef _ATHTYPES_LINUX_H_
|
| +#define _ATHTYPES_LINUX_H_
|
| +
|
| +#ifdef __KERNEL__
|
| +#include <linux/types.h>
|
| +#else
|
| +#include <sys/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_ */
|
|
|