This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am335x内核中两个phy对应到一个mii怎么对应?



有没有知道am335x的双网口网络驱动是怎么选择mii总线的呢?我现在只接了一个mii接口到一个集成5个phy的芯片(ip175d)上,再在这个芯片上引出两个网口,做成双网口,但是只能任意通一个,现在想着两个phy都用同个mii

am33xx_cpsw_init(AM33XX_CPSW_MODE_MII,"0:00","0:01")

这样配置的话是eth0对应到了phy1,phy1能够ping通eth0

am33xx_cpsw_init(AM33XX_CPSW_MODE_MII,"0:01","0:00")

这样配置的话是eth0对应到了phy0,phy0能够ping通eth0

现在我想让eth0  eth1分别对应到phy0  phy1 并且都能ping通,该怎么解决呢?