source: trunk/package/ifxmips-dsl-api/patches/100-dsl_compat.patch @ 18259

Last change on this file since 18259 was 18259, checked in by blogic, 7 years ago

[ifxmips] adds dsl support, thank you infineon/lantiq

File size: 1.6 KB
  • src/include/drv_dsl_cpe_device_danube.h

    old new  
    2424   #include "drv_dsl_cpe_simulator_danube.h" 
    2525#else 
    2626/* Include for the low level driver interface header file */ 
    27 #include "asm/ifx/ifx_mei_bsp.h" 
     27#include "mei/ifxmips_mei_interface.h" 
    2828#endif /* defined(DSL_CPE_SIMULATOR_DRIVER) && defined(WIN32)*/ 
    2929 
    3030#define DSL_MAX_LINE_NUMBER 1 
  • src/common/drv_dsl_cpe_os_linux.c

    old new  
    1111#ifdef __LINUX__ 
    1212 
    1313#define DSL_INTERN 
     14#include <linux/device.h> 
    1415 
    1516#include "drv_dsl_cpe_api.h" 
    1617#include "drv_dsl_cpe_api_ioctl.h" 
     
    10581059/* Entry point of driver */ 
    10591060int __init DSL_ModuleInit(void) 
    10601061{ 
     1062   struct class *dsl_class; 
    10611063   DSL_int_t i; 
    10621064 
    10631065   printk(DSL_DRV_CRLF DSL_DRV_CRLF "Infineon CPE API Driver version: %s" DSL_DRV_CRLF, 
     
    11041106   } 
    11051107 
    11061108   DSL_DRV_DevNodeInit(); 
    1107  
     1109   dsl_class = class_create(THIS_MODULE, "dsl_cpe_api"); 
     1110   device_create(dsl_class, NULL, MKDEV(DRV_DSL_CPE_API_DEV_MAJOR, 0), NULL, "dsl_cpe_api"); 
    11081111   return 0; 
    11091112} 
    11101113 
Note: See TracBrowser for help on using the repository browser.