source: branches/backfire/package/ltq-tapi/patches/100-ifxmips.patch @ 27547

Last change on this file since 27547 was 27547, checked in by blogic, 5 years ago

adds lantiq packages/drivers

File size: 3.2 KB
  • src/drv_tapi_linux.c

    a b static ssize_t ifx_tapi_write (struct fi 
    552552   IFX_uint8_t         *pData; 
    553553   IFX_size_t           buf_size; 
    554554#endif /* TAPI_PACKET */ 
    555    IFX_ssize_t          size = 0; 
     555   ssize_t          size = 0; 
    556556 
    557557#ifdef TAPI_PACKET 
    558558   if (pTapiDev->bInitialized == IFX_FALSE) 
  • src/drv_tapi_osmap.h

    a b  
    1717*/ 
    1818 
    1919#include "ifx_types.h"     /* ifx type definitions */ 
    20  
    21 #ifndef HAVE_IFX_ULONG_T 
    22    #warning please update your ifx_types.h, using local definition of IFX_ulong_t 
    23    /* unsigned long type - valid for 32bit systems only */ 
    24    typedef unsigned long               IFX_ulong_t; 
    25    #define HAVE_IFX_ULONG_T 
    26 #endif /* HAVE_IFX_ULONG_T */ 
    27  
    28 #ifndef HAVE_IFX_LONG_T 
    29    #warning please update your ifx_types.h, using local definition of IFX_long_t 
    30    /* long type - valid for 32bit systems only */ 
    31    typedef long                        IFX_long_t; 
    32    #define HAVE_IFX_LONG_T 
    33 #endif /* HAVE_IFX_LONG_T */ 
    34  
    35 #ifndef HAVE_IFX_INTPTR_T 
    36    #warning please update your ifx_types.h, using local definition of IFX_intptr_t 
    37    typedef IFX_long_t                  IFX_intptr_t; 
    38    #define HAVE_IFX_INTPTR_T 
    39 #endif /* HAVE_IFX_INTPTR_T */ 
    40  
    41 #ifndef HAVE_IFX_SIZE_T 
    42    #warning please update your ifx_types.h, using local definition of IFX_size_t 
    43    typedef IFX_ulong_t                 IFX_size_t; 
    44    #define HAVE_IFX_SIZE_T 
    45 #endif /* HAVE_IFX_SIZE_T */ 
    46  
    47 #ifndef HAVE_IFX_SSIZE_T 
    48    #warning please update your ifx_types.h, using local definition of IFX_ssize_t 
    49    typedef IFX_long_t                  IFX_ssize_t; 
    50    #define HAVE_IFX_SSIZE_T 
    51 #endif /* HAVE_IFX_SSIZE_T */ 
    52  
    5320#include "ifxos_interrupt.h" 
    5421#include "ifxos_memory_alloc.h" 
    5522#include "ifxos_copy_user_space.h" 
  • include/drv_tapi_ll_interface.h

    a b  
    4040#include "ifxos_select.h" 
    4141#endif /* TAPI_PACKET */ 
    4242 
    43 #ifndef HAVE_IFX_ULONG_T 
    44    #warning please update your ifx_types.h, using local definition of IFX_ulong_t 
    45    /* unsigned long type - valid for 32bit systems only */ 
    46    typedef unsigned long               IFX_ulong_t; 
    47    #define HAVE_IFX_ULONG_T 
    48 #endif /* HAVE_IFX_ULONG_T */ 
    49  
    5043/* ============================= */ 
    5144/* Local Macros  Definitions    */ 
    5245/* ============================= */ 
  • src/lib/lib_bufferpool/lib_bufferpool.c

    a b  
    8585#include <stdlib.h> 
    8686#endif /*VXWORKS*/ 
    8787 
    88  
    89 /* ============================= */ 
    90 /* Extra type definitions        */ 
    91 /* ============================= */ 
    92 #ifndef HAVE_IFX_ULONG_T 
    93    #warning please update your ifx_types.h, using local definition of IFX_ulong_t 
    94    /* unsigned long type - valid for 32bit systems only */ 
    95    typedef unsigned long               IFX_ulong_t; 
    96    #define HAVE_IFX_ULONG_T 
    97 #endif /* HAVE_IFX_ULONG_T */ 
    98  
    99 #ifndef HAVE_IFX_UINTPTR_T 
    100    #warning please update your ifx_types.h, using local definition of IFX_uintptr_t 
    101    typedef IFX_ulong_t                 IFX_uintptr_t; 
    102    #define HAVE_IFX_UINTPTR_T 
    103 #endif /* HAVE_IFX_UINTPTR_T */ 
    104  
    105  
    10688/* ============================= */ 
    10789/* Local Macros & Definitions    */ 
    10890/* ============================= */ 
Note: See TracBrowser for help on using the repository browser.