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内核中是如何决定eth0,eth1走的是哪个mii总线的?

linux 3.2的内核

本来开发板是两个mii接口接到两个phy,创建出两个网口eth0  eth1,两个都可以ping通

现在改成了一个mii接口接到一个芯片,上面有两个phy

然后目前已经能够做到创建出eth0  eth1 ,

然后两个网口插上都有link 的状态变化信息打印,但是就是eth0能ping通

eth1未能ping通

假设在初始化am33xx_cpsdw_init(MII,"0:00","0:01")函数中,将0:00和0:01的参数交换位置

则eth1通,eth0不通

现在是想eth0  eth1共享同个mii接口,都可通,有没有什么解决方法?

x 出现错误。请重试或与管理员联系。