首页 > Web开发 > 详细

I.MX6 开启 1000Mb/s interface

时间:2016-04-20 09:20:03      阅读:366      评论:0      收藏:0      [点我收藏+]
/***********************************************************************
 *                  I.MX6 开启 1000Mb/s interface 
 * 说明:
 *     最近出现1000Mb/s网卡不用的现象,于是tony对这个问题进行了解决。
 *
 *                                     2016-4-20 深圳 南山平山村 曾剑锋
 **********************************************************************/

一、参考文档:
    imx6 ar8031 千兆网卡不能用
        http://www.cnblogs.com/helloworldtoyou/p/5406913.html

二、cat drivers/net/fec.c
    ......
    static int fec_enet_mii_probe(struct net_device *ndev)
    {
        /* mask with MAC supported features */
        if (cpu_is_mx6q() || cpu_is_mx6dl())
            //phy_dev->supported &= PHY_BASIC_FEATURES;
            phy_dev->supported &= PHY_GBIT_FEATURES;
        else
            phy_dev->supported &= PHY_BASIC_FEATURES;
    }
    ......

 

I.MX6 开启 1000Mb/s interface

原文:http://www.cnblogs.com/zengjfgit/p/5411159.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!