Luis R. Rodriguez | 4bd43f5 | 2008-10-27 22:44:22 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2007-2008 Atheros Communications Inc. |
| 3 | * |
| 4 | * Permission to use, copy, modify, and/or distribute this software for any |
| 5 | * purpose with or without fee is hereby granted, provided that the above |
| 6 | * copyright notice and this permission notice appear in all copies. |
| 7 | * |
| 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 15 | */ |
| 16 | /* Module Name : oal_dt.h */ |
| 17 | /* */ |
| 18 | /* Abstract */ |
| 19 | /* This module contains data type definition. */ |
| 20 | /* */ |
| 21 | /* NOTES */ |
| 22 | /* Platform dependent. */ |
| 23 | /* */ |
| 24 | /************************************************************************/ |
| 25 | |
| 26 | #ifndef _OAL_DT_H |
| 27 | #define _OAL_DT_H |
| 28 | |
| 29 | /* Please include header files for buffer type in the beginning of this file */ |
| 30 | /* Please include header files for device type here */ |
| 31 | #include <linux/netdevice.h> |
| 32 | |
| 33 | typedef unsigned long long u64_t; |
| 34 | typedef unsigned int u32_t; |
| 35 | typedef unsigned short u16_t; |
| 36 | typedef unsigned char u8_t; |
| 37 | typedef long long s64_t; |
| 38 | typedef long s32_t; |
| 39 | typedef short s16_t; |
| 40 | typedef char s8_t; |
| 41 | |
| 42 | #ifndef TRUE |
| 43 | #define TRUE (1==1) |
| 44 | #endif |
| 45 | |
| 46 | #ifndef FALSE |
| 47 | #define FALSE (1==0) |
| 48 | #endif |
| 49 | |
| 50 | #ifndef NULL |
| 51 | #define NULL 0 |
| 52 | #endif |
| 53 | |
| 54 | /* Please include header files for buffer type in the beginning of this file */ |
| 55 | typedef struct sk_buff zbuf_t; |
| 56 | |
| 57 | /* Please include header files for device type in the beginning of this file */ |
| 58 | typedef struct net_device zdev_t; |
| 59 | |
| 60 | #endif /* #ifndef _OAL_DT_H */ |