[OpenWrt-Devel] [lantiq] general help on AR10 platform

Enrico Mioso mrkiko.rs at gmail.com
Mon Sep 2 00:26:00 EDT 2019


BTW, in vendor's cgu_init, seems the "enablement" part is commented out.

static int __init cgu_init(void)
{
     int ret;
     char ver_str[128] = {0};

     ret = register_chrdev(IFX_CGU_MAJOR, "ifx_cgu", &cgu_fops);
     if ( ret != 0 ) {
         printk(KERN_ERR "Can not register CGU device - %d\n", ret);
         return ret;
     }

#ifdef CONFIG_PROC_FS
     proc_file_create();
#endif

     /* malloc MPS backup mem */
     argv = kmalloc(MPS_MEM_SEG_DATASIZE, GFP_KERNEL);

     ifx_cgu_version(ver_str);
     printk(KERN_INFO "%s", ver_str);

     //enable
     return IFX_SUCCESS;
}

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list