First Support on Ginger and OMAP TI
[linux-ginger.git] / drivers / staging / otus / oal_dt.h
blobe82b9770fca1757b5e069ea0e9f884a9a55ce435
1 /*
2 * Copyright (c) 2007-2008 Atheros Communications Inc.
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.
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.
16 /* Module Name : oal_dt.h */
17 /* */
18 /* Abstract */
19 /* This module contains data type definition. */
20 /* */
21 /* NOTES */
22 /* Platform dependent. */
23 /* */
24 /************************************************************************/
26 #ifndef _OAL_DT_H
27 #define _OAL_DT_H
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>
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;
42 #ifndef TRUE
43 #define TRUE (1==1)
44 #endif
46 #ifndef FALSE
47 #define FALSE (1==0)
48 #endif
50 #ifndef NULL
51 #define NULL 0
52 #endif
54 /* Please include header files for buffer type in the beginning of this file */
55 typedef struct sk_buff zbuf_t;
57 /* Please include header files for device type in the beginning of this file */
58 typedef struct net_device zdev_t;
60 #endif /* #ifndef _OAL_DT_H */