I.MX6 开启 1000Mb/s interface

/***********************************************************************
 *                  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;
    }
    ......

 

posted on 2016-04-20 09:09  zengjf  阅读(511)  评论(0编辑  收藏  举报

导航