100-ifxmips.patch 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. --- a/src/drv_tapi_linux.c
  2. +++ b/src/drv_tapi_linux.c
  3. @@ -552,7 +552,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. #ifdef TAPI_PACKET
  10. if (pTapiDev->bInitialized == IFX_FALSE)
  11. --- a/src/drv_tapi_osmap.h
  12. +++ b/src/drv_tapi_osmap.h
  13. @@ -17,39 +17,6 @@
  14. */
  15. #include "ifx_types.h" /* ifx type definitions */
  16. -
  17. -#ifndef HAVE_IFX_ULONG_T
  18. - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
  19. - /* unsigned long type - valid for 32bit systems only */
  20. - typedef unsigned long IFX_ulong_t;
  21. - #define HAVE_IFX_ULONG_T
  22. -#endif /* HAVE_IFX_ULONG_T */
  23. -
  24. -#ifndef HAVE_IFX_LONG_T
  25. - #warning please update your ifx_types.h, using local definition of IFX_long_t
  26. - /* long type - valid for 32bit systems only */
  27. - typedef long IFX_long_t;
  28. - #define HAVE_IFX_LONG_T
  29. -#endif /* HAVE_IFX_LONG_T */
  30. -
  31. -#ifndef HAVE_IFX_INTPTR_T
  32. - #warning please update your ifx_types.h, using local definition of IFX_intptr_t
  33. - typedef IFX_long_t IFX_intptr_t;
  34. - #define HAVE_IFX_INTPTR_T
  35. -#endif /* HAVE_IFX_INTPTR_T */
  36. -
  37. -#ifndef HAVE_IFX_SIZE_T
  38. - #warning please update your ifx_types.h, using local definition of IFX_size_t
  39. - typedef IFX_ulong_t IFX_size_t;
  40. - #define HAVE_IFX_SIZE_T
  41. -#endif /* HAVE_IFX_SIZE_T */
  42. -
  43. -#ifndef HAVE_IFX_SSIZE_T
  44. - #warning please update your ifx_types.h, using local definition of IFX_ssize_t
  45. - typedef IFX_long_t IFX_ssize_t;
  46. - #define HAVE_IFX_SSIZE_T
  47. -#endif /* HAVE_IFX_SSIZE_T */
  48. -
  49. #include "ifxos_interrupt.h"
  50. #include "ifxos_memory_alloc.h"
  51. #include "ifxos_copy_user_space.h"
  52. --- a/include/drv_tapi_ll_interface.h
  53. +++ b/include/drv_tapi_ll_interface.h
  54. @@ -40,13 +40,6 @@
  55. #include "ifxos_select.h"
  56. #endif /* TAPI_PACKET */
  57. -#ifndef HAVE_IFX_ULONG_T
  58. - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
  59. - /* unsigned long type - valid for 32bit systems only */
  60. - typedef unsigned long IFX_ulong_t;
  61. - #define HAVE_IFX_ULONG_T
  62. -#endif /* HAVE_IFX_ULONG_T */
  63. -
  64. /* ============================= */
  65. /* Local Macros Definitions */
  66. /* ============================= */
  67. --- a/src/lib/lib_bufferpool/lib_bufferpool.c
  68. +++ b/src/lib/lib_bufferpool/lib_bufferpool.c
  69. @@ -85,24 +85,6 @@
  70. #include <stdlib.h>
  71. #endif /*VXWORKS*/
  72. -
  73. -/* ============================= */
  74. -/* Extra type definitions */
  75. -/* ============================= */
  76. -#ifndef HAVE_IFX_ULONG_T
  77. - #warning please update your ifx_types.h, using local definition of IFX_ulong_t
  78. - /* unsigned long type - valid for 32bit systems only */
  79. - typedef unsigned long IFX_ulong_t;
  80. - #define HAVE_IFX_ULONG_T
  81. -#endif /* HAVE_IFX_ULONG_T */
  82. -
  83. -#ifndef HAVE_IFX_UINTPTR_T
  84. - #warning please update your ifx_types.h, using local definition of IFX_uintptr_t
  85. - typedef IFX_ulong_t IFX_uintptr_t;
  86. - #define HAVE_IFX_UINTPTR_T
  87. -#endif /* HAVE_IFX_UINTPTR_T */
  88. -
  89. -
  90. /* ============================= */
  91. /* Local Macros & Definitions */
  92. /* ============================= */