adm5120: don't use linux/autoconf.h
[openwrt.git] / package / ifx-tapi / patches-2.6.33 / 100-ifxmips.patch
1 --- a/src/drv_tapi_linux.c
2 +++ b/src/drv_tapi_linux.c
3 @@ -544,7 +544,7 @@ static ssize_t ifx_tapi_write (struct fi
4 IFX_uint8_t *pData;
5 IFX_size_t buf_size;
6 #endif /* TAPI_PACKET */
7 - IFX_ssize_t size = 0;
8 + ssize_t size = 0;
9
10 #ifdef TAPI_PACKET
11 if (pTapiDev->bInitialized == IFX_FALSE)
12 --- a/src/drv_tapi_osmap.h
13 +++ b/src/drv_tapi_osmap.h
14 @@ -17,39 +17,6 @@
15 */
16
17 #include "ifx_types.h" /* ifx type definitions */
18 -
19 -#ifndef HAVE_IFX_ULONG_T
20 - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
21 - /* unsigned long type - valid for 32bit systems only */
22 - typedef unsigned long IFX_ulong_t;
23 - #define HAVE_IFX_ULONG_T
24 -#endif /* HAVE_IFX_ULONG_T */
25 -
26 -#ifndef HAVE_IFX_LONG_T
27 - #warning please update your ifx_types.h, using local definition of IFX_long_t
28 - /* long type - valid for 32bit systems only */
29 - typedef long IFX_long_t;
30 - #define HAVE_IFX_LONG_T
31 -#endif /* HAVE_IFX_LONG_T */
32 -
33 -#ifndef HAVE_IFX_INTPTR_T
34 - #warning please update your ifx_types.h, using local definition of IFX_intptr_t
35 - typedef IFX_long_t IFX_intptr_t;
36 - #define HAVE_IFX_INTPTR_T
37 -#endif /* HAVE_IFX_INTPTR_T */
38 -
39 -#ifndef HAVE_IFX_SIZE_T
40 - #warning please update your ifx_types.h, using local definition of IFX_size_t
41 - typedef IFX_ulong_t IFX_size_t;
42 - #define HAVE_IFX_SIZE_T
43 -#endif /* HAVE_IFX_SIZE_T */
44 -
45 -#ifndef HAVE_IFX_SSIZE_T
46 - #warning please update your ifx_types.h, using local definition of IFX_ssize_t
47 - typedef IFX_long_t IFX_ssize_t;
48 - #define HAVE_IFX_SSIZE_T
49 -#endif /* HAVE_IFX_SSIZE_T */
50 -
51 #include "ifxos_interrupt.h"
52 #include "ifxos_memory_alloc.h"
53 #include "ifxos_copy_user_space.h"
54 --- a/include/drv_tapi_ll_interface.h
55 +++ b/include/drv_tapi_ll_interface.h
56 @@ -40,13 +40,6 @@
57 #include "ifxos_select.h"
58 #endif /* TAPI_PACKET */
59
60 -#ifndef HAVE_IFX_ULONG_T
61 - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
62 - /* unsigned long type - valid for 32bit systems only */
63 - typedef unsigned long IFX_ulong_t;
64 - #define HAVE_IFX_ULONG_T
65 -#endif /* HAVE_IFX_ULONG_T */
66 -
67 /* ============================= */
68 /* Local Macros Definitions */
69 /* ============================= */
70 --- a/src/lib/lib_bufferpool/lib_bufferpool.c
71 +++ b/src/lib/lib_bufferpool/lib_bufferpool.c
72 @@ -80,24 +80,6 @@
73 #include <linux/slab.h>
74 #endif /* LINUX */
75
76 -
77 -/* ============================= */
78 -/* Extra type definitions */
79 -/* ============================= */
80 -#ifndef HAVE_IFX_ULONG_T
81 - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
82 - /* unsigned long type - valid for 32bit systems only */
83 - typedef unsigned long IFX_ulong_t;
84 - #define HAVE_IFX_ULONG_T
85 -#endif /* HAVE_IFX_ULONG_T */
86 -
87 -#ifndef HAVE_IFX_UINTPTR_T
88 - #warning please update your ifx_types.h, using local definition of IFX_uintptr_t
89 - typedef IFX_ulong_t IFX_uintptr_t;
90 - #define HAVE_IFX_UINTPTR_T
91 -#endif /* HAVE_IFX_UINTPTR_T */
92 -
93 -
94 /* ============================= */
95 /* Local Macros & Definitions */
96 /* ============================= */
This page took 0.052842 seconds and 5 git commands to generate.