Marvell 88E1111(1000M PHY) linux 配置

 

1. driver

  • drivers/net/phy/marvell.c

  • drivers/net/phy/phy_device.c

  • include/uapi/linux/mii.h (register)

 

 

2. kernel config

Device Drivers  --->
    [*] Network device support  --->
        -*-   PHY Device support and infrastructure  --->
            <*>   Marvell PHYs

 

 

3. dts config

    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        compatible = "snps,dwmac-mdio";
        phy0: phy@0 {
            device_tpye = "ethernet-phy";
            compatible = "ethernet-phy-id0141.0cc0", "ethernet-phy-ieee802.3-c22";
            reg = <0>;
        };
    };

    phy-mode = "gmii";

 

 

上一篇:微信支付出错 Fatal error: Uncaught exception ‘WxPayException‘ with message ‘curl出错,错误码:60‘ in ....解决办法


下一篇:最小费用最大流 洛谷 1251